From 81cc580e8fc6ad87730218839959aa7d1de108a6 Mon Sep 17 00:00:00 2001 From: jruesga Date: Sat, 27 Oct 2012 03:21:55 +0200 Subject: Delete confirmation dialog box title is wrong (Issue #18) * New dialog title mode (no icons, except were they are needed [welcome and picker]) * Title text without allCaps * New title color * Remove unused drawables --- res/drawable-hdpi/ic_holo_light_compress.png | Bin 820 -> 0 bytes res/drawable-hdpi/ic_holo_light_console.png | Bin 455 -> 0 bytes res/drawable-hdpi/ic_holo_light_edit.png | Bin 1880 -> 0 bytes res/drawable-hdpi/ic_holo_light_error.png | Bin 1416 -> 0 bytes res/drawable-hdpi/ic_holo_light_open.png | Bin 1443 -> 0 bytes res/drawable-hdpi/ic_holo_light_operation.png | Bin 1311 -> 0 bytes res/drawable-hdpi/ic_holo_light_properties.png | Bin 1363 -> 0 bytes res/drawable-hdpi/ic_holo_light_question.png | Bin 662 -> 0 bytes res/drawable-hdpi/ic_holo_light_send.png | Bin 1695 -> 0 bytes res/drawable-hdpi/ic_holo_light_warning.png | Bin 1587 -> 0 bytes res/drawable-mdpi/ic_holo_light_compress.png | Bin 830 -> 0 bytes res/drawable-mdpi/ic_holo_light_console.png | Bin 354 -> 0 bytes res/drawable-mdpi/ic_holo_light_edit.png | Bin 1506 -> 0 bytes res/drawable-mdpi/ic_holo_light_error.png | Bin 1285 -> 0 bytes res/drawable-mdpi/ic_holo_light_open.png | Bin 1307 -> 0 bytes res/drawable-mdpi/ic_holo_light_operation.png | Bin 1018 -> 0 bytes res/drawable-mdpi/ic_holo_light_properties.png | Bin 1254 -> 0 bytes res/drawable-mdpi/ic_holo_light_question.png | Bin 504 -> 0 bytes res/drawable-mdpi/ic_holo_light_send.png | Bin 1394 -> 0 bytes res/drawable-mdpi/ic_holo_light_warning.png | Bin 1359 -> 0 bytes res/drawable-xhdpi/ic_holo_light_compress.png | Bin 1170 -> 0 bytes res/drawable-xhdpi/ic_holo_light_console.png | Bin 539 -> 0 bytes res/drawable-xhdpi/ic_holo_light_edit.png | Bin 2343 -> 0 bytes res/drawable-xhdpi/ic_holo_light_error.png | Bin 1554 -> 0 bytes res/drawable-xhdpi/ic_holo_light_open.png | Bin 1604 -> 0 bytes res/drawable-xhdpi/ic_holo_light_operation.png | Bin 1598 -> 0 bytes res/drawable-xhdpi/ic_holo_light_properties.png | Bin 1414 -> 0 bytes res/drawable-xhdpi/ic_holo_light_question.png | Bin 829 -> 0 bytes res/drawable-xhdpi/ic_holo_light_send.png | Bin 1989 -> 0 bytes res/drawable-xhdpi/ic_holo_light_warning.png | Bin 1792 -> 0 bytes res/drawable/relevance.xml | 33 ------------------- res/layout/dialog_title.xml | 6 ++-- res/values/dimen.xml | 2 ++ res/values/strings.xml | 40 ++++++++++++++---------- res/values/styles.xml | 6 ++++ 35 files changed, 34 insertions(+), 53 deletions(-) delete mode 100644 res/drawable-hdpi/ic_holo_light_compress.png delete mode 100644 res/drawable-hdpi/ic_holo_light_console.png delete mode 100644 res/drawable-hdpi/ic_holo_light_edit.png delete mode 100644 res/drawable-hdpi/ic_holo_light_error.png delete mode 100644 res/drawable-hdpi/ic_holo_light_open.png delete mode 100644 res/drawable-hdpi/ic_holo_light_operation.png delete mode 100644 res/drawable-hdpi/ic_holo_light_properties.png delete mode 100644 res/drawable-hdpi/ic_holo_light_question.png delete mode 100644 res/drawable-hdpi/ic_holo_light_send.png delete mode 100644 res/drawable-hdpi/ic_holo_light_warning.png delete mode 100644 res/drawable-mdpi/ic_holo_light_compress.png delete mode 100644 res/drawable-mdpi/ic_holo_light_console.png delete mode 100644 res/drawable-mdpi/ic_holo_light_edit.png delete mode 100644 res/drawable-mdpi/ic_holo_light_error.png delete mode 100644 res/drawable-mdpi/ic_holo_light_open.png delete mode 100644 res/drawable-mdpi/ic_holo_light_operation.png delete mode 100644 res/drawable-mdpi/ic_holo_light_properties.png delete mode 100644 res/drawable-mdpi/ic_holo_light_question.png delete mode 100644 res/drawable-mdpi/ic_holo_light_send.png delete mode 100644 res/drawable-mdpi/ic_holo_light_warning.png delete mode 100644 res/drawable-xhdpi/ic_holo_light_compress.png delete mode 100644 res/drawable-xhdpi/ic_holo_light_console.png delete mode 100644 res/drawable-xhdpi/ic_holo_light_edit.png delete mode 100644 res/drawable-xhdpi/ic_holo_light_error.png delete mode 100644 res/drawable-xhdpi/ic_holo_light_open.png delete mode 100644 res/drawable-xhdpi/ic_holo_light_operation.png delete mode 100644 res/drawable-xhdpi/ic_holo_light_properties.png delete mode 100644 res/drawable-xhdpi/ic_holo_light_question.png delete mode 100644 res/drawable-xhdpi/ic_holo_light_send.png delete mode 100644 res/drawable-xhdpi/ic_holo_light_warning.png delete mode 100644 res/drawable/relevance.xml (limited to 'res') diff --git a/res/drawable-hdpi/ic_holo_light_compress.png b/res/drawable-hdpi/ic_holo_light_compress.png deleted file mode 100644 index 4f364800..00000000 Binary files a/res/drawable-hdpi/ic_holo_light_compress.png and /dev/null differ diff --git a/res/drawable-hdpi/ic_holo_light_console.png b/res/drawable-hdpi/ic_holo_light_console.png deleted file mode 100644 index 6ff76490..00000000 Binary files a/res/drawable-hdpi/ic_holo_light_console.png and /dev/null differ diff --git a/res/drawable-hdpi/ic_holo_light_edit.png b/res/drawable-hdpi/ic_holo_light_edit.png deleted file mode 100644 index 4a939679..00000000 Binary files a/res/drawable-hdpi/ic_holo_light_edit.png and /dev/null differ diff --git a/res/drawable-hdpi/ic_holo_light_error.png b/res/drawable-hdpi/ic_holo_light_error.png deleted file mode 100644 index 4ae44491..00000000 Binary files a/res/drawable-hdpi/ic_holo_light_error.png and /dev/null differ diff --git a/res/drawable-hdpi/ic_holo_light_open.png b/res/drawable-hdpi/ic_holo_light_open.png deleted file mode 100644 index 3db304fa..00000000 Binary files a/res/drawable-hdpi/ic_holo_light_open.png and /dev/null differ diff --git a/res/drawable-hdpi/ic_holo_light_operation.png b/res/drawable-hdpi/ic_holo_light_operation.png deleted file mode 100644 index 6025e354..00000000 Binary files a/res/drawable-hdpi/ic_holo_light_operation.png and /dev/null differ diff --git a/res/drawable-hdpi/ic_holo_light_properties.png b/res/drawable-hdpi/ic_holo_light_properties.png deleted file mode 100644 index c5f6c97b..00000000 Binary files a/res/drawable-hdpi/ic_holo_light_properties.png and /dev/null differ diff --git a/res/drawable-hdpi/ic_holo_light_question.png b/res/drawable-hdpi/ic_holo_light_question.png deleted file mode 100644 index 8b14f2fd..00000000 Binary files a/res/drawable-hdpi/ic_holo_light_question.png and /dev/null differ diff --git a/res/drawable-hdpi/ic_holo_light_send.png b/res/drawable-hdpi/ic_holo_light_send.png deleted file mode 100644 index 47ae1867..00000000 Binary files a/res/drawable-hdpi/ic_holo_light_send.png and /dev/null differ diff --git a/res/drawable-hdpi/ic_holo_light_warning.png b/res/drawable-hdpi/ic_holo_light_warning.png deleted file mode 100644 index 05012c97..00000000 Binary files a/res/drawable-hdpi/ic_holo_light_warning.png and /dev/null differ diff --git a/res/drawable-mdpi/ic_holo_light_compress.png b/res/drawable-mdpi/ic_holo_light_compress.png deleted file mode 100644 index beb5a0c9..00000000 Binary files a/res/drawable-mdpi/ic_holo_light_compress.png and /dev/null differ diff --git a/res/drawable-mdpi/ic_holo_light_console.png b/res/drawable-mdpi/ic_holo_light_console.png deleted file mode 100644 index 57b4b643..00000000 Binary files a/res/drawable-mdpi/ic_holo_light_console.png and /dev/null differ diff --git a/res/drawable-mdpi/ic_holo_light_edit.png b/res/drawable-mdpi/ic_holo_light_edit.png deleted file mode 100644 index f09b2e4c..00000000 Binary files a/res/drawable-mdpi/ic_holo_light_edit.png and /dev/null differ diff --git a/res/drawable-mdpi/ic_holo_light_error.png b/res/drawable-mdpi/ic_holo_light_error.png deleted file mode 100644 index 097c3bc2..00000000 Binary files a/res/drawable-mdpi/ic_holo_light_error.png and /dev/null differ diff --git a/res/drawable-mdpi/ic_holo_light_open.png b/res/drawable-mdpi/ic_holo_light_open.png deleted file mode 100644 index fda13f1b..00000000 Binary files a/res/drawable-mdpi/ic_holo_light_open.png and /dev/null differ diff --git a/res/drawable-mdpi/ic_holo_light_operation.png b/res/drawable-mdpi/ic_holo_light_operation.png deleted file mode 100644 index 75a1d70e..00000000 Binary files a/res/drawable-mdpi/ic_holo_light_operation.png and /dev/null differ diff --git a/res/drawable-mdpi/ic_holo_light_properties.png b/res/drawable-mdpi/ic_holo_light_properties.png deleted file mode 100644 index ec6a2bf8..00000000 Binary files a/res/drawable-mdpi/ic_holo_light_properties.png and /dev/null differ diff --git a/res/drawable-mdpi/ic_holo_light_question.png b/res/drawable-mdpi/ic_holo_light_question.png deleted file mode 100644 index 0eb104b4..00000000 Binary files a/res/drawable-mdpi/ic_holo_light_question.png and /dev/null differ diff --git a/res/drawable-mdpi/ic_holo_light_send.png b/res/drawable-mdpi/ic_holo_light_send.png deleted file mode 100644 index 8aa52bc7..00000000 Binary files a/res/drawable-mdpi/ic_holo_light_send.png and /dev/null differ diff --git a/res/drawable-mdpi/ic_holo_light_warning.png b/res/drawable-mdpi/ic_holo_light_warning.png deleted file mode 100644 index dd647add..00000000 Binary files a/res/drawable-mdpi/ic_holo_light_warning.png and /dev/null differ diff --git a/res/drawable-xhdpi/ic_holo_light_compress.png b/res/drawable-xhdpi/ic_holo_light_compress.png deleted file mode 100644 index 4337c656..00000000 Binary files a/res/drawable-xhdpi/ic_holo_light_compress.png and /dev/null differ diff --git a/res/drawable-xhdpi/ic_holo_light_console.png b/res/drawable-xhdpi/ic_holo_light_console.png deleted file mode 100644 index f84bb91e..00000000 Binary files a/res/drawable-xhdpi/ic_holo_light_console.png and /dev/null differ diff --git a/res/drawable-xhdpi/ic_holo_light_edit.png b/res/drawable-xhdpi/ic_holo_light_edit.png deleted file mode 100644 index 1ead8fc3..00000000 Binary files a/res/drawable-xhdpi/ic_holo_light_edit.png and /dev/null differ diff --git a/res/drawable-xhdpi/ic_holo_light_error.png b/res/drawable-xhdpi/ic_holo_light_error.png deleted file mode 100644 index 3baea558..00000000 Binary files a/res/drawable-xhdpi/ic_holo_light_error.png and /dev/null differ diff --git a/res/drawable-xhdpi/ic_holo_light_open.png b/res/drawable-xhdpi/ic_holo_light_open.png deleted file mode 100644 index d1324014..00000000 Binary files a/res/drawable-xhdpi/ic_holo_light_open.png and /dev/null differ diff --git a/res/drawable-xhdpi/ic_holo_light_operation.png b/res/drawable-xhdpi/ic_holo_light_operation.png deleted file mode 100644 index 49176069..00000000 Binary files a/res/drawable-xhdpi/ic_holo_light_operation.png and /dev/null differ diff --git a/res/drawable-xhdpi/ic_holo_light_properties.png b/res/drawable-xhdpi/ic_holo_light_properties.png deleted file mode 100644 index a0a156a9..00000000 Binary files a/res/drawable-xhdpi/ic_holo_light_properties.png and /dev/null differ diff --git a/res/drawable-xhdpi/ic_holo_light_question.png b/res/drawable-xhdpi/ic_holo_light_question.png deleted file mode 100644 index 3f1d53c4..00000000 Binary files a/res/drawable-xhdpi/ic_holo_light_question.png and /dev/null differ diff --git a/res/drawable-xhdpi/ic_holo_light_send.png b/res/drawable-xhdpi/ic_holo_light_send.png deleted file mode 100644 index cdafd8ab..00000000 Binary files a/res/drawable-xhdpi/ic_holo_light_send.png and /dev/null differ diff --git a/res/drawable-xhdpi/ic_holo_light_warning.png b/res/drawable-xhdpi/ic_holo_light_warning.png deleted file mode 100644 index 7e8f1ee2..00000000 Binary files a/res/drawable-xhdpi/ic_holo_light_warning.png and /dev/null differ diff --git a/res/drawable/relevance.xml b/res/drawable/relevance.xml deleted file mode 100644 index 15a54a53..00000000 --- a/res/drawable/relevance.xml +++ /dev/null @@ -1,33 +0,0 @@ - - - - - - - - - - - \ No newline at end of file diff --git a/res/layout/dialog_title.xml b/res/layout/dialog_title.xml index c676f9b8..58bb9b16 100644 --- a/res/layout/dialog_title.xml +++ b/res/layout/dialog_title.xml @@ -23,7 +23,6 @@ android:layout_height="@dimen/smallest_row_height" android:layout_gravity="center_vertical" android:layout_marginLeft="@dimen/extra_margin" - android:layout_marginRight="@dimen/default_margin" android:contentDescription="@null" android:height="@dimen/smallest_row_height" android:width="@dimen/smallest_row_height" @@ -33,10 +32,9 @@ android:id="@+id/dialog_title_text" android:layout_width="match_parent" android:layout_height="@dimen/default_row_height" - android:layout_marginLeft="@dimen/default_margin" + android:layout_marginLeft="@dimen/extra_margin" android:layout_marginRight="@dimen/extra_margin" android:gravity="left|center_vertical" - android:textAllCaps="true" - android:textAppearance="@style/primary_text_appearance" /> + android:textAppearance="@style/dialog_title_text_appearance" /> \ No newline at end of file diff --git a/res/values/dimen.xml b/res/values/dimen.xml index 0796c483..118c6db8 100644 --- a/res/values/dimen.xml +++ b/res/values/dimen.xml @@ -21,6 +21,8 @@ 14sp 12sp + + 16sp 9sp diff --git a/res/values/strings.xml b/res/values/strings.xml index c757135c..e9649cd8 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -50,11 +50,6 @@ Search: %1$s - - Warning - Error - Question - Loading … @@ -66,8 +61,17 @@ Error. - - + + Warning + + Error detected + + Confirm operation + + + Confirm switch + + The application is unable to gain privileges. The only way to run the app is to switch to non-privileged mode.\n\nApply this change? @@ -78,8 +82,6 @@ privileged is allocated --> The application is unable to gain privileges. \nChanging to non-privileged mode. - - Changing to the new type of access mode failed. The setting could not be applied or stored. @@ -199,7 +201,9 @@ Show symlinks - + + No information + There is no information available for the file system. @@ -329,6 +333,8 @@ %2$s Terms:]]> %1$s + + Confirm search Some of the search terms has a small number characters. The operation could be very costly in time and system resources.\n\nDo you want to continue? @@ -350,8 +356,10 @@ File not found. The file is too big to be open inside this device. - - There are unsaved changes.\n\nExit without saving? + + Confirm exit + + There are unsaved changes.\n\nExit without saving? The file was successfully saved. @@ -495,8 +503,8 @@ Open parent - - + + This action cannot be undone. Do you want to continue? @@ -518,11 +526,11 @@ Remember selection Open with - + Open Send with - + Send diff --git a/res/values/styles.xml b/res/values/styles.xml index 503e9e65..26c49f3c 100644 --- a/res/values/styles.xml +++ b/res/values/styles.xml @@ -60,6 +60,12 @@ @color/console_fg normal + +