summaryrefslogtreecommitdiff
path: root/res
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2011-12-05 20:22:31 +0300
committerAndrew Dolgov <[email protected]>2011-12-05 20:22:31 +0300
commit6a9178fe2e3f3160d05bbe4f197cf040ca1409cc (patch)
tree25f3445a6e6d15f446ac4b688c90881f6d421318 /res
parent826a83fb8cbb6902fec41574168c6573df6a9bcc (diff)
implement offline feedlist
Diffstat (limited to 'res')
-rw-r--r--res/layout/feeds_fragment.xml5
-rw-r--r--res/menu/main_menu.xml16
2 files changed, 13 insertions, 8 deletions
diff --git a/res/layout/feeds_fragment.xml b/res/layout/feeds_fragment.xml
index 32f2d229..b5651dd6 100644
--- a/res/layout/feeds_fragment.xml
+++ b/res/layout/feeds_fragment.xml
@@ -7,5 +7,10 @@
<TextView android:layout_width="wrap_content" android:textAppearance="?android:attr/textAppearanceLarge" android:id="@+id/loading_message" android:layout_height="wrap_content" ></TextView>
</LinearLayout>
<ListView android:id="@+id/feeds" android:layout_height="match_parent" android:layout_width="match_parent"></ListView>
+
+ <TextView android:id="@+id/no_unread_feeds"
+ android:visibility="invisible"
+ android:layout_gravity="center" android:color="#909090"
+ android:textAppearance="?android:attr/textAppearanceLarge" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/no_unread_feeds"></TextView>
</FrameLayout>
diff --git a/res/menu/main_menu.xml b/res/menu/main_menu.xml
index 531c6b98..04835d49 100644
--- a/res/menu/main_menu.xml
+++ b/res/menu/main_menu.xml
@@ -1,20 +1,20 @@
<menu xmlns:android="http://schemas.android.com/apk/res/android" >
<item
- android:id="@+id/go_offline"
- android:icon="@drawable/ic_menu_cloud"
- android:showAsAction="ifRoom|withText"
- android:title="@string/go_offline"/>
-
- <item
android:id="@+id/go_online"
- android:visible="false"
android:icon="@drawable/ic_menu_cloud"
android:showAsAction="ifRoom|withText"
- android:title="@string/go_online"/>
+ android:title="@string/go_online"
+ android:visible="false"/>
<group android:id="@+id/menu_group_logged_in" >
+ <item
+ android:id="@+id/go_offline"
+ android:icon="@drawable/ic_menu_cloud"
+ android:showAsAction="ifRoom|withText"
+ android:title="@string/go_offline"/>
+
<group android:id="@+id/menu_group_feeds" >
<item