diff options
| author | Samuel Tardieu <sam@rfc1149.net> | 2013-02-02 14:45:43 +0100 |
|---|---|---|
| committer | Samuel Tardieu <sam@rfc1149.net> | 2013-02-02 14:45:43 +0100 |
| commit | b4f5f85823ea0663898a835822803d77ae29239b (patch) | |
| tree | 27bc41a39e6c151b8f556980c1c3b2a63be83761 /main | |
| parent | 586c04c857f5ddb42be3567ddd7172eecb0a3632 (diff) | |
| download | cgeo-b4f5f85823ea0663898a835822803d77ae29239b.zip cgeo-b4f5f85823ea0663898a835822803d77ae29239b.tar.gz cgeo-b4f5f85823ea0663898a835822803d77ae29239b.tar.bz2 | |
Remove background attributes on layouts
If a background attribute is set on both a layout and a theme, the
background is drawn twice. Since our themes define a background color,
there is no need to set it on individual layouts too.
Diffstat (limited to 'main')
29 files changed, 15 insertions, 44 deletions
diff --git a/main/res/layout-land/coords.xml b/main/res/layout-land/coords.xml index aa09600..1388187 100644 --- a/main/res/layout-land/coords.xml +++ b/main/res/layout-land/coords.xml @@ -3,7 +3,6 @@ android:id="@+id/linearLayout1" android:layout_width="fill_parent" android:layout_height="wrap_content" - android:background="?background_color" android:orientation="vertical" > <LinearLayout style="@style/action_bar" > diff --git a/main/res/layout-land/navigate.xml b/main/res/layout-land/navigate.xml index c19374b..d13f345 100644 --- a/main/res/layout-land/navigate.xml +++ b/main/res/layout-land/navigate.xml @@ -2,8 +2,7 @@ <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" > + android:orientation="vertical"> <LinearLayout style="@style/action_bar"> <ImageView style="@style/action_bar_action" android:onClick="goHome" /> diff --git a/main/res/layout/about.xml b/main/res/layout/about.xml index 15862e6..01b04e1 100644 --- a/main/res/layout/about.xml +++ b/main/res/layout/about.xml @@ -2,7 +2,6 @@ <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent" - android:background="?background_color" android:orientation="vertical" > <LinearLayout style="@style/action_bar" > diff --git a/main/res/layout/addresses.xml b/main/res/layout/addresses.xml index 1c7bc81..1f8665e 100644 --- a/main/res/layout/addresses.xml +++ b/main/res/layout/addresses.xml @@ -2,8 +2,7 @@ <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" > + android:orientation="vertical"> <LinearLayout style="@style/action_bar"> <ImageView style="@style/action_bar_action" android:onClick="goHome" /> diff --git a/main/res/layout/auth.xml b/main/res/layout/auth.xml index ea06d9c..dadac5a 100644 --- a/main/res/layout/auth.xml +++ b/main/res/layout/auth.xml @@ -2,7 +2,6 @@ <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent" - android:background="?background_color" android:orientation="vertical" android:visibility="visible" > diff --git a/main/res/layout/caches.xml b/main/res/layout/caches.xml index 6e39fee..3381341 100644 --- a/main/res/layout/caches.xml +++ b/main/res/layout/caches.xml @@ -2,8 +2,7 @@ <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" > + android:orientation="vertical"> <LinearLayout style="@style/action_bar"> <ImageView style="@style/action_bar_action" android:onClick="goHome" /> diff --git a/main/res/layout/cacheview.xml b/main/res/layout/cacheview.xml index 89d7152..3dcf9d8 100644 --- a/main/res/layout/cacheview.xml +++ b/main/res/layout/cacheview.xml @@ -3,7 +3,6 @@ xmlns:app="http://schemas.android.com/apk/res/cgeo.geocaching"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
- android:background="?background_color"
android:orientation="vertical" >
<LinearLayout style="@style/action_bar" >
diff --git a/main/res/layout/coords.xml b/main/res/layout/coords.xml index 5720fa8..ddb2f4e 100644 --- a/main/res/layout/coords.xml +++ b/main/res/layout/coords.xml @@ -3,7 +3,6 @@ android:id="@+id/linearLayout1" android:layout_width="fill_parent" android:layout_height="wrap_content" - android:background="?background_color" android:orientation="vertical" > <LinearLayout style="@style/action_bar" > diff --git a/main/res/layout/edit_waypoint_activity.xml b/main/res/layout/edit_waypoint_activity.xml index 46134a0..4c95284 100644 --- a/main/res/layout/edit_waypoint_activity.xml +++ b/main/res/layout/edit_waypoint_activity.xml @@ -2,7 +2,6 @@ <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent" - android:background="?background_color" android:orientation="vertical" > <LinearLayout style="@style/action_bar" > diff --git a/main/res/layout/editor.xml b/main/res/layout/editor.xml index e07d31f..9b7dc33 100644 --- a/main/res/layout/editor.xml +++ b/main/res/layout/editor.xml @@ -2,8 +2,7 @@ android:id="@+id/linearLayout1" android:layout_width="match_parent" android:layout_height="wrap_content" - android:orientation="vertical" - android:background="?background_color" > + android:orientation="vertical"> <EditText android:id="@+id/editorEditText" diff --git a/main/res/layout/fieldnote_export_dialog.xml b/main/res/layout/fieldnote_export_dialog.xml index 4548602..02ab182 100644 --- a/main/res/layout/fieldnote_export_dialog.xml +++ b/main/res/layout/fieldnote_export_dialog.xml @@ -2,7 +2,6 @@ <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
- android:background="?background_color"
android:orientation="vertical"
android:padding="3dip" >
diff --git a/main/res/layout/gpx.xml b/main/res/layout/gpx.xml index 1c7bc81..1f8665e 100644 --- a/main/res/layout/gpx.xml +++ b/main/res/layout/gpx.xml @@ -2,8 +2,7 @@ <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" > + android:orientation="vertical"> <LinearLayout style="@style/action_bar"> <ImageView style="@style/action_bar_action" android:onClick="goHome" /> diff --git a/main/res/layout/gpx_export_dialog.xml b/main/res/layout/gpx_export_dialog.xml index 4863417..9c97848 100644 --- a/main/res/layout/gpx_export_dialog.xml +++ b/main/res/layout/gpx_export_dialog.xml @@ -2,7 +2,6 @@ <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
- android:background="?background_color"
android:orientation="vertical"
android:padding="3dip" >
diff --git a/main/res/layout/init.xml b/main/res/layout/init.xml index 28e0a3c..6aaed9f 100644 --- a/main/res/layout/init.xml +++ b/main/res/layout/init.xml @@ -2,8 +2,7 @@ <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" > + android:orientation="vertical"> <LinearLayout style="@style/action_bar"> <ImageView style="@style/action_bar_action" android:onClick="goHome" /> diff --git a/main/res/layout/map_google.xml b/main/res/layout/map_google.xml index af55cb2..c969d4f 100644 --- a/main/res/layout/map_google.xml +++ b/main/res/layout/map_google.xml @@ -2,8 +2,7 @@ <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" > + android:orientation="vertical"> <LinearLayout style="@style/action_bar"> <ImageView style="@style/action_bar_action" android:onClick="goHome" /> diff --git a/main/res/layout/map_mapsforge.xml b/main/res/layout/map_mapsforge.xml index f727814..97df488 100644 --- a/main/res/layout/map_mapsforge.xml +++ b/main/res/layout/map_mapsforge.xml @@ -2,8 +2,7 @@ <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" > + android:orientation="vertical"> <LinearLayout style="@style/action_bar"> <ImageView style="@style/action_bar_action" android:onClick="goHome" /> diff --git a/main/res/layout/map_mapsforge_old.xml b/main/res/layout/map_mapsforge_old.xml index 00ee46d..0246a95 100644 --- a/main/res/layout/map_mapsforge_old.xml +++ b/main/res/layout/map_mapsforge_old.xml @@ -2,8 +2,7 @@ <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" > + android:orientation="vertical"> <LinearLayout style="@style/action_bar"> <ImageView style="@style/action_bar_action" android:onClick="goHome" /> diff --git a/main/res/layout/map_static.xml b/main/res/layout/map_static.xml index 410ad3f..0e4190d 100644 --- a/main/res/layout/map_static.xml +++ b/main/res/layout/map_static.xml @@ -2,8 +2,7 @@ <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" > + android:orientation="vertical"> <LinearLayout style="@style/action_bar"> <ImageView style="@style/action_bar_action" android:onClick="goHome" /> diff --git a/main/res/layout/navigate.xml b/main/res/layout/navigate.xml index 0c95958..2819f21 100644 --- a/main/res/layout/navigate.xml +++ b/main/res/layout/navigate.xml @@ -2,7 +2,6 @@ <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent" - android:background="?background_color" android:orientation="vertical" > <LinearLayout style="@style/action_bar" > diff --git a/main/res/layout/point.xml b/main/res/layout/point.xml index cb453e3..4fd020e 100644 --- a/main/res/layout/point.xml +++ b/main/res/layout/point.xml @@ -2,7 +2,6 @@ <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent" - android:background="?background_color" android:orientation="vertical" > <LinearLayout style="@style/action_bar" > <ImageView diff --git a/main/res/layout/popup.xml b/main/res/layout/popup.xml index ff64c91..1e4c762 100644 --- a/main/res/layout/popup.xml +++ b/main/res/layout/popup.xml @@ -2,7 +2,6 @@ <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent" - android:background="?background_color_transparent" android:orientation="vertical" > <LinearLayout style="@style/action_bar" > diff --git a/main/res/layout/search.xml b/main/res/layout/search.xml index a25bf0f..45fb1e6 100644 --- a/main/res/layout/search.xml +++ b/main/res/layout/search.xml @@ -3,7 +3,6 @@ xmlns:tools="http://schemas.android.com/tools" android:layout_width="fill_parent" android:layout_height="fill_parent" - android:background="?background_color" android:orientation="vertical" > <LinearLayout style="@style/action_bar" > diff --git a/main/res/layout/simple_dir_chooser.xml b/main/res/layout/simple_dir_chooser.xml index 1b6b659..32f8c00 100644 --- a/main/res/layout/simple_dir_chooser.xml +++ b/main/res/layout/simple_dir_chooser.xml @@ -3,8 +3,7 @@ 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"> + android:orientation="vertical"> <LinearLayout android:layout_width="fill_parent" android:layout_height="wrap_content" diff --git a/main/res/layout/spoilers.xml b/main/res/layout/spoilers.xml index 233972a..5513934 100644 --- a/main/res/layout/spoilers.xml +++ b/main/res/layout/spoilers.xml @@ -2,7 +2,6 @@ <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent" - android:background="?background_color" android:orientation="vertical" > <LinearLayout style="@style/action_bar" > diff --git a/main/res/layout/touch.xml b/main/res/layout/touch.xml index 3ae086b..6a37726 100644 --- a/main/res/layout/touch.xml +++ b/main/res/layout/touch.xml @@ -2,8 +2,7 @@ <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" > + android:orientation="vertical"> <LinearLayout style="@style/action_bar"> <ImageView style="@style/action_bar_action" android:onClick="goHome" /> diff --git a/main/res/layout/trackable_activity.xml b/main/res/layout/trackable_activity.xml index fe61409..edc69e6 100644 --- a/main/res/layout/trackable_activity.xml +++ b/main/res/layout/trackable_activity.xml @@ -3,7 +3,6 @@ xmlns:app="http://schemas.android.com/apk/res/cgeo.geocaching"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
- android:background="?background_color"
android:orientation="vertical" >
<LinearLayout style="@style/action_bar" >
diff --git a/main/res/layout/useful_apps.xml b/main/res/layout/useful_apps.xml index 1d7aecd..b95a7c2 100644 --- a/main/res/layout/useful_apps.xml +++ b/main/res/layout/useful_apps.xml @@ -2,8 +2,7 @@ <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" > + android:orientation="vertical"> <LinearLayout style="@style/action_bar"> <ImageView style="@style/action_bar_action" android:onClick="goHome" /> diff --git a/main/res/layout/visit.xml b/main/res/layout/visit.xml index f1c161c..54f4f4b 100644 --- a/main/res/layout/visit.xml +++ b/main/res/layout/visit.xml @@ -2,8 +2,7 @@ <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" > + android:orientation="vertical"> <LinearLayout style="@style/action_bar"> <ImageView style="@style/action_bar_action" android:onClick="goHome" /> diff --git a/main/res/layout/waypoint_popup.xml b/main/res/layout/waypoint_popup.xml index 9e6911b..5feec43 100644 --- a/main/res/layout/waypoint_popup.xml +++ b/main/res/layout/waypoint_popup.xml @@ -2,8 +2,7 @@ <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_transparent" > + android:orientation="vertical"> <LinearLayout style="@style/action_bar"> <TextView style="@style/action_bar_title" /> <View style="@style/action_bar_separator" /> |
