diff options
author | Andrew Dolgov <[email protected]> | 2013-09-09 12:42:27 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2013-09-09 12:42:27 +0400 |
commit | 736c2233cf210caebee0df47936124b941ba207c (patch) | |
tree | ebe963d4b7ddf032b769d0a5b6adfd66f94b0f8a /res/layout/headlines_row_selected.xml | |
parent | 30ad3a8eda4e6be6c479aace9851ebbd7aec2134 (diff) |
move selection checkbox to the bottom left of headline row
Diffstat (limited to 'res/layout/headlines_row_selected.xml')
-rw-r--r-- | res/layout/headlines_row_selected.xml | 29 |
1 files changed, 14 insertions, 15 deletions
diff --git a/res/layout/headlines_row_selected.xml b/res/layout/headlines_row_selected.xml index dedb8ad6..e370d32f 100644 --- a/res/layout/headlines_row_selected.xml +++ b/res/layout/headlines_row_selected.xml @@ -21,8 +21,7 @@ android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_vertical"
- android:orientation="horizontal"
- android:paddingLeft="6dp" >
+ android:orientation="horizontal" >
<TextView
android:id="@+id/title"
@@ -34,8 +33,7 @@ android:singleLine="false"
android:text="Sample entry title"
android:textColor="?attr/headlineSelectedTextColor"
- android:textSize="16sp"
- android:textStyle="bold" />
+ android:textSize="16sp" />
</LinearLayout>
<LinearLayout
@@ -44,14 +42,8 @@ android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="center_vertical"
- 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" />
+ android:orientation="horizontal"
+ android:paddingTop="3dp" >
<TextView
android:id="@+id/feed_title"
@@ -80,7 +72,7 @@ android:id="@+id/excerpt"
android:layout_width="match_parent"
android:layout_height="match_parent"
- android:paddingLeft="6dp"
+ android:paddingTop="3dp"
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="13sp" />
@@ -88,8 +80,15 @@ <LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:gravity="center_vertical"
- android:paddingLeft="6dp" >
+ android:gravity="center_vertical" >
+
+ <CheckBox
+ android:id="@+id/selected"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_marginLeft="-6dp"
+ android:layout_weight="0"
+ android:focusable="false" />
<TextView
android:id="@+id/author"
|