summaryrefslogtreecommitdiff
path: root/res/layout
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2012-09-18 18:36:11 +0400
committerAndrew Dolgov <[email protected]>2012-09-18 18:36:11 +0400
commitc9c3aa3d36064fde040ed56cf438da69f098ae2b (patch)
tree8bb6526951faaadf9402b6db6b255a7406bdec73 /res/layout
parentd0b4542dce0c7a46848513f5a121ad7a3b13a560 (diff)
several android lint fixes
Diffstat (limited to 'res/layout')
-rw-r--r--res/layout/article_fragment.xml16
-rw-r--r--res/layout/headlines_row_loadmore.xml13
-rw-r--r--res/layout/login.xml11
3 files changed, 7 insertions, 33 deletions
diff --git a/res/layout/article_fragment.xml b/res/layout/article_fragment.xml
index 94e0a42e..e46de546 100644
--- a/res/layout/article_fragment.xml
+++ b/res/layout/article_fragment.xml
@@ -1,18 +1,9 @@
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/article_fragment"
android:layout_width="fill_parent"
+ android:padding="5sp"
android:layout_height="fill_parent"
- android:orientation="horizontal" >
-
- <LinearLayout
- xmlns:ads="http://schemas.android.com/apk/lib/com.google.ads"
- xmlns:android="http://schemas.android.com/apk/res/android"
- android:id="@+id/article_holder"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_weight="1"
- android:orientation="vertical"
- android:padding="5sp" >
+ android:orientation="vertical" >
<LinearLayout
android:id="@+id/article_header"
@@ -98,6 +89,5 @@
android:layout_weight="0"
android:text="@string/attachment_copy" />
</LinearLayout>
- </LinearLayout>
-
+
</LinearLayout> \ No newline at end of file
diff --git a/res/layout/headlines_row_loadmore.xml b/res/layout/headlines_row_loadmore.xml
index d2eda7a6..ab7adc87 100644
--- a/res/layout/headlines_row_loadmore.xml
+++ b/res/layout/headlines_row_loadmore.xml
@@ -4,18 +4,10 @@
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:background="?headlineNormalBackground"
- android:gravity="center_vertical"
+ android:gravity="center"
+ android:padding="5dp"
android:orientation="horizontal" >
- <LinearLayout
- android:id="@+id/loadmore_content"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:gravity="center_horizontal"
- android:layout_weight="1"
- android:orientation="horizontal"
- android:padding="10dp" >
-
<ProgressBar
android:id="@+id/loadmore_progress"
style="?android:attr/progressBarStyleSmall"
@@ -29,6 +21,5 @@
android:layout_height="wrap_content"
android:textColor="?headlineTextColor"
android:text="@string/loading_message" />
- </LinearLayout>
</LinearLayout> \ No newline at end of file
diff --git a/res/layout/login.xml b/res/layout/login.xml
index d144df96..1ed26afa 100644
--- a/res/layout/login.xml
+++ b/res/layout/login.xml
@@ -1,21 +1,14 @@
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:id="@+id/login"
+ android:id="@+id/loading_container"
android:layout_width="fill_parent"
+ android:gravity="center"
android:layout_height="fill_parent" >
- <LinearLayout
- android:id="@+id/loading_container"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:gravity="center"
- android:orientation="vertical" >
-
<TextView
android:id="@+id/loading_message"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_horizontal"
android:text="@string/loading_message" />
- </LinearLayout>
</LinearLayout> \ No newline at end of file