-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
/
message_list_widget_layout.xml
46 lines (40 loc) · 1.69 KB
/
message_list_widget_layout.xml
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
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<LinearLayout
android:id="@+id/top_controls"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/message_list_widget_header_background"
android:gravity="center_vertical"
android:orientation="horizontal">
<TextView
android:id="@+id/folder"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:paddingBottom="12dp"
android:paddingLeft="8dp"
android:paddingRight="8dp"
android:paddingTop="12dp"
android:textSize="20sp"
android:textColor="@color/message_list_widget_header_text"
tools:text="Unified Inbox" />
<ImageButton
android:id="@+id/new_message"
android:layout_width="56dp"
android:layout_height="match_parent"
android:background="?android:attr/selectableItemBackground"
android:contentDescription="@string/compose_action"
android:scaleType="center"
android:src="@drawable/ic_pencil" />
</LinearLayout>
<ListView android:id="@+id/listView"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@android:color/white"
android:divider="@color/message_list_widget_divider"
android:dividerHeight="0.5dp" />
</LinearLayout>