|
1 <?xml version="1.0" encoding="utf-8"?> |
|
2 <!-- This Source Code Form is subject to the terms of the Mozilla Public |
|
3 - License, v. 2.0. If a copy of the MPL was not distributed with this |
|
4 - file, You can obtain one at http://mozilla.org/MPL/2.0/. --> |
|
5 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
|
6 android:id="@+id/home_empty_view" |
|
7 android:layout_width="fill_parent" |
|
8 android:layout_height="fill_parent" |
|
9 android:orientation="vertical" |
|
10 android:gravity="center"> |
|
11 |
|
12 <!-- Empty spacer view --> |
|
13 <View android:layout_width="fill_parent" |
|
14 android:layout_height="0dip" |
|
15 android:layout_weight="1"/> |
|
16 |
|
17 <ImageView android:layout_width="fill_parent" |
|
18 android:layout_height="wrap_content" |
|
19 android:gravity="top|center" |
|
20 android:scaleType="center" |
|
21 android:src="@drawable/icon_reading_list_empty" |
|
22 android:paddingBottom="10dp"/> |
|
23 |
|
24 <TextView android:layout_width="fill_parent" |
|
25 android:layout_height="0dip" |
|
26 android:gravity="top|center" |
|
27 android:text="@string/home_reading_list_empty" |
|
28 android:textAppearance="@style/TextAppearance.EmptyMessage" |
|
29 android:paddingLeft="50dp" |
|
30 android:paddingRight="50dp" |
|
31 android:layout_weight="3"/> |
|
32 |
|
33 <ImageView android:src="@drawable/divider_horizontal" |
|
34 android:layout_width="fill_parent" |
|
35 android:layout_height="1dip" |
|
36 android:paddingLeft="25dp" |
|
37 android:paddingRight="25dp"/> |
|
38 |
|
39 <TextView android:id="@+id/home_empty_hint" |
|
40 android:layout_width="fill_parent" |
|
41 android:layout_height="wrap_content" |
|
42 android:gravity="bottom" |
|
43 android:text="@string/home_reading_list_hint" |
|
44 android:textAppearance="@style/TextAppearance.Small" |
|
45 android:contentDescription="@string/home_reading_list_hint_accessible" |
|
46 android:paddingTop="20dp" |
|
47 android:paddingBottom="15dp" |
|
48 android:paddingLeft="25dp" |
|
49 android:paddingRight="40dp"/> |
|
50 |
|
51 </LinearLayout> |