diff options
Diffstat (limited to 'res/layout/headlines_fragment.xml')
-rw-r--r-- | res/layout/headlines_fragment.xml | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/res/layout/headlines_fragment.xml b/res/layout/headlines_fragment.xml index 588e1404..4be9fe5b 100644 --- a/res/layout/headlines_fragment.xml +++ b/res/layout/headlines_fragment.xml @@ -4,8 +4,13 @@ android:layout_width="fill_parent"
android:layout_height="fill_parent" android:id="@+id/headlines_fragment">
<LinearLayout android:layout_width="fill_parent" android:layout_height="fill_parent" xmlns:android="http://schemas.android.com/apk/res/android">
- <ListView android:layout_weight="1"
+ <ListView android:layout_weight="1" android:background="#fafafa"
android:layout_width="match_parent" android:layout_height="match_parent" android:id="@+id/headlines"></ListView>
</LinearLayout>
+ <TextView android:id="@+id/no_headlines"
+ android:visibility="invisible"
+ android:layout_gravity="center"
+ android:textAppearance="?android:attr/textAppearanceLarge" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/no_headlines"></TextView>
+
</FrameLayout>
|