make items in feed and cat lists easier to click; bump version

This commit is contained in:
Andrew Dolgov 2013-03-20 19:18:31 +04:00
parent ef8fb0f7e8
commit fecb582f8b
3 changed files with 70 additions and 53 deletions

View File

@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" <manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="org.fox.ttrss" package="org.fox.ttrss"
android:versionCode="143" android:versionCode="144"
android:versionName="1.20" > android:versionName="1.21" >
<uses-sdk <uses-sdk
android:minSdkVersion="8" android:minSdkVersion="8"

View File

@ -1,36 +1,45 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/feeds_row"
android:layout_width="match_parent"
android:layout_height="?android:attr/listPreferredItemHeight" android:layout_height="?android:attr/listPreferredItemHeight"
android:orientation="horizontal"
android:gravity="center_vertical" android:gravity="center_vertical"
android:id="@+id/feeds_row" android:layout_width="match_parent" android:paddingBottom="4dip" android:paddingLeft="8dip" android:paddingRight="8dip" android:paddingTop="4dip"> android:orientation="horizontal"
android:paddingBottom="10dip"
android:paddingLeft="8dip"
android:paddingRight="8dip"
android:paddingTop="10dip" >
<ImageView <ImageView
android:id="@+id/icon" android:id="@+id/icon"
android:layout_width="16dp" android:layout_width="20dp"
android:layout_height="16dp" android:layout_height="20dp"
android:scaleType="fitXY"
android:layout_weight="0" android:layout_weight="0"
android:scaleType="fitXY"
android:src="@drawable/ic_rss_bw" /> android:src="@drawable/ic_rss_bw" />
<TextView <TextView
android:id="@+id/title" android:id="@+id/title"
android:layout_height="wrap_content" android:layout_width="0dp"
android:layout_weight="1" android:layout_height="wrap_content"
android:layout_gravity="center_vertical" android:layout_gravity="center_vertical"
android:paddingLeft="6dip" android:layout_weight="1"
android:textColor="?feedlistTextColor" android:paddingLeft="8dip"
android:text="{FEED}" android:layout_width="0dp" android:textSize="18dip"/> android:text="{FEED}"
<TextView android:textColor="?feedlistTextColor"
android:id="@+id/unread_counter" android:textSize="18dip" />
android:gravity="right"
android:textStyle="bold" <TextView
android:paddingRight="12dip" android:id="@+id/unread_counter"
android:textColor="?unreadCounterColor" android:layout_width="wrap_content"
android:layout_gravity="center_vertical" android:layout_height="wrap_content"
android:layout_width="wrap_content" android:layout_gravity="center_vertical"
android:layout_weight="0" android:layout_weight="0"
android:layout_height="wrap_content" android:gravity="right"
android:text="{123}" android:textSize="13sp"/> android:paddingRight="12dip"
android:text="{123}"
android:textColor="?unreadCounterColor"
android:textSize="13sp"
android:textStyle="bold" />
</LinearLayout> </LinearLayout>

View File

@ -1,38 +1,46 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/feeds_row"
android:layout_width="match_parent"
android:layout_height="?android:attr/listPreferredItemHeight" android:layout_height="?android:attr/listPreferredItemHeight"
android:orientation="horizontal"
android:background="?feedsSelectedBackgroundSolid" android:background="?feedsSelectedBackgroundSolid"
android:gravity="center_vertical" android:gravity="center_vertical"
android:id="@+id/feeds_row" android:layout_width="match_parent" android:paddingBottom="4dip" android:paddingLeft="8dip" android:paddingRight="8dip" android:paddingTop="4dip"> android:orientation="horizontal"
android:paddingBottom="10dip"
android:paddingLeft="8dip"
android:paddingRight="8dip"
android:paddingTop="10dip" >
<ImageView <ImageView
android:id="@+id/icon" android:id="@+id/icon"
android:layout_width="16dp" android:layout_width="20dp"
android:layout_height="16dp" android:layout_height="20dp"
android:scaleType="fitXY"
android:layout_weight="0" android:layout_weight="0"
android:scaleType="fitXY"
android:src="@drawable/ic_rss_bw" /> android:src="@drawable/ic_rss_bw" />
<TextView <TextView
android:id="@+id/title" android:id="@+id/title"
android:layout_height="wrap_content" android:layout_width="0dp"
android:layout_weight="1" android:layout_height="wrap_content"
android:layout_gravity="center_vertical" android:layout_gravity="center_vertical"
android:paddingLeft="6dip" android:layout_weight="1"
android:textColor="?feedlistSelectedTextColor" android:paddingLeft="6dip"
android:text="{FEED}" android:layout_width="0dp" android:textSize="18dip"/> android:text="{FEED}"
<TextView android:textColor="?feedlistSelectedTextColor"
android:id="@+id/unread_counter" android:textSize="18dip" />
android:gravity="right"
android:textStyle="bold" <TextView
android:paddingRight="6dip" android:id="@+id/unread_counter"
android:textColor="?unreadCounterColor" android:layout_width="wrap_content"
android:layout_gravity="center_vertical" android:layout_height="wrap_content"
android:layout_width="wrap_content" android:layout_gravity="center_vertical"
android:layout_weight="0" android:layout_weight="0"
android:layout_height="wrap_content" android:gravity="right"
android:text="{123}" android:textSize="13sp"/> android:paddingRight="8dip"
android:text="{123}"
android:textColor="?unreadCounterColor"
android:textSize="13sp"
android:textStyle="bold" />
</LinearLayout> </LinearLayout>