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

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/mobile/android/base/resources/layout/home_empty_panel.xml	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,34 @@
     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 +              android:paddingLeft="50dp"
    1.15 +              android:paddingRight="50dp">
    1.16 +
    1.17 +    <!-- Empty spacer view -->
    1.18 +    <View android:layout_width="fill_parent"
    1.19 +          android:layout_height="0dip"
    1.20 +          android:layout_weight="1"/>
    1.21 +
    1.22 +    <ImageView android:id="@+id/home_empty_image"
    1.23 +               android:layout_width="wrap_content"
    1.24 +               android:layout_height="wrap_content"
    1.25 +               android:gravity="top|center"
    1.26 +               android:scaleType="center"
    1.27 +               android:paddingBottom="10dp"/>
    1.28 +
    1.29 +    <TextView android:id="@+id/home_empty_text"
    1.30 +              android:layout_width="fill_parent"
    1.31 +              android:layout_height="0dip"
    1.32 +              android:gravity="top|center"
    1.33 +              android:textAppearance="@style/TextAppearance.EmptyMessage"
    1.34 +              android:layout_weight="3"/>
    1.35 +
    1.36 +</LinearLayout>
    1.37 +

mercurial