Browse Source

Merge pull request #9469 from nextcloud/darkModeBackgronud

Explicitly set background for fragments
Álvaro Brey 3 years ago
parent
commit
b38905fff7

+ 1 - 0
src/main/res/layout/file_details_sharing_menu_bottom_sheet_fragment.xml

@@ -25,6 +25,7 @@
     android:layout_width="match_parent"
     android:layout_width="match_parent"
     android:layout_height="wrap_content"
     android:layout_height="wrap_content"
     android:orientation="vertical"
     android:orientation="vertical"
+    android:background="@color/bg_default"
     android:paddingTop="@dimen/standard_padding">
     android:paddingTop="@dimen/standard_padding">
 
 
     <LinearLayout
     <LinearLayout

+ 2 - 1
src/main/res/layout/send_share_fragment.xml

@@ -22,7 +22,8 @@
 <androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
 <androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
     xmlns:tools="http://schemas.android.com/tools"
     xmlns:tools="http://schemas.android.com/tools"
     android:layout_width="match_parent"
     android:layout_width="match_parent"
-    android:layout_height="match_parent">
+    android:layout_height="match_parent"
+    android:background="@color/bg_default">
 
 
     <RelativeLayout
     <RelativeLayout
         android:layout_width="match_parent"
         android:layout_width="match_parent"