diff options
Diffstat (limited to 'org.fox.ttrss/src/main/res')
| -rw-r--r-- | org.fox.ttrss/src/main/res/layout-sw600dp-land/activity_master.xml | 7 | ||||
| -rw-r--r-- | org.fox.ttrss/src/main/res/values/style.xml | 8 |
2 files changed, 11 insertions, 4 deletions
diff --git a/org.fox.ttrss/src/main/res/layout-sw600dp-land/activity_master.xml b/org.fox.ttrss/src/main/res/layout-sw600dp-land/activity_master.xml index eb2d9c91..2987bab3 100644 --- a/org.fox.ttrss/src/main/res/layout-sw600dp-land/activity_master.xml +++ b/org.fox.ttrss/src/main/res/layout-sw600dp-land/activity_master.xml @@ -5,9 +5,9 @@ xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:android="http://schemas.android.com/apk/res/android"> - <LinearLayout android:id="@+id/fragment_container" + android:background="?colorSurfaceContainer" android:layout_width="fill_parent" android:layout_height="fill_parent" android:baselineAligned="false" @@ -24,14 +24,13 @@ xmlns:app="http://schemas.android.com/apk/res-auto" android:id="@+id/navigation_view" android:layout_width="300dp" + app:shapeAppearance="@style/ShapeAppearanceFeedsTablet" android:layout_height="match_parent" - android:layout_gravity="start" - app:elevation="8dp"> + android:layout_gravity="start"> <FrameLayout android:id="@+id/feeds_fragment" android:layout_width="match_parent" - android:background="?colorSurfaceContainer" android:layout_height="match_parent" > </FrameLayout> diff --git a/org.fox.ttrss/src/main/res/values/style.xml b/org.fox.ttrss/src/main/res/values/style.xml index 0b43f1d9..2b44ac4b 100644 --- a/org.fox.ttrss/src/main/res/values/style.xml +++ b/org.fox.ttrss/src/main/res/values/style.xml @@ -7,6 +7,14 @@ <item name="cornerSizeBottomRight">16dp</item> </style> + <style name="ShapeAppearanceFeedsTablet"> + <item name="cornerFamily">rounded</item> + <item name="cornerSizeTopLeft">0dp</item> + <item name="cornerSizeTopRight">16dp</item> + <item name="cornerSizeBottomLeft">0dp</item> + <item name="cornerSizeBottomRight">16dp</item> + </style> + <!-- https://stackoverflow.com/a/73782598 --> <style name="AppPreferenceThemeOverlay" parent="@style/PreferenceThemeOverlay"> <item name="switchPreferenceCompatStyle">@style/AppSwitchPreference</item> |