Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e1913eb1 authored by Raj Yengisetty's avatar Raj Yengisetty Committed by Rajesh Yengisetty
Browse files

CMFileManager: change warning drawables used in dialogs for visibility

Change-Id: I5256322a460f8fab268a6f36022aece2bdabd677
parent a81e287b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);
        }
    }
+2 −1
Original line number Diff line number Diff line
@@ -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);
+2 −1
Original line number Diff line number Diff line
@@ -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);
    }

+2 −1
Original line number Diff line number Diff line
@@ -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();

+2 −1
Original line number Diff line number Diff line
@@ -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