diff options
| author | Raj Yengisetty <rajesh@cyngn.com> | 2015-03-31 09:49:39 -0700 |
|---|---|---|
| committer | Rajesh Yengisetty <rajesh@cyngn.com> | 2015-03-31 20:43:29 +0000 |
| commit | bfd2ad6ad5937aede7dcd1df31b88caa59cb78b9 (patch) | |
| tree | 23a8d81153e057f255731040e077dfeb6104f541 | |
| parent | af634726cc06ac4947a35368d305ce3e187388d4 (diff) | |
| download | android_packages_apps_CMFileManager-bfd2ad6ad5937aede7dcd1df31b88caa59cb78b9.tar.gz android_packages_apps_CMFileManager-bfd2ad6ad5937aede7dcd1df31b88caa59cb78b9.tar.bz2 android_packages_apps_CMFileManager-bfd2ad6ad5937aede7dcd1df31b88caa59cb78b9.zip | |
CMFileManager: change warning drawables used in dialogs for visibility
Change-Id: I5256322a460f8fab268a6f36022aece2bdabd677
5 files changed, 9 insertions, 5 deletions
diff --git a/src/com/cyanogenmod/filemanager/console/secure/SecureStorageKeyPromptDialog.java b/src/com/cyanogenmod/filemanager/console/secure/SecureStorageKeyPromptDialog.java index 2db530c4..257e95a7 100644 --- a/src/com/cyanogenmod/filemanager/console/secure/SecureStorageKeyPromptDialog.java +++ b/src/com/cyanogenmod/filemanager/console/secure/SecureStorageKeyPromptDialog.java @@ -276,7 +276,7 @@ public class SecureStorageKeyPromptDialog "text_color"); theme.setTextColor(ctx, mValidationMsg, "text_color"); mValidationMsg.setCompoundDrawablesWithIntrinsicBounds( - theme.getDrawable(ctx, "filesystem_warning_drawable"), //$NON-NLS-1$ + theme.getDrawable(ctx, "filesystem_dialog_warning_drawable"), //$NON-NLS-1$ null, null, null); } } diff --git a/src/com/cyanogenmod/filemanager/ui/dialogs/FilesystemInfoDialog.java b/src/com/cyanogenmod/filemanager/ui/dialogs/FilesystemInfoDialog.java index e5b05f4b..318f69e7 100644 --- a/src/com/cyanogenmod/filemanager/ui/dialogs/FilesystemInfoDialog.java +++ b/src/com/cyanogenmod/filemanager/ui/dialogs/FilesystemInfoDialog.java @@ -527,7 +527,8 @@ public class FilesystemInfoDialog implements OnClickListener, OnCheckedChangeLis v = this.mContentView.findViewById(R.id.filesystem_info_msg); theme.setTextColor(this.mContext, (TextView)v, "text_color"); //$NON-NLS-1$ ((TextView)v).setCompoundDrawablesWithIntrinsicBounds( - theme.getDrawable(this.mContext, "filesystem_warning_drawable"), //$NON-NLS-1$ + theme.getDrawable(this.mContext, + "filesystem_dialog_warning_drawable"), //$NON-NLS-1$ null, null, null); v = this.mContentView.findViewById(R.id.filesystem_info_total_disk_usage_label); diff --git a/src/com/cyanogenmod/filemanager/ui/dialogs/FsoPropertiesDialog.java b/src/com/cyanogenmod/filemanager/ui/dialogs/FsoPropertiesDialog.java index 1ac6d001..4d4b2ad2 100644 --- a/src/com/cyanogenmod/filemanager/ui/dialogs/FsoPropertiesDialog.java +++ b/src/com/cyanogenmod/filemanager/ui/dialogs/FsoPropertiesDialog.java @@ -1268,7 +1268,8 @@ public class FsoPropertiesDialog v = this.mContentView.findViewById(R.id.fso_info_msg); theme.setTextColor(this.mContext, (TextView)v, "text_color"); //$NON-NLS-1$ ((TextView)v).setCompoundDrawablesWithIntrinsicBounds( - theme.getDrawable(this.mContext, "filesystem_warning_drawable"), //$NON-NLS-1$ + theme.getDrawable(this.mContext, + "filesystem_dialog_warning_drawable"), //$NON-NLS-1$ null, null, null); } diff --git a/src/com/cyanogenmod/filemanager/ui/dialogs/InitialDirectoryDialog.java b/src/com/cyanogenmod/filemanager/ui/dialogs/InitialDirectoryDialog.java index 83a8578c..84774481 100644 --- a/src/com/cyanogenmod/filemanager/ui/dialogs/InitialDirectoryDialog.java +++ b/src/com/cyanogenmod/filemanager/ui/dialogs/InitialDirectoryDialog.java @@ -127,7 +127,8 @@ public class InitialDirectoryDialog implements DialogInterface.OnClickListener { theme.setTextColor(context, labelView, "text_color"); //$NON-NLS-1$ theme.setTextColor(context, (TextView)msgView, "text_color"); //$NON-NLS-1$ ((TextView)msgView).setCompoundDrawablesWithIntrinsicBounds( - theme.getDrawable(this.mContext, "filesystem_warning_drawable"), //$NON-NLS-1$ + theme.getDrawable(this.mContext, + "filesystem_dialog_warning_drawable"), //$NON-NLS-1$ null, null, null); this.mAutocomplete.applyTheme(); diff --git a/src/com/cyanogenmod/filemanager/ui/dialogs/InputNameDialog.java b/src/com/cyanogenmod/filemanager/ui/dialogs/InputNameDialog.java index a0aaa0a6..04140501 100644 --- a/src/com/cyanogenmod/filemanager/ui/dialogs/InputNameDialog.java +++ b/src/com/cyanogenmod/filemanager/ui/dialogs/InputNameDialog.java @@ -127,7 +127,8 @@ public class InputNameDialog theme.setTextColor(context, title, "text_color"); //$NON-NLS-1$ theme.setTextColor(context, this.mMsg, "text_color"); //$NON-NLS-1$ this.mMsg.setCompoundDrawablesWithIntrinsicBounds( - theme.getDrawable(this.mContext, "filesystem_warning_drawable"), //$NON-NLS-1$ + theme.getDrawable(this.mContext, + "filesystem_dialog_warning_drawable"), //$NON-NLS-1$ null, null, null); //Create the dialog |
