mirror of
https://github.com/KokaKiwi/BarInsta
synced 2026-03-05 12:01:35 +00:00
Add AMOLED dark theme
This commit is contained in:
parent
f10fe0840b
commit
c1b113e275
17 changed files with 107 additions and 45 deletions
|
|
@ -31,4 +31,7 @@
|
|||
<color name="feed_text_primary_color">@color/text_color_light</color>
|
||||
|
||||
<color name="dm_profile_button_color">#efefef</color>
|
||||
|
||||
<!-- Amoled Colors -->
|
||||
<color name="background_amoled">#000000</color>
|
||||
</resources>
|
||||
|
|
@ -211,4 +211,5 @@
|
|||
<string name="updated">Thank you for updating InstaGrabber!</string>
|
||||
<string name="crash_title">App crashed</string>
|
||||
<string name="crash_descr">Oops.. the app crashed, but don\'t worry you can send error report to the developer to help him fix the issue. (:</string>
|
||||
<string name="use_amoled_dark_theme">Use AMOLED mode for Dark theme</string>
|
||||
</resources>
|
||||
|
|
|
|||
10
app/src/main/res/values/themes.xml
Normal file
10
app/src/main/res/values/themes.xml
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<style name="Theme.Amoled" parent="Theme.AppCompat.NoActionBar">
|
||||
<item name="android:colorBackground">@color/background_amoled</item>
|
||||
<item name="bottomSheetDialogTheme">@style/AppTheme.BottomSheetDialog.Dark</item>
|
||||
<item name="android:windowAnimationStyle">@style/AppTheme.WindowAnimationTransition</item>
|
||||
</style>
|
||||
|
||||
<style name="AppTheme.BottomSheetDialog.Dark" parent="Theme.MaterialComponents.BottomSheetDialog"/>
|
||||
</resources>
|
||||
Loading…
Add table
Add a link
Reference in a new issue