diff options
author | Andrew Dolgov <[email protected]> | 2011-09-08 20:05:00 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2011-09-08 20:05:00 +0400 |
commit | f976b25c1edf0bc4871cb66b1c20e8b3b5669a6d (patch) | |
tree | 79ebf3b2f4fb195b38a7a9d01cc3f0e3eeddc030 /res | |
parent | 2e2b5e5a11b0f2dbfe5e8d5f26a9942f0226745e (diff) |
rework authentication
base feedlist adapter on sqlite
Diffstat (limited to 'res')
-rw-r--r-- | res/layout/feeds_fragment.xml | 2 | ||||
-rw-r--r-- | res/layout/feeds_row.xml | 7 | ||||
-rw-r--r-- | res/menu/main_menu.xml | 4 | ||||
-rw-r--r-- | res/xml/preferences.xml | 2 |
4 files changed, 8 insertions, 7 deletions
diff --git a/res/layout/feeds_fragment.xml b/res/layout/feeds_fragment.xml index 049b82ac..54e92c6c 100644 --- a/res/layout/feeds_fragment.xml +++ b/res/layout/feeds_fragment.xml @@ -8,6 +8,6 @@ android:layout_width="match_parent" android:id="@+id/feeds" android:layout_height="match_parent"></ListView>
</LinearLayout>
<ProgressBar android:layout_height="wrap_content"
- android:layout_width="wrap_content"
+ android:layout_width="wrap_content" android:visibility="invisible"
android:layout_gravity="center" android:id="@+id/loading_progress"/>
</FrameLayout>
diff --git a/res/layout/feeds_row.xml b/res/layout/feeds_row.xml index 81c58b46..a53e0eeb 100644 --- a/res/layout/feeds_row.xml +++ b/res/layout/feeds_row.xml @@ -4,20 +4,21 @@ android:layout_height="?android:attr/listPreferredItemHeight" android:orientation="horizontal" android:gravity="center_vertical" - android:padding="6dip" android:id="@+id/feeds_row"> + android:padding="3dip" android:id="@+id/feeds_row"> <TextView android:id="@+id/title" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_weight="1" - android:layout_gravity="center_vertical" - android:paddingLeft="16dp" + android:layout_gravity="center_vertical" + android:paddingLeft="6dip" android:text="{FEED}" android:textSize="16sp"/> <TextView android:id="@+id/unread_counter" android:gravity="right" android:textSize="12sp" android:textStyle="bold" + android:paddingRight="6dip" android:textColor="?unreadCounterColor" android:layout_gravity="center_vertical" android:layout_width="wrap_content" diff --git a/res/menu/main_menu.xml b/res/menu/main_menu.xml index 5b87eed0..f935a5e2 100644 --- a/res/menu/main_menu.xml +++ b/res/menu/main_menu.xml @@ -5,9 +5,9 @@ android:title="@string/preferences" android:showAsAction="ifRoom|withText"/> - <item android:id="@+id/logout" + <!-- <item android:id="@+id/logout" android:title="@string/logout" android:icon="@android:drawable/presence_offline" - android:showAsAction="ifRoom|withText"/> + android:showAsAction="ifRoom|withText"/> --> </menu> diff --git a/res/xml/preferences.xml b/res/xml/preferences.xml index c158a5f8..9f200274 100644 --- a/res/xml/preferences.xml +++ b/res/xml/preferences.xml @@ -8,7 +8,7 @@ <EditTextPreference android:title="@string/login" android:key="login" android:singleLine="true"></EditTextPreference>
<EditTextPreference android:title="@string/password" android:key="password" android:singleLine="true" android:password="true"></EditTextPreference>
<EditTextPreference android:key="ttrss_url" android:title="@string/ttrss_url" android:singleLine="true" textUri="true" android:hint="@string/default_url"></EditTextPreference>
- <CheckBoxPreference android:defaultValue="true" android:title="@string/auto_login" android:key="auto_login" />
+ <!-- <CheckBoxPreference android:defaultValue="true" android:title="@string/auto_login" android:key="auto_login" /> -->
</PreferenceCategory>
|