OLD | NEW |
1 <?xml version="1.0" encoding="utf-8"?> | 1 <?xml version="1.0" encoding="utf-8"?> |
2 <!-- This Source Code Form is subject to the terms of the Mozilla Public | 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 | 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/. --> | 4 - file, You can obtain one at http://mozilla.org/MPL/2.0/. --> |
5 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | 5 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
6 android:id="@+id/home_empty_view" | 6 android:id="@+id/home_empty_view" |
7 android:layout_width="match_parent" | 7 android:layout_width="match_parent" |
8 android:layout_height="match_parent" | 8 android:layout_height="match_parent" |
9 android:orientation="vertical" | 9 android:orientation="vertical" |
10 android:gravity="center" | 10 android:gravity="center" |
(...skipping 11 matching lines...) Expand all Loading... |
22 android:layout_marginBottom="10dp" | 22 android:layout_marginBottom="10dp" |
23 android:gravity="top|center" | 23 android:gravity="top|center" |
24 android:scaleType="fitCenter"/> | 24 android:scaleType="fitCenter"/> |
25 | 25 |
26 <TextView android:id="@+id/home_empty_text" | 26 <TextView android:id="@+id/home_empty_text" |
27 android:layout_width="match_parent" | 27 android:layout_width="match_parent" |
28 android:layout_height="wrap_content" | 28 android:layout_height="wrap_content" |
29 android:gravity="top|center" | 29 android:gravity="top|center" |
30 android:textAppearance="@style/TextAppearance.EmptyMessage"/> | 30 android:textAppearance="@style/TextAppearance.EmptyMessage"/> |
31 | 31 |
| 32 <!-- Using ABB color palette. See https://issues.adblockplus.org/ticket/3769
--> |
32 <TextView android:id="@+id/home_empty_hint" | 33 <TextView android:id="@+id/home_empty_hint" |
33 android:layout_width="wrap_content" | 34 android:layout_width="wrap_content" |
34 android:layout_height="wrap_content" | 35 android:layout_height="wrap_content" |
35 android:visibility="gone" | 36 android:visibility="gone" |
36 android:gravity="top|center" | 37 android:gravity="top|center" |
37 android:textAppearance="@style/TextAppearance.EmptyHint" | 38 android:textAppearance="@style/TextAppearance.EmptyHint" |
38 android:textColorLink="#FFA62F" /> | 39 android:textColorLink="@color/abb_accent_dark_blue" /> |
39 <!-- Empty spacer view --> | 40 <!-- Empty spacer view --> |
40 <View android:layout_width="match_parent" | 41 <View android:layout_width="match_parent" |
41 android:layout_height="0dip" | 42 android:layout_height="0dip" |
42 android:layout_weight="2"/> | 43 android:layout_weight="2"/> |
43 | 44 |
44 </LinearLayout> | 45 </LinearLayout> |
45 | 46 |
OLD | NEW |