File tree Expand file tree Collapse file tree
java/com/owncloud/android/ui/fragment Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -290,9 +290,24 @@ class OCFileListBottomSheetDialog(
290290 icon = creatorAction.icon
291291 this .iconSize = iconSize
292292 this .iconPadding = if (showAsBox) 0 else standardPadding
293+ if (showAsBox) {
294+ this .setPadding(
295+ paddingLeft,
296+ paddingTop + standardPadding,
297+ paddingRight,
298+ paddingBottom + standardPadding
299+ )
300+ }
293301 iconGravity = if (showAsBox) MaterialButton .ICON_GRAVITY_TOP else MaterialButton .ICON_GRAVITY_START
294302 iconTint = null
295303
304+ cornerRadius =
305+ if (showAsBox) {
306+ context.resources.getDimensionPixelSize(R .dimen.button_corner_radius)
307+ } else {
308+ cornerRadius
309+ }
310+
296311 setOnClickListener {
297312 creatorAction.action()
298313 }
Original file line number Diff line number Diff line change 1616 <dimen name =" list_item_avatar_icon_radius" >20dp</dimen >
1717 <dimen name =" bottom_sheet_text_start_margin" >40dp</dimen >
1818 <dimen name =" bottom_sheet_item_height" >56dp</dimen >
19- <dimen name =" bottom_sheet_horizontal_item_height" >80dp </dimen >
19+ <dimen name =" bottom_sheet_horizontal_item_height" >96dp </dimen >
2020 <dimen name =" bottom_sheet_menu_item_divider_standard_margin" >56dp</dimen >
2121 <dimen name =" file_icon_size" >40dp</dimen >
2222 <dimen name =" live_photo_indicator_margin" >100dp</dimen >
You can’t perform that action at this time.
0 commit comments