revert NekoX's BottomSheet style
This commit is contained in:
parent
593ddf2f20
commit
1bcd28bba3
@ -932,7 +932,7 @@ public class BottomSheet extends Dialog {
|
|||||||
touchSlop = vc.getScaledTouchSlop();
|
touchSlop = vc.getScaledTouchSlop();
|
||||||
|
|
||||||
Rect padding = new Rect();
|
Rect padding = new Rect();
|
||||||
shadowDrawable = context.getResources().getDrawable(R.drawable.sheet_shadow_round).mutate();
|
shadowDrawable = context.getResources().getDrawable(R.drawable.sheet_shadow).mutate();
|
||||||
shadowDrawable.setColorFilter(new PorterDuffColorFilter(getThemedColor(Theme.key_dialogBackground), PorterDuff.Mode.SRC_IN));
|
shadowDrawable.setColorFilter(new PorterDuffColorFilter(getThemedColor(Theme.key_dialogBackground), PorterDuff.Mode.SRC_IN));
|
||||||
shadowDrawable.getPadding(padding);
|
shadowDrawable.getPadding(padding);
|
||||||
backgroundPaddingLeft = padding.left;
|
backgroundPaddingLeft = padding.left;
|
||||||
|
BIN
TMessagesProj/src/main/res/drawable-hdpi/sheet_shadow.9.png
Normal file
BIN
TMessagesProj/src/main/res/drawable-hdpi/sheet_shadow.9.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 273 B |
BIN
TMessagesProj/src/main/res/drawable-mdpi/sheet_shadow.9.png
Normal file
BIN
TMessagesProj/src/main/res/drawable-mdpi/sheet_shadow.9.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 181 B |
BIN
TMessagesProj/src/main/res/drawable-xhdpi/sheet_shadow.9.png
Normal file
BIN
TMessagesProj/src/main/res/drawable-xhdpi/sheet_shadow.9.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 346 B |
BIN
TMessagesProj/src/main/res/drawable-xxhdpi/sheet_shadow.9.png
Normal file
BIN
TMessagesProj/src/main/res/drawable-xxhdpi/sheet_shadow.9.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 486 B |
BIN
TMessagesProj/src/main/res/drawable-xxxhdpi/sheet_shadow.9.png
Normal file
BIN
TMessagesProj/src/main/res/drawable-xxxhdpi/sheet_shadow.9.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 639 B |
Loading…
Reference in New Issue
Block a user