haijiang
2018-07-10 e48c183a0984908c14eebd9791761d13d9baca2c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:background="@mipmap/bg"
    android:fitsSystemWindows="true"
    android:orientation="vertical">
    <RelativeLayout
        android:layout_width="match_parent"
        android:layout_height="@dimen/y38">
        <TextView
            android:id="@+id/tv_left"
            android:layout_width="@dimen/x60"
            android:layout_height="match_parent"
            android:gravity="center"
            android:textColor="@color/white"
            android:drawablePadding="@dimen/x4"
            android:textSize="16sp"
            android:text="返回"
            android:paddingLeft="@dimen/x16"
            />
        <TextView
            android:id="@+id/tv_title"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_centerInParent="true"
            android:ellipsize="marquee"
            android:focusable="true"
            android:focusableInTouchMode="true"
            android:gravity="center"
            android:textColor="@color/white"
            android:marqueeRepeatLimit="marquee_forever"
            android:singleLine="true"
            android:text="详细数据"
            android:textSize="17sp" />
    </RelativeLayout>
    <RelativeLayout
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:layout_margin="@dimen/x6"
        android:paddingLeft="@dimen/x2"
        android:paddingRight="@dimen/x2"
        android:paddingBottom="@dimen/x10"
        android:paddingTop="@dimen/x2"
        android:background="@mipmap/bg_data">
        <android.support.v7.widget.RecyclerView
            android:id="@+id/rv_data"
            android:layout_width="match_parent"
            android:layout_height="match_parent"/>
    </RelativeLayout>
</LinearLayout>