mobile/android/base/resources/layout/home_empty_panel.xml

branch
TOR_BUG_3246
changeset 4
fc2d59ddac77
equal deleted inserted replaced
-1:000000000000 0:47ba472ebbdc
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 android:paddingLeft="50dp"
12 android:paddingRight="50dp">
13
14 <!-- Empty spacer view -->
15 <View android:layout_width="fill_parent"
16 android:layout_height="0dip"
17 android:layout_weight="1"/>
18
19 <ImageView android:id="@+id/home_empty_image"
20 android:layout_width="wrap_content"
21 android:layout_height="wrap_content"
22 android:gravity="top|center"
23 android:scaleType="center"
24 android:paddingBottom="10dp"/>
25
26 <TextView android:id="@+id/home_empty_text"
27 android:layout_width="fill_parent"
28 android:layout_height="0dip"
29 android:gravity="top|center"
30 android:textAppearance="@style/TextAppearance.EmptyMessage"
31 android:layout_weight="3"/>
32
33 </LinearLayout>
34

mercurial