activity_mesage.xml
1.51 KB
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
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/bgColor"
android:orientation="vertical"
tools:context="com.shunzhi.parent.ui.activity.message.MesageActivity">
<FrameLayout
android:layout_width="match_parent"
android:layout_height="?android:actionBarSize"
android:background="@color/titleColor">
<ImageView
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:src="@drawable/back"
android:paddingLeft="@dimen/size_dp_15"
android:paddingRight="@dimen/size_dp_15"
android:id="@+id/iv_back"
/>
<TextView
style="@style/TextView_Wrap_16"
android:layout_gravity="center"
android:gravity="center"
android:text="消息"
android:textSize="@dimen/textSize18"
android:textColor="@color/white" />
</FrameLayout>
<android.support.v7.widget.RecyclerView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:id="@+id/recyclerView"
android:scrollbars="none"
android:layout_margin="@dimen/size_dp_10"
></android.support.v7.widget.RecyclerView>
</LinearLayout>