external/koush/Superuser
Revision | 86dbf4f6f2b30b03de2cf3d7b17007876e252c29 (tree) |
---|---|
Time | 2014-11-27 10:14:51 |
Author | Ricardo Cerqueira <ricardo@cyng...> |
Commiter | Ricardo Cerqueira |
Invert theme
Use light theme as a stopgap readibility fix until this gets a
Material overhaul
Change-Id: I5f77d96daee34700d3cea7bd4e07728fdc3ca2d2
@@ -33,7 +33,7 @@ public class LogNativeFragment extends NativeFragment<LogFragmentInternal> { | ||
33 | 33 | public Context getContext() { |
34 | 34 | if (mWrapper != null) |
35 | 35 | return mWrapper; |
36 | - mWrapper = new ContextThemeWrapper(super.getContext(), R.style.SuperuserDark); | |
36 | + mWrapper = new ContextThemeWrapper(super.getContext(), R.style.SuperuserLight); | |
37 | 37 | return mWrapper; |
38 | 38 | } |
39 | 39 |
@@ -276,7 +276,6 @@ public class MainActivity extends BetterListActivity { | ||
276 | 276 | |
277 | 277 | @Override |
278 | 278 | protected void onCreate(Bundle savedInstanceState) { |
279 | - Settings.applyDarkThemeSetting(this, R.style.SuperuserDarkActivity); | |
280 | 279 | super.onCreate(savedInstanceState); |
281 | 280 | |
282 | 281 | if (Settings.getBoolean(this, "first_run", true)) { |
@@ -34,7 +34,7 @@ public class PolicyNativeFragment extends NativeFragment<PolicyFragmentInternal> | ||
34 | 34 | public Context getContext() { |
35 | 35 | if (mWrapper != null) |
36 | 36 | return mWrapper; |
37 | - mWrapper = new ContextThemeWrapper(super.getContext(), R.style.SuperuserDark_LargeIcon); | |
37 | + mWrapper = new ContextThemeWrapper(super.getContext(), R.style.Superuser_LargeIcon); | |
38 | 38 | return mWrapper; |
39 | 39 | } |
40 | 40 |
@@ -31,7 +31,7 @@ public class SettingsNativeFragment extends NativeFragment<SettingsFragmentInter | ||
31 | 31 | public Context getContext(Context ctx) { |
32 | 32 | if (mWrapper != null) |
33 | 33 | return mWrapper; |
34 | - mWrapper = new ContextThemeWrapper(ctx, R.style.SuperuserDark); | |
34 | + mWrapper = new ContextThemeWrapper(ctx, R.style.SuperuserLight); | |
35 | 35 | return mWrapper; |
36 | 36 | } |
37 | 37 |