summaryrefslogtreecommitdiff
path: root/app/src/main/res
diff options
context:
space:
mode:
authorByteHamster <ByteHamster@users.noreply.github.com>2021-07-24 17:47:09 +0200
committerGitHub <noreply@github.com>2021-07-24 17:47:09 +0200
commitdbac6cae4666f89e3ccb8ecbc2f1c5b06e381fa5 (patch)
tree092f2d6672d47631ddb1e84beca43cace03ae433 /app/src/main/res
parent210e32666824dc663100ff7f3999e0964b2f9d70 (diff)
parente7d9db0404076d7be6b4c8b461e71ee0a2b93f2c (diff)
downloadAntennaPod-dbac6cae4666f89e3ccb8ecbc2f1c5b06e381fa5.zip
Merge pull request #5200 from TacoTheDank/plugin-updates
Update plugins and Gradle
Diffstat (limited to 'app/src/main/res')
-rw-r--r--app/src/main/res/layout-sw720dp/main.xml39
-rw-r--r--app/src/main/res/layout/main.xml39
2 files changed, 41 insertions, 37 deletions
diff --git a/app/src/main/res/layout-sw720dp/main.xml b/app/src/main/res/layout-sw720dp/main.xml
index 79b7213e0..fe5a86d24 100644
--- a/app/src/main/res/layout-sw720dp/main.xml
+++ b/app/src/main/res/layout-sw720dp/main.xml
@@ -1,28 +1,29 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
- xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:tools="http://schemas.android.com/tools"
- xmlns:app="http://schemas.android.com/apk/res-auto"
- android:orientation="horizontal"
- android:layout_width="match_parent"
- android:layout_height="match_parent">
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:app="http://schemas.android.com/apk/res-auto"
+ xmlns:tools="http://schemas.android.com/tools"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:orientation="horizontal"
+ tools:viewBindingIgnore="true">
<FrameLayout
- android:id="@+id/navDrawerFragment"
- android:layout_width="300dp"
- android:layout_height="match_parent"
- android:layout_gravity="start"
- android:orientation="vertical" />
+ android:id="@+id/navDrawerFragment"
+ android:layout_width="300dp"
+ android:layout_height="match_parent"
+ android:layout_gravity="start"
+ android:orientation="vertical" />
<View
- android:layout_width="1dp"
- android:layout_height="match_parent"
- android:background="?android:attr/listDivider" />
+ android:layout_width="1dp"
+ android:layout_height="match_parent"
+ android:background="?android:attr/listDivider" />
<androidx.coordinatorlayout.widget.CoordinatorLayout
- android:id="@+id/overview_coordinator_layout"
- android:layout_width="match_parent"
- android:layout_height="match_parent">
+ android:id="@+id/overview_coordinator_layout"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent">
<FrameLayout
android:id="@+id/main_view"
@@ -33,14 +34,14 @@
tools:background="@android:color/holo_red_dark" />
<FrameLayout
- android:elevation="8dp"
android:id="@+id/audioplayerFragment"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="?android:attr/windowBackground"
+ android:elevation="8dp"
android:visibility="gone"
app:layout_behavior="de.danoeh.antennapod.view.LockableBottomSheetBehavior" />
</androidx.coordinatorlayout.widget.CoordinatorLayout>
-</LinearLayout> \ No newline at end of file
+</LinearLayout>
diff --git a/app/src/main/res/layout/main.xml b/app/src/main/res/layout/main.xml
index 48195a176..10b560faf 100644
--- a/app/src/main/res/layout/main.xml
+++ b/app/src/main/res/layout/main.xml
@@ -1,18 +1,21 @@
<?xml version="1.0" encoding="utf-8"?>
<androidx.drawerlayout.widget.DrawerLayout
- xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:tools="http://schemas.android.com/tools"
- xmlns:app="http://schemas.android.com/apk/res-auto"
- android:id="@+id/drawer_layout"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- tools:ignore="InconsistentLayout">
- <!-- InconsistentLayout: Tablet layout does not have a drawer -->
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:app="http://schemas.android.com/apk/res-auto"
+ xmlns:tools="http://schemas.android.com/tools"
+ android:id="@+id/drawer_layout"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ tools:ignore="InconsistentLayout"
+ tools:viewBindingIgnore="true">
+ <!-- InconsistentLayout: Tablet layout does not have a drawer -->
+ <!-- viewBindingIgnore: Configurations for main.xml must
+ agree on the root element's ID -->
<androidx.coordinatorlayout.widget.CoordinatorLayout
- android:id="@+id/overview_coordinator_layout"
- android:layout_width="match_parent"
- android:layout_height="match_parent">
+ android:id="@+id/overview_coordinator_layout"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent">
<FrameLayout
android:id="@+id/main_view"
@@ -23,21 +26,21 @@
tools:background="@android:color/holo_red_dark" />
<FrameLayout
- android:elevation="8dp"
android:id="@+id/audioplayerFragment"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="?android:attr/windowBackground"
+ android:elevation="8dp"
android:visibility="gone"
app:layout_behavior="de.danoeh.antennapod.view.LockableBottomSheetBehavior" />
</androidx.coordinatorlayout.widget.CoordinatorLayout>
<FrameLayout
- android:id="@+id/navDrawerFragment"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_gravity="start"
- android:orientation="vertical" />
+ android:id="@+id/navDrawerFragment"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:layout_gravity="start"
+ android:orientation="vertical" />
-</androidx.drawerlayout.widget.DrawerLayout> \ No newline at end of file
+</androidx.drawerlayout.widget.DrawerLayout>