diff options
| author | Andrew Dolgov <fox@fakecake.org> | 2012-09-18 18:36:11 +0400 |
|---|---|---|
| committer | Andrew Dolgov <fox@fakecake.org> | 2012-09-18 18:36:11 +0400 |
| commit | c9c3aa3d36064fde040ed56cf438da69f098ae2b (patch) | |
| tree | 8bb6526951faaadf9402b6db6b255a7406bdec73 /res/layout-port | |
| parent | d0b4542dce0c7a46848513f5a121ad7a3b13a560 (diff) | |
several android lint fixes
Diffstat (limited to 'res/layout-port')
| -rw-r--r-- | res/layout-port/headlines_row.xml | 12 | ||||
| -rw-r--r-- | res/layout-port/headlines_row_selected.xml | 6 | ||||
| -rw-r--r-- | res/layout-port/headlines_row_unread.xml | 6 |
3 files changed, 3 insertions, 21 deletions
diff --git a/res/layout-port/headlines_row.xml b/res/layout-port/headlines_row.xml index 8f65f7ec..568078a6 100644 --- a/res/layout-port/headlines_row.xml +++ b/res/layout-port/headlines_row.xml @@ -7,15 +7,10 @@ android:gravity="center_vertical"
android:orientation="vertical" >
- <LinearLayout
- android:id="@+id/linearLayout7"
- android:layout_width="match_parent"
- android:layout_height="match_parent" >
-
<LinearLayout
android:id="@+id/linearLayout1"
android:layout_width="match_parent"
- android:layout_height="wrap_content"
+ android:layout_height="0dp"
android:layout_weight="1"
android:orientation="vertical"
android:padding="3dip" >
@@ -39,7 +34,7 @@ <TextView
android:id="@+id/excerpt"
- android:layout_width="match_parent"
+ android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="Neque porro quisquam est qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit..."
@@ -50,7 +45,7 @@ <LinearLayout
android:id="@+id/linearLayout4"
android:layout_width="match_parent"
- android:layout_height="wrap_content"
+ android:layout_height="0dp"
android:layout_weight="0"
android:gravity="center"
android:orientation="horizontal" >
@@ -100,7 +95,6 @@ android:src="@drawable/ic_rss_bw" />
</LinearLayout>
</LinearLayout>
- </LinearLayout>
<TextView
android:id="@+id/content"
diff --git a/res/layout-port/headlines_row_selected.xml b/res/layout-port/headlines_row_selected.xml index 8c5af7f9..ad5ab33f 100644 --- a/res/layout-port/headlines_row_selected.xml +++ b/res/layout-port/headlines_row_selected.xml @@ -7,11 +7,6 @@ android:gravity="center_vertical"
android:orientation="vertical" >
- <LinearLayout
- android:id="@+id/linearLayout7"
- android:layout_width="match_parent"
- android:layout_height="match_parent" >
-
<LinearLayout
android:id="@+id/linearLayout1"
android:layout_width="match_parent"
@@ -100,7 +95,6 @@ android:src="@drawable/ic_rss_bw" />
</LinearLayout>
</LinearLayout>
- </LinearLayout>
<TextView
android:id="@+id/content"
diff --git a/res/layout-port/headlines_row_unread.xml b/res/layout-port/headlines_row_unread.xml index 35b2dead..ce0cf9a3 100644 --- a/res/layout-port/headlines_row_unread.xml +++ b/res/layout-port/headlines_row_unread.xml @@ -7,11 +7,6 @@ android:gravity="center_vertical"
android:orientation="vertical" >
- <LinearLayout
- android:id="@+id/linearLayout7"
- android:layout_width="match_parent"
- android:layout_height="match_parent" >
-
<LinearLayout
android:id="@+id/linearLayout1"
android:layout_width="match_parent"
@@ -100,7 +95,6 @@ android:src="@drawable/ic_rss_bw" />
</LinearLayout>
</LinearLayout>
- </LinearLayout>
<TextView
android:id="@+id/content"
|