Bug 906668 - [fig] Reading list text is cut off on small screens. r=sriram

This commit is contained in:
Chenxia Liu 2013-08-27 11:31:19 -07:00
parent 3492d1991a
commit 8c2e796f34
2 changed files with 9 additions and 6 deletions

View File

@ -29,7 +29,6 @@ import android.view.View;
import android.view.ViewGroup;
import android.view.ViewStub;
import android.widget.AdapterView;
import android.widget.ImageView;
import android.widget.ListView;
import android.widget.TextView;

View File

@ -14,17 +14,21 @@
android:layout_height="0dip"
android:layout_weight="1"/>
<TextView android:id="@+id/home_empty_text"
android:layout_width="fill_parent"
<ImageView android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:gravity="top|center"
android:scaleType="center"
android:src="@drawable/icon_reading_list_empty"
android:paddingBottom="10dp"/>
<TextView android:layout_width="fill_parent"
android:layout_height="0dip"
android:gravity="top|center"
android:text="@string/home_reading_list_empty"
android:textAppearance="@style/TextAppearance.EmptyMessage"
android:drawableTop="@drawable/icon_reading_list_empty"
android:drawablePadding="10dp"
android:paddingLeft="50dp"
android:paddingRight="50dp"
android:layout_weight="4"/>
android:layout_weight="3"/>
<ImageView android:src="@drawable/divider_horizontal"
android:layout_width="fill_parent"