aboutsummaryrefslogtreecommitdiffstats
path: root/main/res
diff options
context:
space:
mode:
authorBananeweizen <bananeweizen@gmx.de>2012-11-30 12:31:51 +0100
committerBananeweizen <bananeweizen@gmx.de>2012-11-30 12:31:51 +0100
commit1c26c5ff56bd4b58764ac7452f8b0ee553251297 (patch)
treeaf8ba070561a95e09611262b8cc1ba4e96824717 /main/res
parent8db9e1dbcabae3d1f9b2dfb08a0a630a2c41a09b (diff)
downloadcgeo-1c26c5ff56bd4b58764ac7452f8b0ee553251297.zip
cgeo-1c26c5ff56bd4b58764ac7452f8b0ee553251297.tar.gz
cgeo-1c26c5ff56bd4b58764ac7452f8b0ee553251297.tar.bz2
code cleanup: Lint layout issues
Diffstat (limited to 'main/res')
-rw-r--r--main/res/drawable/icon_big.pngbin4551 -> 0 bytes
-rw-r--r--main/res/layout/about.xml2
-rw-r--r--main/res/layout/auth.xml161
-rw-r--r--main/res/layout/cacheview_description.xml2
-rw-r--r--main/res/layout/cacheview_details.xml2
-rw-r--r--main/res/layout/cacheview_waypoints.xml2
-rw-r--r--main/res/layout/init.xml3
-rw-r--r--main/res/layout/navigate.xml2
-rw-r--r--main/res/layout/popup.xml2
-rw-r--r--main/res/layout/search.xml2
-rw-r--r--main/res/layout/trackable_detail.xml2
-rw-r--r--main/res/layout/useful_apps.xml2
-rw-r--r--main/res/layout/visit.xml2
13 files changed, 92 insertions, 92 deletions
diff --git a/main/res/drawable/icon_big.png b/main/res/drawable/icon_big.png
deleted file mode 100644
index a7d0d1b..0000000
--- a/main/res/drawable/icon_big.png
+++ /dev/null
Binary files differ
diff --git a/main/res/layout/about.xml b/main/res/layout/about.xml
index 13d7c04..39ad8ff 100644
--- a/main/res/layout/about.xml
+++ b/main/res/layout/about.xml
@@ -17,7 +17,7 @@
android:orientation="vertical" >
<LinearLayout
android:layout_width="fill_parent"
- android:layout_height="fill_parent"
+ android:layout_height="wrap_content"
android:layout_marginTop="10dip"
android:orientation="vertical" >
<LinearLayout
diff --git a/main/res/layout/auth.xml b/main/res/layout/auth.xml
index d94b08a..ea06d9c 100644
--- a/main/res/layout/auth.xml
+++ b/main/res/layout/auth.xml
@@ -1,82 +1,85 @@
<?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="fill_parent"
- android:orientation="vertical"
- android:background="?background_color" >
- <LinearLayout style="@style/action_bar">
- <ImageView style="@style/action_bar_action"
- android:onClick="goHome" />
- <View style="@style/action_bar_separator" />
- <TextView style="@style/action_bar_title" />
- </LinearLayout>
- <ScrollView
- android:layout_width="fill_parent"
- android:layout_height="fill_parent"
- android:padding="4dip"
- android:orientation="vertical" >
- <LinearLayout
- android:layout_width="fill_parent"
- android:layout_height="fill_parent"
- android:layout_marginTop="10dip"
- android:orientation="vertical" >
- <LinearLayout
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:orientation="horizontal"
- android:padding="7dip" >
- <ImageView
- android:layout_width="64dip"
- android:layout_height="64dip"
- android:maxWidth="64dip"
- android:maxHeight="64dip"
- android:scaleType="fitXY"
- android:layout_marginTop="7dip"
- android:layout_marginBottom="7dip"
- android:layout_marginLeft="7dip"
- android:layout_marginRight="7dip"
- android:src="@drawable/icon_big" />
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginLeft="10dip"
- android:layout_marginRight="10dip"
- android:layout_marginBottom="5dip"
- android:layout_gravity="left|center_vertical"
- android:gravity="left|center_vertical"
- android:textSize="14dip"
- android:textColor="?text_color"
- android:text="@string/about_auth_1" />
- </LinearLayout>
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginLeft="10dip"
- android:layout_marginRight="10dip"
- android:layout_marginBottom="5dip"
- android:layout_gravity="left|center_vertical"
- android:gravity="left|center_vertical"
- android:textSize="14dip"
- android:textColor="?text_color"
- android:text="@string/about_auth_2" />
- <LinearLayout
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:orientation="vertical"
- android:padding="7dip" >
- <Button style="@style/button_full"
- android:id="@+id/start"
- android:text="@string/auth_authorize" />
- <EditText style="@style/edittext_full"
- android:id="@+id/pin"
- android:visibility="gone"
- android:inputType="number"
- android:hint="@string/auth_pin_hint" />
- <Button style="@style/button_full"
- android:id="@+id/pin_button"
- android:visibility="gone"
- android:text="@string/auth_finish" />
- </LinearLayout>
- </LinearLayout>
- </ScrollView>
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:background="?background_color"
+ android:orientation="vertical"
+ android:visibility="visible" >
+
+ <LinearLayout style="@style/action_bar" >
+
+ <ImageView
+ style="@style/action_bar_action"
+ android:onClick="goHome"/>
+
+ <View style="@style/action_bar_separator" />
+
+ <TextView style="@style/action_bar_title" />
+ </LinearLayout>
+
+ <ScrollView
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:orientation="vertical"
+ android:padding="4dip" >
+
+ <LinearLayout
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="10dip"
+ android:orientation="vertical" >
+
+ <TextView
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:layout_gravity="left|center_vertical"
+ android:layout_marginBottom="20dip"
+ android:layout_marginLeft="10dip"
+ android:layout_marginRight="10dip"
+ android:drawableLeft="@drawable/cgeo"
+ android:drawablePadding="15dip"
+ android:gravity="left|center_vertical"
+ android:text="@string/about_auth_1"
+ android:textColor="?text_color"
+ android:textSize="14sp" />
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="left|center_vertical"
+ android:layout_marginBottom="5dip"
+ android:layout_marginLeft="10dip"
+ android:layout_marginRight="10dip"
+ android:gravity="left|center_vertical"
+ android:text="@string/about_auth_2"
+ android:textColor="?text_color"
+ android:textSize="14sp" />
+
+ <LinearLayout
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:orientation="vertical"
+ android:padding="7dip" >
+
+ <Button
+ android:id="@+id/start"
+ style="@style/button_full"
+ android:text="@string/auth_authorize" />
+
+ <EditText
+ android:id="@+id/pin"
+ style="@style/edittext_full"
+ android:hint="@string/auth_pin_hint"
+ android:inputType="number"
+ android:visibility="gone" />
+
+ <Button
+ android:id="@+id/pin_button"
+ style="@style/button_full"
+ android:text="@string/auth_finish"
+ android:visibility="visible" />
+ </LinearLayout>
+ </LinearLayout>
+ </ScrollView>
+
</LinearLayout> \ No newline at end of file
diff --git a/main/res/layout/cacheview_description.xml b/main/res/layout/cacheview_description.xml
index 60e70e7..044329b 100644
--- a/main/res/layout/cacheview_description.xml
+++ b/main/res/layout/cacheview_description.xml
@@ -5,7 +5,7 @@
<LinearLayout
android:layout_width="fill_parent"
- android:layout_height="fill_parent"
+ android:layout_height="wrap_content"
android:orientation="vertical"
android:padding="4dip" >
diff --git a/main/res/layout/cacheview_details.xml b/main/res/layout/cacheview_details.xml
index 2598fdd..62ee2af 100644
--- a/main/res/layout/cacheview_details.xml
+++ b/main/res/layout/cacheview_details.xml
@@ -6,7 +6,7 @@
<LinearLayout
android:layout_width="fill_parent"
- android:layout_height="fill_parent"
+ android:layout_height="wrap_content"
android:orientation="vertical"
android:padding="4dip" >
diff --git a/main/res/layout/cacheview_waypoints.xml b/main/res/layout/cacheview_waypoints.xml
index faf90f5..fc990d5 100644
--- a/main/res/layout/cacheview_waypoints.xml
+++ b/main/res/layout/cacheview_waypoints.xml
@@ -5,7 +5,7 @@
<LinearLayout
android:layout_width="fill_parent"
- android:layout_height="fill_parent"
+ android:layout_height="wrap_content"
android:orientation="vertical"
android:padding="4dip" >
diff --git a/main/res/layout/init.xml b/main/res/layout/init.xml
index c09ac30..fc425ec 100644
--- a/main/res/layout/init.xml
+++ b/main/res/layout/init.xml
@@ -21,7 +21,7 @@
android:orientation="vertical" >
<LinearLayout
android:layout_width="fill_parent"
- android:layout_height="fill_parent"
+ android:layout_height="wrap_content"
android:layout_marginTop="10dip"
android:orientation="vertical" >
<!-- ** -->
@@ -296,7 +296,6 @@
<CheckBox android:id="@+id/offline_wp"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:layout_alignParentLeft="true"
android:layout_gravity="left"
android:padding="1px"
android:gravity="center" />
diff --git a/main/res/layout/navigate.xml b/main/res/layout/navigate.xml
index 94ed7bc..61cfe2a 100644
--- a/main/res/layout/navigate.xml
+++ b/main/res/layout/navigate.xml
@@ -24,14 +24,12 @@
<TextView android:id="@+id/destination"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:layout_centerHorizontal="true"
android:layout_gravity="center"
android:textSize="14dip"
android:textColor="?text_color"/>
<TextView android:id="@+id/cacheinfo"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:layout_centerHorizontal="true"
android:layout_gravity="center"
android:textSize="14dip"
android:textColor="?text_color"/>
diff --git a/main/res/layout/popup.xml b/main/res/layout/popup.xml
index 9a33c55..bf266e1 100644
--- a/main/res/layout/popup.xml
+++ b/main/res/layout/popup.xml
@@ -26,7 +26,7 @@
android:orientation="vertical" >
<LinearLayout
android:layout_width="fill_parent"
- android:layout_height="fill_parent"
+ android:layout_height="wrap_content"
android:orientation="vertical" >
<LinearLayout android:id="@+id/details_list"
android:layout_width="fill_parent"
diff --git a/main/res/layout/search.xml b/main/res/layout/search.xml
index 7b5f004..5869962 100644
--- a/main/res/layout/search.xml
+++ b/main/res/layout/search.xml
@@ -32,7 +32,7 @@
<LinearLayout
android:layout_width="fill_parent"
- android:layout_height="fill_parent"
+ android:layout_height="wrap_content"
android:layout_marginBottom="10dip"
android:layout_marginTop="10dip"
android:orientation="vertical" >
diff --git a/main/res/layout/trackable_detail.xml b/main/res/layout/trackable_detail.xml
index 9ffd5cb..4fc34a5 100644
--- a/main/res/layout/trackable_detail.xml
+++ b/main/res/layout/trackable_detail.xml
@@ -22,7 +22,7 @@
android:orientation="vertical" >
<LinearLayout
android:layout_width="fill_parent"
- android:layout_height="fill_parent"
+ android:layout_height="wrap_content"
android:orientation="vertical" >
<LinearLayout android:id="@+id/details_list"
android:layout_width="fill_parent"
diff --git a/main/res/layout/useful_apps.xml b/main/res/layout/useful_apps.xml
index d9dbd62..1d7aecd 100644
--- a/main/res/layout/useful_apps.xml
+++ b/main/res/layout/useful_apps.xml
@@ -18,7 +18,7 @@
<LinearLayout
android:id="@+id/parent"
android:layout_width="fill_parent"
- android:layout_height="fill_parent"
+ android:layout_height="wrap_content"
android:orientation="vertical" >
</LinearLayout>
</ScrollView>
diff --git a/main/res/layout/visit.xml b/main/res/layout/visit.xml
index 8e2f06b..50de506 100644
--- a/main/res/layout/visit.xml
+++ b/main/res/layout/visit.xml
@@ -23,7 +23,7 @@
android:orientation="vertical" >
<LinearLayout
android:layout_width="fill_parent"
- android:layout_height="fill_parent"
+ android:layout_height="wrap_content"
android:layout_marginTop="10dip"
android:orientation="vertical" >
<LinearLayout