Skip to content

Commit 3bb1c7f

Browse files
Merge pull request #15513 from nextcloud/createNewBackground
Create new dialog: non white background
2 parents 7e9c8cc + 3686edd commit 3bb1c7f

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

app/src/main/java/com/owncloud/android/ui/fragment/OCFileListBottomSheetDialog.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,8 @@ class OCFileListBottomSheetDialog(
7777
colorImageView(menuIconScanDocUpload, ColorRole.PRIMARY)
7878
colorImageView(menuIconMkdir, ColorRole.PRIMARY)
7979
colorImageView(menuIconAddFolderInfo, ColorRole.PRIMARY)
80+
81+
colorViewBackground(binding.bottomSheet, ColorRole.SURFACE)
8082
}
8183
}
8284
}

app/src/main/res/layout/file_list_actions_bottom_sheet_fragment.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,12 @@
88
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
99
xmlns:app="http://schemas.android.com/apk/res-auto"
1010
xmlns:tools="http://schemas.android.com/tools"
11+
style="@style/Widget.Material3.BottomSheet"
1112
android:layout_width="match_parent"
1213
android:layout_height="match_parent"
1314
android:orientation="vertical"
1415
android:paddingBottom="@dimen/standard_half_padding"
16+
android:id="@+id/bottom_sheet"
1517
app:layout_behavior="com.google.android.material.bottomsheet.BottomSheetBehavior">
1618

1719
<com.google.android.material.bottomsheet.BottomSheetDragHandleView

0 commit comments

Comments
 (0)