mirror of
https://github.com/oxen-io/session-android.git
synced 2025-03-13 21:40:53 +00:00
avoid older android 9patch transparency bugs
// FREEBIE
This commit is contained in:
parent
ff123943cb
commit
dd0a952c83
@ -53,7 +53,7 @@ public class TransferControlView extends FrameLayout {
|
||||
inflate(context, R.layout.transfer_controls_view, this);
|
||||
|
||||
final Drawable background = ContextCompat.getDrawable(context, R.drawable.transfer_controls_background);
|
||||
if (VERSION.SDK_INT >= VERSION_CODES.ICE_CREAM_SANDWICH) {
|
||||
if (VERSION.SDK_INT >= VERSION_CODES.JELLY_BEAN_MR1) {
|
||||
background.setColorFilter(0x66ffffff, Mode.MULTIPLY);
|
||||
}
|
||||
setLongClickable(false);
|
||||
|
Loading…
x
Reference in New Issue
Block a user