1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/mobile/android/base/resources/layout/home_empty_reading_panel.xml Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,51 @@ 1.4 +<?xml version="1.0" encoding="utf-8"?> 1.5 +<!-- This Source Code Form is subject to the terms of the Mozilla Public 1.6 + - License, v. 2.0. If a copy of the MPL was not distributed with this 1.7 + - file, You can obtain one at http://mozilla.org/MPL/2.0/. --> 1.8 +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 1.9 + android:id="@+id/home_empty_view" 1.10 + android:layout_width="fill_parent" 1.11 + android:layout_height="fill_parent" 1.12 + android:orientation="vertical" 1.13 + android:gravity="center"> 1.14 + 1.15 + <!-- Empty spacer view --> 1.16 + <View android:layout_width="fill_parent" 1.17 + android:layout_height="0dip" 1.18 + android:layout_weight="1"/> 1.19 + 1.20 + <ImageView android:layout_width="fill_parent" 1.21 + android:layout_height="wrap_content" 1.22 + android:gravity="top|center" 1.23 + android:scaleType="center" 1.24 + android:src="@drawable/icon_reading_list_empty" 1.25 + android:paddingBottom="10dp"/> 1.26 + 1.27 + <TextView android:layout_width="fill_parent" 1.28 + android:layout_height="0dip" 1.29 + android:gravity="top|center" 1.30 + android:text="@string/home_reading_list_empty" 1.31 + android:textAppearance="@style/TextAppearance.EmptyMessage" 1.32 + android:paddingLeft="50dp" 1.33 + android:paddingRight="50dp" 1.34 + android:layout_weight="3"/> 1.35 + 1.36 + <ImageView android:src="@drawable/divider_horizontal" 1.37 + android:layout_width="fill_parent" 1.38 + android:layout_height="1dip" 1.39 + android:paddingLeft="25dp" 1.40 + android:paddingRight="25dp"/> 1.41 + 1.42 + <TextView android:id="@+id/home_empty_hint" 1.43 + android:layout_width="fill_parent" 1.44 + android:layout_height="wrap_content" 1.45 + android:gravity="bottom" 1.46 + android:text="@string/home_reading_list_hint" 1.47 + android:textAppearance="@style/TextAppearance.Small" 1.48 + android:contentDescription="@string/home_reading_list_hint_accessible" 1.49 + android:paddingTop="20dp" 1.50 + android:paddingBottom="15dp" 1.51 + android:paddingLeft="25dp" 1.52 + android:paddingRight="40dp"/> 1.53 + 1.54 +</LinearLayout>