diff options
Diffstat (limited to 'res/layout')
-rw-r--r-- | res/layout/headlines_fragment.xml | 13 | ||||
-rw-r--r-- | res/layout/main.xml | 14 |
2 files changed, 25 insertions, 2 deletions
diff --git a/res/layout/headlines_fragment.xml b/res/layout/headlines_fragment.xml new file mode 100644 index 00000000..05281162 --- /dev/null +++ b/res/layout/headlines_fragment.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="utf-8" ?>
+
+<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ 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" android:background="?headlinesBackground"
+ android:layout_width="match_parent" android:layout_height="match_parent" android:id="@+id/headlines"></ListView>
+ </LinearLayout>
+ <ProgressBar android:layout_height="wrap_content"
+ android:layout_width="wrap_content"
+ android:layout_gravity="center" android:id="@+id/loading_progress"/>
+ </FrameLayout>
diff --git a/res/layout/main.xml b/res/layout/main.xml index c91f2a76..63cdbda7 100644 --- a/res/layout/main.xml +++ b/res/layout/main.xml @@ -1,9 +1,15 @@ - +<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="fill_parent" + android:layout_height="fill_parent"> + <LinearLayout android:id="@+id/linearLayout1" android:layout_width="fill_parent" android:layout_height="fill_parent" xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="horizontal"> <LinearLayout android:layout_weight="1.5" android:layout_height="match_parent" android:id="@+id/linearLayout4" android:layout_width="match_parent"> - <LinearLayout android:layout_height="match_parent" android:id="@+id/feeds_container" android:layout_width="match_parent"> + <LinearLayout android:layout_height="match_parent" android:id="@+id/feeds_container" + android:layout_weight="1" + + android:layout_width="match_parent"> </LinearLayout> <ImageView @@ -19,3 +25,7 @@ </LinearLayout> + <TextView android:layout_gravity="center" android:visibility="invisible" + android:textAppearance="?android:attr/textAppearanceLarge" android:text="@string/no_unread_feeds" android:layout_width="wrap_content" android:layout_height="wrap_content" android:id="@+id/no_unread_feeds"></TextView> + +</FrameLayout>
\ No newline at end of file |