diff options
author | Andrew Dolgov <[email protected]> | 2013-05-23 15:59:05 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2013-05-23 15:59:05 +0400 |
commit | 75b10a845c801f57360f0fa4fca188ca86b8b00a (patch) | |
tree | 18767ffa61ec1886a48e9452b85bac37e5c4853b /res/layout/headlines_row_selected.xml | |
parent | 2f428e843eeae1040fd3b71fc5e83ebc3ae8005e (diff) |
headline style updates
Diffstat (limited to 'res/layout/headlines_row_selected.xml')
-rw-r--r-- | res/layout/headlines_row_selected.xml | 77 |
1 files changed, 34 insertions, 43 deletions
diff --git a/res/layout/headlines_row_selected.xml b/res/layout/headlines_row_selected.xml index be2239d9..9607bf6c 100644 --- a/res/layout/headlines_row_selected.xml +++ b/res/layout/headlines_row_selected.xml @@ -5,22 +5,17 @@ android:layout_height="wrap_content"
android:background="?headlineSelectedBackground"
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,10 +25,10 @@ android:ellipsize="end"
android:gravity="center_vertical"
android:singleLine="false"
- android:text="{Title...}"
- android:textColor="?headlineSelectedTextColor"
- android:textSize="18sp" />
-
+ android:text="Sample entry title"
+ android:textColor="?headlineTextColor"
+ android:textSize="16sp"
+ android:textStyle="bold" />
</LinearLayout>
<LinearLayout
@@ -42,35 +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:textColor="?headlineSelectedSecondaryTextColor"
- android:textSize="13sp"
- android:textStyle="italic" />
+ android:text="Example Feed"
+ android:textColor="?headlineSecondaryTextColor"
+ 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:paddingRight="12dp"
- android:text="Jan 01"
- android:textColor="?headlineSelectedSecondaryTextColor"
- android:textSize="13sp"
- android:textStyle="italic" />
-
+ android:text="Jan 01, 12:00"
+ android:textColor="?headlineSecondaryTextColor"
+ 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="?headlineSelectedExcerptTextColor"
- 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="?headlineSelectedSecondaryTextColor"
- android:textSize="13sp" />
+ android:textSize="12sp" />
<ImageView
android:id="@+id/marked"
@@ -118,19 +110,18 @@ android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="0"
- android:clickable="true"
+ android:clickable="true"
android:src="@drawable/ic_rss_bw" />
-
+
<ImageButton
android:id="@+id/article_menu_button"
android:layout_width="wrap_content"
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 |