show drawer behind translucent statusbar, jesus fuck
This commit is contained in:
parent
e4afee1014
commit
0112c0cc4f
0
org.fox.ttrss/src/main/res/layout-sw600dp-land/headlines.xml
Normal file → Executable file
0
org.fox.ttrss/src/main/res/layout-sw600dp-land/headlines.xml
Normal file → Executable file
1
org.fox.ttrss/src/main/res/layout-sw600dp-port/headlines_articles.xml
Normal file → Executable file
1
org.fox.ttrss/src/main/res/layout-sw600dp-port/headlines_articles.xml
Normal file → Executable file
@ -1,5 +1,6 @@
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@+id/headlines"
|
||||
android:fitsSystemWindows="true"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent">
|
||||
|
||||
|
1
org.fox.ttrss/src/main/res/layout/article_images_pager.xml
Normal file → Executable file
1
org.fox.ttrss/src/main/res/layout/article_images_pager.xml
Normal file → Executable file
@ -1,4 +1,5 @@
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:fitsSystemWindows="true"
|
||||
android:id="@+id/article_images"
|
||||
android:layout_width="fill_parent"
|
||||
android:animateLayoutChanges="true"
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="96dp"
|
||||
android:layout_height="120dp"
|
||||
android:orientation="vertical"
|
||||
android:weightSum="1"
|
||||
android:clickable="false">
|
||||
|
@ -8,6 +8,7 @@
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<FrameLayout
|
||||
android:fitsSystemWindows="true"
|
||||
android:animateLayoutChanges="true"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
1
org.fox.ttrss/src/main/res/layout/headlines_articles.xml
Normal file → Executable file
1
org.fox.ttrss/src/main/res/layout/headlines_articles.xml
Normal file → Executable file
@ -1,5 +1,6 @@
|
||||
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@+id/headlines"
|
||||
android:fitsSystemWindows="true"
|
||||
android:animateLayoutChanges="true"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent">
|
||||
|
2
org.fox.ttrss/src/main/res/layout/preferences.xml
Normal file → Executable file
2
org.fox.ttrss/src/main/res/layout/preferences.xml
Normal file → Executable file
@ -1,11 +1,13 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:fitsSystemWindows="true"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<FrameLayout
|
||||
android:id="@+id/preferences_container"
|
||||
android:background="?android:colorBackground"
|
||||
android:fitsSystemWindows="true"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="502dp"
|
||||
|
11
org.fox.ttrss/src/main/res/values-v21/style.xml
Normal file → Executable file
11
org.fox.ttrss/src/main/res/values-v21/style.xml
Normal file → Executable file
@ -1,5 +1,14 @@
|
||||
<resources xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
|
||||
<style name="LightTheme.Base" parent="Theme.AppCompat.Light.NoActionBar">
|
||||
<item name="android:windowTranslucentStatus">true</item>
|
||||
<item name="android:windowBackground">@color/window_background</item>
|
||||
</style>
|
||||
|
||||
<style name="DarkTheme.Base" parent="Theme.AppCompat.NoActionBar">
|
||||
<item name="android:windowTranslucentStatus">true</item>
|
||||
<item name="android:windowBackground">@color/window_background_dark</item>
|
||||
</style>
|
||||
|
||||
<style name="DarkDialogTheme" parent="android:Theme.Material.Dialog">
|
||||
</style>
|
||||
|
||||
|
6
org.fox.ttrss/src/main/res/values/colors.xml
Executable file
6
org.fox.ttrss/src/main/res/values/colors.xml
Executable file
@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<item name="window_background" type="color">#526A8E</item>
|
||||
<item name="window_background_dark" type="color">#455A64</item>
|
||||
|
||||
</resources>
|
@ -1,6 +1,10 @@
|
||||
<resources xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
|
||||
<style name="LightTheme" parent="Theme.AppCompat.Light.NoActionBar">
|
||||
<style name="LightTheme.Base" parent="Theme.AppCompat.Light.NoActionBar">
|
||||
|
||||
</style>
|
||||
|
||||
<style name="LightTheme" parent="LightTheme.Base">
|
||||
<item name="windowActionModeOverlay">true</item>
|
||||
|
||||
<item name="statusBarHintColor">?colorPrimary</item>
|
||||
@ -48,7 +52,11 @@
|
||||
<item name="ic_filter_variant">@drawable/ic_filter_variant_dark</item>
|
||||
</style>
|
||||
|
||||
<style name="DarkTheme" parent="Theme.AppCompat.NoActionBar">
|
||||
<style name="DarkTheme.Base" parent="Theme.AppCompat.NoActionBar">
|
||||
|
||||
</style>
|
||||
|
||||
<style name="DarkTheme" parent="DarkTheme.Base">
|
||||
<item name="windowActionModeOverlay">true</item>
|
||||
|
||||
<item name="statusBarHintColor">?colorPrimary</item>
|
||||
|
Loading…
Reference in New Issue
Block a user