aboutsummaryrefslogtreecommitdiffstats
path: root/main/res/layout/fieldnote_export_dialog.xml
diff options
context:
space:
mode:
authorBrian <bpcampbell@gmail.com>2013-01-09 20:18:30 -1000
committerBrian <bpcampbell@gmail.com>2013-01-09 20:18:30 -1000
commit6b21da0672c8503febdd45c51ddb589469637745 (patch)
tree337b53a6fa3be7416a38c1a7bf621555d0d17ea9 /main/res/layout/fieldnote_export_dialog.xml
parent6ff084480d0f8f1a333549068ffe8a7aad08f32c (diff)
downloadcgeo-6b21da0672c8503febdd45c51ddb589469637745.zip
cgeo-6b21da0672c8503febdd45c51ddb589469637745.tar.gz
cgeo-6b21da0672c8503febdd45c51ddb589469637745.tar.bz2
Fix #1641. Apply style colors to dialogs to match setting
Before, dialogs had a semi-transparent grey background and using light skins could leave some text unreadable. This changes the background to match settings choice and ensures text is colored accordingly.
Diffstat (limited to 'main/res/layout/fieldnote_export_dialog.xml')
-rw-r--r--main/res/layout/fieldnote_export_dialog.xml12
1 files changed, 5 insertions, 7 deletions
diff --git a/main/res/layout/fieldnote_export_dialog.xml b/main/res/layout/fieldnote_export_dialog.xml
index a83fc67..ca0b01d 100644
--- a/main/res/layout/fieldnote_export_dialog.xml
+++ b/main/res/layout/fieldnote_export_dialog.xml
@@ -2,32 +2,30 @@
<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" >
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
+ android:textColor="?text_color"
android:text="@string/export_fieldnotes_info" />
<CheckBox
android:id="@+id/upload"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
+ style="@style/checkbox_full"
android:text="@string/export_fieldnotes_upload" />
<CheckBox
android:id="@+id/onlynew"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
+ style="@style/checkbox_full"
android:enabled="false"
android:text="@string/export_fieldnotes_onlynew" />
<Button
android:id="@+id/export"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:layout_margin="3dip"
+ style="@style/button_full"
android:text="@string/export" />
</LinearLayout> \ No newline at end of file