fedilab-Android-App/app/src/main/res/values/styles.xml

104 lines
4.2 KiB
XML
Raw Normal View History

2017-05-05 16:36:04 +02:00
<resources>
2017-06-30 17:09:07 +02:00
<attr format="reference" name="cardStyle"/>
<attr format="reference" name="appBarLayout"/>
<attr format="reference" name="headerbg"/>
<attr format="reference" name="shapeBorder"/>
<attr format="reference" name="imgbd"/>
<attr format="reference" name="splash"/>
<attr format="reference" name="popupOverlay"/>
<attr format="reference" name="appBarOverlay"/>
2017-05-05 16:36:04 +02:00
2017-06-30 17:09:07 +02:00
<!-- Light theme -->
2017-05-05 16:36:04 +02:00
<style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar">
<!-- Customize your theme here. -->
<item name="colorPrimary">@color/colorPrimary</item>
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
<item name="colorAccent">@color/colorAccent</item>
2017-06-30 17:09:07 +02:00
<item name="cardStyle">@style/CardView.Light</item>
<item name="headerbg">@style/Header.Light</item>
<item name="shapeBorder">@style/Shape.Light</item>
<item name="imgbd">@style/Image.Border.Light</item>
<item name="popupOverlay">@style/AppTheme.PopupOverlay</item>
2017-05-05 16:36:04 +02:00
</style>
2017-06-30 17:09:07 +02:00
<style name="AppTheme_NoActionBar" parent="Theme.AppCompat.Light.NoActionBar">
<item name="colorPrimary">@color/colorPrimary</item>
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
<item name="colorAccent">@color/colorAccent</item>
<item name="cardStyle">@style/CardView.Light</item>
<item name="headerbg">@style/Header.Light</item>
<item name="shapeBorder">@style/Shape.Light</item>
<item name="imgbd">@style/Image.Border.Light</item>
<item name="windowActionBar">false</item>
2017-07-24 14:25:32 +02:00
<item name="windowActionModeOverlay">true</item>
2017-06-30 17:09:07 +02:00
<item name="popupOverlay">@style/AppTheme.PopupOverlay</item>
</style>
2017-05-05 16:36:04 +02:00
2017-06-30 17:09:07 +02:00
<!-- Dark theme -->
<style name="AppThemeDark" parent="Theme.AppCompat">
<item name="cardStyle">@style/CardView.Dark</item>
<item name="headerbg">@style/Header.Dark</item>
<item name="shapeBorder">@style/Shape.Dark</item>
<item name="imgbd">@style/Image.Border.Dark</item>
<item name="popupOverlay">@style/AppThemeDark.PopupOverlay</item>
</style>
<style name="AppThemeDark_NoActionBar" parent="Theme.AppCompat.NoActionBar">
<item name="cardStyle">@style/CardView.Dark</item>
<item name="headerbg">@style/Header.Dark</item>
<item name="shapeBorder">@style/Shape.Dark</item>
<item name="imgbd">@style/Image.Border.Dark</item>
2017-07-24 14:25:32 +02:00
<item name="windowActionModeOverlay">true</item>
2017-06-30 17:09:07 +02:00
<item name="popupOverlay">@style/AppThemeDark.PopupOverlay</item>
2017-05-05 16:36:04 +02:00
<item name="windowActionBar">false</item>
</style>
<style name="AppTheme.AppBarOverlay" parent="ThemeOverlay.AppCompat.Dark.ActionBar" />
2017-06-30 17:09:07 +02:00
<style name="AppThemeDark.PopupOverlay" parent="ThemeOverlay.AppCompat.Dark">
</style>
2017-05-05 16:36:04 +02:00
<style name="AppTheme.PopupOverlay" parent="ThemeOverlay.AppCompat.Light" />
2017-06-30 17:09:07 +02:00
2017-05-05 16:36:04 +02:00
<style name="SplashTheme" parent="Theme.AppCompat.NoActionBar">
<item name="android:windowBackground">@drawable/background_splash</item>
</style>
2017-06-30 17:09:07 +02:00
<style name="Image.Border.Dark" parent="AppThemeDark">
<item name="android:background">@drawable/imageview_border_dark</item>
</style>
<style name="Image.Border.Light" parent="AppTheme">
<item name="android:background">@drawable/imageview_border</item>
</style>
<style name="Header.Dark" parent="AppThemeDark">
<item name="android:background">@drawable/side_nav_bar_dark</item>
</style>
<style name="Header.Light" parent="AppTheme">
<item name="android:background">@drawable/side_nav_bar</item>
</style>
<style name="Shape.Dark" parent="AppThemeDark">
<item name="android:background">@drawable/shape_border_bottom_settings_dark</item>
</style>
<style name="Shape.Light" parent="AppTheme">
<item name="android:background">@drawable/shape_border_bottom_settings</item>
</style>
<style name="CardViewStyle.Dark" parent="CardView">
<item name="cardBackgroundColor">@color/cardview_dark_background</item>
</style>
<style name="CardViewStyle.Light" parent="CardView">
<item name="cardBackgroundColor">@color/cardview_light_background</item>
</style>
2017-05-05 16:36:04 +02:00
</resources>