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

Wed, 31 Dec 2014 07:22:50 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 07:22:50 +0100
branch
TOR_BUG_3246
changeset 4
fc2d59ddac77
permissions
-rw-r--r--

Correct previous dual key logic pending first delivery installment.

     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">
    14     <!-- Empty spacer view -->
    15     <View android:layout_width="fill_parent"
    16           android:layout_height="0dip"
    17           android:layout_weight="1"/>
    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"/>
    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"/>
    33 </LinearLayout>

mercurial