diff options
author | Andrew Dolgov <[email protected]> | 2011-09-09 15:58:11 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2011-09-09 15:58:11 +0400 |
commit | fb7054eb18d45ea641bf1e7177ad4ae41a7d52d2 (patch) | |
tree | 5880d9c714e89da84f5ed5d50caee79f48168086 /res/layout/headlines_row.xml | |
parent | c7a583a116057ae06c0e0b9ba2e8536744a3479d (diff) |
experimental animation stuff
Diffstat (limited to 'res/layout/headlines_row.xml')
-rw-r--r-- | res/layout/headlines_row.xml | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/res/layout/headlines_row.xml b/res/layout/headlines_row.xml index e586a7f3..91b81a30 100644 --- a/res/layout/headlines_row.xml +++ b/res/layout/headlines_row.xml @@ -1,10 +1,13 @@ <?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
+ android:layout_height="?android:attr/listPreferredItemHeight"
android:gravity="center_vertical"
- android:padding="3dip" android:id="@+id/headlines_row" android:orientation="horizontal" android:layout_height="match_parent"> - <CheckBox android:paddingLeft="6dip" android:paddingRight="6dip" android:layout_height="wrap_content" android:layout_width="wrap_content" android:id="@+id/selected"></CheckBox> - <LinearLayout android:layout_height="wrap_content" android:id="@+id/linearLayout1" android:orientation="vertical" android:layout_width="match_parent"> + android:padding="3dip" android:id="@+id/headlines_row" android:orientation="horizontal">
+ <CheckBox android:focusable="false"
+ android:paddingLeft="6dip" android:paddingRight="6dip" android:layout_height="wrap_content" android:layout_width="wrap_content" android:id="@+id/selected"></CheckBox>
+ + <LinearLayout android:layout_weight="1" android:layout_height="wrap_content" android:id="@+id/linearLayout1" android:orientation="vertical" android:layout_width="match_parent"> <TextView android:id="@+id/title" android:textSize="16sp" android:text="{Title...}" android:layout_width="match_parent" android:layout_height="match_parent"></TextView> <TextView android:id="@+id/excerpt" android:textSize="13sp" android:textColor="#909090" android:text="{Content excerpt...}" android:layout_width="match_parent" android:layout_height="match_parent"></TextView> </LinearLayout>
|