• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

external/koush/Superuser


Commit MetaInfo

Revision86dbf4f6f2b30b03de2cf3d7b17007876e252c29 (tree)
Time2014-11-27 10:14:51
AuthorRicardo Cerqueira <ricardo@cyng...>
CommiterRicardo Cerqueira

Log Message

Invert theme

Use light theme as a stopgap readibility fix until this gets a
Material overhaul

Change-Id: I5f77d96daee34700d3cea7bd4e07728fdc3ca2d2

Change Summary

Incremental Difference

Binary files a/Superuser/res/drawable-hdpi/ic_action_permission.png and b/Superuser/res/drawable-hdpi/ic_action_permission.png differ
Binary files a/Superuser/res/drawable-mdpi/ic_action_permission.png and b/Superuser/res/drawable-mdpi/ic_action_permission.png differ
Binary files a/Superuser/res/drawable-xhdpi/ic_action_permission.png and b/Superuser/res/drawable-xhdpi/ic_action_permission.png differ
--- a/Superuser/src/com/koushikdutta/superuser/LogNativeFragment.java
+++ b/Superuser/src/com/koushikdutta/superuser/LogNativeFragment.java
@@ -33,7 +33,7 @@ public class LogNativeFragment extends NativeFragment<LogFragmentInternal> {
3333 public Context getContext() {
3434 if (mWrapper != null)
3535 return mWrapper;
36- mWrapper = new ContextThemeWrapper(super.getContext(), R.style.SuperuserDark);
36+ mWrapper = new ContextThemeWrapper(super.getContext(), R.style.SuperuserLight);
3737 return mWrapper;
3838 }
3939
--- a/Superuser/src/com/koushikdutta/superuser/MainActivity.java
+++ b/Superuser/src/com/koushikdutta/superuser/MainActivity.java
@@ -276,7 +276,6 @@ public class MainActivity extends BetterListActivity {
276276
277277 @Override
278278 protected void onCreate(Bundle savedInstanceState) {
279- Settings.applyDarkThemeSetting(this, R.style.SuperuserDarkActivity);
280279 super.onCreate(savedInstanceState);
281280
282281 if (Settings.getBoolean(this, "first_run", true)) {
--- a/Superuser/src/com/koushikdutta/superuser/PolicyNativeFragment.java
+++ b/Superuser/src/com/koushikdutta/superuser/PolicyNativeFragment.java
@@ -34,7 +34,7 @@ public class PolicyNativeFragment extends NativeFragment<PolicyFragmentInternal>
3434 public Context getContext() {
3535 if (mWrapper != null)
3636 return mWrapper;
37- mWrapper = new ContextThemeWrapper(super.getContext(), R.style.SuperuserDark_LargeIcon);
37+ mWrapper = new ContextThemeWrapper(super.getContext(), R.style.Superuser_LargeIcon);
3838 return mWrapper;
3939 }
4040
--- a/Superuser/src/com/koushikdutta/superuser/SettingsNativeFragment.java
+++ b/Superuser/src/com/koushikdutta/superuser/SettingsNativeFragment.java
@@ -31,7 +31,7 @@ public class SettingsNativeFragment extends NativeFragment<SettingsFragmentInter
3131 public Context getContext(Context ctx) {
3232 if (mWrapper != null)
3333 return mWrapper;
34- mWrapper = new ContextThemeWrapper(ctx, R.style.SuperuserDark);
34+ mWrapper = new ContextThemeWrapper(ctx, R.style.SuperuserLight);
3535 return mWrapper;
3636 }
3737