mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-01-02 12:37:39 +00:00
More fun with themes
This commit is contained in:
parent
2052149dc1
commit
6692b618ea
@ -24,7 +24,6 @@ import android.view.View;
|
||||
|
||||
import com.topjohnwu.magisk.utils.Logger;
|
||||
import com.topjohnwu.magisk.utils.Shell;
|
||||
import com.topjohnwu.magisk.utils.Utils;
|
||||
|
||||
import butterknife.BindView;
|
||||
import butterknife.ButterKnife;
|
||||
|
@ -30,7 +30,6 @@
|
||||
android:layout_height="match_parent"
|
||||
android:layout_gravity="start"
|
||||
android:fitsSystemWindows="true"
|
||||
style="?attr/navStyle"
|
||||
app:menu="@menu/drawer"/>
|
||||
|
||||
</android.support.v4.widget.DrawerLayout>
|
||||
|
@ -16,14 +16,14 @@
|
||||
<color name="dh_primary">#3F51B5</color>
|
||||
<color name="dh_primary_dark">#303F9F</color>
|
||||
<color name="dh_primary_light">#C5CAE9</color>
|
||||
<color name="dh_accent">#03A9F4</color>
|
||||
<color name="dh_accent">#9C6DFF</color>
|
||||
|
||||
<color name="dh_primary_text">#dedede</color>
|
||||
<color name="dh_secondary_text">#8A8A8A</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_alertOk">@color/dh_accent</color>
|
||||
<color name="dh_alertNeutral">#2196F3</color>
|
||||
<color name="dh_alertFail">#FF5722</color>
|
||||
|
||||
|
@ -41,10 +41,13 @@
|
||||
<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="colorControlNormal">@color/dh_primary_text</item>
|
||||
<item name="colorControlActivated">@color/dh_accent</item>
|
||||
<item name="colorControlHighlight">@color/dh_icons</item>
|
||||
<item name="ColorOK">@color/dh_alertOk</item>
|
||||
<item name="ColorWarn">@color/dh_alertWarn</item>
|
||||
<item name="ColorFail">@color/dh_alertFail</item>
|
||||
<item name="ColorNeutral">@color/grey500</item>
|
||||
<item name="ColorNeutral">@color/dh_alertWarn</item>
|
||||
|
||||
|
||||
</style>
|
||||
@ -106,6 +109,23 @@
|
||||
<item name="android:centerMedium">@android:color/transparent</item>
|
||||
</style>
|
||||
|
||||
<style name="ListViewStyle.dh" parent="android:Widget.Material.PopupMenu">
|
||||
<item name="android:divider">@color/dh_divider</item>
|
||||
<item name="android:dividerHeight">1dp</item>
|
||||
<item name="android:listSelector">@android:color/background_dark</item>
|
||||
<item name="android:drawSelectorOnTop">true</item>
|
||||
<item name="android:cacheColorHint">@color/dh_divider</item>
|
||||
<item name="android:foregroundTint">@color/dh_primary_text</item>
|
||||
</style>
|
||||
|
||||
<style name="TransparentListView" parent="@android:style/Widget.ListView">
|
||||
<item name="android:cacheColorHint">@android:color/transparent</item>
|
||||
<item name="android:background">#FFFF00</item>
|
||||
<item name="android:listSelector">@android:color/transparent</item>
|
||||
<item name="android:divider">#F78181</item>
|
||||
<item name="android:dividerHeight">3dp</item>
|
||||
</style>
|
||||
|
||||
<style name="MyTitleTextStyle">
|
||||
<item name="android:textColor">@color/dh_primary_text</item>
|
||||
<item name="android:textAppearance">@style/TextAppearance.AppCompat.Title</item>
|
||||
|
Loading…
x
Reference in New Issue
Block a user