OSDN Git Service

CMFileManager: change dialog buttons to use dialog_text_color theme
authorRaj Yengisetty <rajesh@cyngn.com>
Fri, 10 Apr 2015 21:11:36 +0000 (14:11 -0700)
committerJorge Ruesga <jorge@ruesga.com>
Fri, 10 Apr 2015 22:24:46 +0000 (22:24 +0000)
Also remove themed button background for dialog buttons, causes the
dialog buttons to appear too close to each other.

Change-Id: I7059ad3da2b958aeca63d451fbd4cb1a26e792a4
(cherry picked from commit 1ac66923d6169e31eaccc148563f7116de894567)

src/com/cyanogenmod/filemanager/ui/ThemeManager.java

index 053a63b..172881b 100644 (file)
@@ -636,8 +636,7 @@ public final class ThemeManager {
          */
         private void applyButtonStyle(Context ctx, Button button) {
             if (button != null) {
-                setBackgroundDrawable(ctx, button, "selectors_button_drawable"); //$NON-NLS-1$
-                setTextColor(ctx, button, "text_color"); //$NON-NLS-1$
+                setTextColor(ctx, button, "dialog_text_color"); //$NON-NLS-1$
             }
         }