mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-12 02:31:41 +00:00
Bug 907852 - Unify position of empty state graphics. r=sriram
This commit is contained in:
parent
3af357b678
commit
94d8993f37
@ -11,16 +11,24 @@
|
||||
android:paddingLeft="50dp"
|
||||
android:paddingRight="50dp">
|
||||
|
||||
<!-- Empty spacer view -->
|
||||
<View android:layout_width="fill_parent"
|
||||
android:layout_height="0dip"
|
||||
android:layout_weight="1"/>
|
||||
|
||||
<ImageView android:id="@+id/home_empty_image"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingBottom="15dp"/>
|
||||
android:gravity="top|center"
|
||||
android:scaleType="center"
|
||||
android:paddingBottom="10dp"/>
|
||||
|
||||
<TextView android:id="@+id/home_empty_text"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center"
|
||||
android:textAppearance="@style/TextAppearance.EmptyMessage"/>
|
||||
android:layout_height="0dip"
|
||||
android:gravity="top|center"
|
||||
android:textAppearance="@style/TextAppearance.EmptyMessage"
|
||||
android:layout_weight="3"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user