Moar work on dark theme
This commit is contained in:
parent
7b8237afae
commit
2052149dc1
@ -60,6 +60,8 @@ public class LogFragment extends Fragment {
|
||||
public void onResume() {
|
||||
super.onResume();
|
||||
getActivity().setTitle("Log");
|
||||
setHasOptionsMenu(true);
|
||||
reloadErrorLog();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -20,11 +20,12 @@
|
||||
|
||||
<color name="dh_primary_text">#dedede</color>
|
||||
<color name="dh_secondary_text">#8A8A8A</color>
|
||||
<color name="dh_icons">#000000</color>
|
||||
<color name="dh_divider">#424242</color>
|
||||
<color name="dh_icons">#dedede</color>
|
||||
<color name="dh_divider">#313131</color>
|
||||
<color name="dh_alertWarn">#FF9800</color>
|
||||
<color name="dh_alertOk">#2196F3</color>
|
||||
<color name="dh_alertNeutral">#2196F3</color>
|
||||
<color name="dh_alertFail">#FF5722</color>
|
||||
|
||||
|
||||
</resources>
|
||||
|
@ -40,6 +40,7 @@
|
||||
<item name="android:textColorSecondary">@color/dh_primary_text</item>
|
||||
<item name="android:alertDialogTheme">@style/AlertDialog.dh</item>
|
||||
<item name="android:dialogTheme">@style/AlertDialog.dh</item>
|
||||
<item name="android:actionOverflowButtonStyle">@style/OverFlow</item>
|
||||
<item name="ColorOK">@color/dh_alertOk</item>
|
||||
<item name="ColorWarn">@color/dh_alertWarn</item>
|
||||
<item name="ColorFail">@color/dh_alertFail</item>
|
||||
@ -48,6 +49,11 @@
|
||||
|
||||
</style>
|
||||
|
||||
<style name="OverFlow" parent="@android:style/Widget.ActionBar">
|
||||
<item name="android:backgroundTint">@color/dh_icons</item>
|
||||
</style>
|
||||
|
||||
|
||||
<style name="AppTheme.Toolbar.dh" parent="ThemeOverlay.AppCompat.Dark">
|
||||
<item name="colorPrimary">@color/dh_primary</item>
|
||||
<item name="android:elevation">4dp</item>
|
||||
@ -66,7 +72,7 @@
|
||||
<item name="android:textColorSecondary">@color/dh_primary_text</item>
|
||||
<item name="colorAccent">@color/dh_accent</item>
|
||||
<item name="android:textColorPrimary">@color/dh_primary_text</item>
|
||||
<item name="android:background">@android:color/background_dark</item>
|
||||
<item name="android:background">@color/dh_divider</item>
|
||||
<item name="android:textColorAlertDialogListItem">@color/dh_primary_text</item>
|
||||
<item name="android:windowContentOverlay">@null</item>
|
||||
<item name="android:windowIsFloating">true</item>
|
||||
|
Loading…
Reference in New Issue
Block a user