aboutsummaryrefslogtreecommitdiff
path: root/res/layout-sw768dp/feeds_row_selected.xml
diff options
context:
space:
mode:
authorAndrew Dolgov <fox@fakecake.org>2012-09-01 22:22:13 +0400
committerAndrew Dolgov <fox@fakecake.org>2012-09-01 22:22:13 +0400
commitb826481001889868a57fb37b80fcfd7b109ab1a8 (patch)
treed742b01a01b820ca7e8fd2675f35d4a1de1c27dd /res/layout-sw768dp/feeds_row_selected.xml
parent77352728e7085bf9883c2c7d94501bce1ab8e4cf (diff)
properly detect portrait orientation
move to ICS style of naming resources for various dpi bump version
Diffstat (limited to 'res/layout-sw768dp/feeds_row_selected.xml')
-rw-r--r--res/layout-sw768dp/feeds_row_selected.xml38
1 files changed, 38 insertions, 0 deletions
diff --git a/res/layout-sw768dp/feeds_row_selected.xml b/res/layout-sw768dp/feeds_row_selected.xml
new file mode 100644
index 00000000..d8481005
--- /dev/null
+++ b/res/layout-sw768dp/feeds_row_selected.xml
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_height="?android:attr/listPreferredItemHeight"
+ android:orientation="horizontal"
+ android:background="?feedsSelectedBackground"
+ 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">
+
+ <ImageView
+ android:id="@+id/icon"
+ android:layout_width="16dp"
+ android:layout_height="16dp"
+ android:scaleType="fitXY"
+
+ android:layout_weight="0"
+ android:src="@drawable/ic_rss_bw" />
+
+ <TextView
+ android:id="@+id/title"
+ android:layout_height="wrap_content"
+ android:layout_weight="1"
+ android:layout_gravity="center_vertical"
+ android:paddingLeft="6dip"
+ android:textColor="?feedlistSelectedTextColor"
+ android:text="{FEED}" android:layout_width="0dp" android:textSize="18dip"/>
+ <TextView
+ android:id="@+id/unread_counter"
+ android:gravity="right"
+ android:textStyle="bold"
+ android:paddingRight="12dp"
+ android:textColor="?unreadCounterColor"
+ android:layout_gravity="center_vertical"
+ android:layout_width="wrap_content"
+ android:layout_weight="0"
+ android:layout_height="wrap_content"
+ android:text="{123}" android:textSize="13sp"/>
+
+</LinearLayout> \ No newline at end of file