summaryrefslogtreecommitdiff
path: root/res/layout/headlines_row_unread.xml
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2013-05-23 15:59:05 +0400
committerAndrew Dolgov <[email protected]>2013-05-23 15:59:05 +0400
commit75b10a845c801f57360f0fa4fca188ca86b8b00a (patch)
tree18767ffa61ec1886a48e9452b85bac37e5c4853b /res/layout/headlines_row_unread.xml
parent2f428e843eeae1040fd3b71fc5e83ebc3ae8005e (diff)
headline style updates
Diffstat (limited to 'res/layout/headlines_row_unread.xml')
-rw-r--r--res/layout/headlines_row_unread.xml65
1 files changed, 28 insertions, 37 deletions
diff --git a/res/layout/headlines_row_unread.xml b/res/layout/headlines_row_unread.xml
index fc1ab67a..89537907 100644
--- a/res/layout/headlines_row_unread.xml
+++ b/res/layout/headlines_row_unread.xml
@@ -5,22 +5,17 @@
android:layout_height="wrap_content"
android:background="?headlineUnreadBackground"
android:orientation="vertical"
- android:paddingRight="6dp" >
+ android:paddingLeft="0dp"
+ android:paddingRight="6dp"
+ android:paddingTop="6dp" >
<LinearLayout
android:id="@+id/linearLayout6"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_vertical"
- android:orientation="horizontal" >
-
- <CheckBox
- android:id="@+id/selected"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:focusable="false"
- android:paddingLeft="0dp"
- android:paddingRight="0dp" />
+ android:orientation="horizontal"
+ android:paddingLeft="6dp" >
<TextView
android:id="@+id/title"
@@ -30,11 +25,10 @@
android:ellipsize="end"
android:gravity="center_vertical"
android:singleLine="false"
- android:text="{Title...}"
+ android:text="Sample entry title"
android:textColor="?headlineUnreadTextColor"
- android:textSize="18sp"
+ android:textSize="16sp"
android:textStyle="bold" />
-
</LinearLayout>
<LinearLayout
@@ -43,34 +37,36 @@
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="center_vertical"
- android:orientation="horizontal"
- android:paddingLeft="6dp"
- android:paddingTop="6dp" >
+ android:orientation="horizontal" >
+
+ <CheckBox
+ android:id="@+id/selected"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_weight="0"
+ android:focusable="false" />
<TextView
android:id="@+id/feed_title"
android:layout_width="wrap_content"
- android:layout_height="match_parent"
- android:layout_weight="0.25"
+ android:layout_height="wrap_content"
+ android:layout_weight="1"
android:ellipsize="end"
android:gravity="center_vertical"
android:singleLine="true"
- android:text="{Feed title...}"
+ android:text="Example Feed"
android:textColor="?headlineSecondaryTextColor"
- android:textSize="13sp"
- android:textStyle="italic" />
+ android:textSize="12sp" />
<TextView
android:id="@+id/date"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:layout_weight="0.5"
+ android:layout_weight="1"
android:gravity="right|center_vertical"
- android:text="Jan 01"
+ android:text="Jan 01, 12:00"
android:textColor="?headlineSecondaryTextColor"
- android:textSize="13sp"
- android:textStyle="italic" />
-
+ android:textSize="12sp" />
</LinearLayout>
<TextView
@@ -78,19 +74,15 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
android:paddingLeft="6dp"
- android:paddingRight="0dp"
- android:paddingTop="6dp"
- android:text="{Content excerpt...}"
+ android:text="Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua."
android:textColor="?headlineExcerptTextColor"
- android:textSize="16sp" />
+ android:textSize="13sp" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_vertical"
- android:paddingLeft="6dp"
- android:paddingRight="0dp"
- android:paddingTop="0dp" >
+ android:paddingLeft="6dp" >
<TextView
android:id="@+id/author"
@@ -100,9 +92,9 @@
android:ellipsize="end"
android:gravity="center_vertical"
android:singleLine="true"
- android:text="{Author}"
+ android:text="by Author"
android:textColor="?headlineSecondaryTextColor"
- android:textSize="13sp" />
+ android:textSize="12sp" />
<ImageView
android:id="@+id/marked"
@@ -127,10 +119,9 @@
android:layout_height="wrap_content"
android:layout_weight="0"
android:background="@null"
- android:paddingLeft="6dp"
+ android:paddingLeft="10dp"
android:paddingTop="6dp"
android:src="@drawable/ic_mailbox_collapsed_holo_light" />
-
</LinearLayout>
</LinearLayout> \ No newline at end of file