mirror of
https://github.com/oxen-io/session-android.git
synced 2024-12-04 23:45:14 +00:00
8f551c8b32
In particular, there were many issues with drawing corners. Unfortunately, there's no pretty way to get masking working on every Android version, so we have to switch back to using custom backgrounds and then using multiple masking methods depending on Android version. Also, I had to remove attr references in drawables. They crash on 4.x.
14 lines
387 B
XML
14 lines
387 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<layer-list
|
|
xmlns:android="http://schemas.android.com/apk/res/android">
|
|
<item
|
|
android:top="2px"
|
|
android:bottom="2px">
|
|
|
|
<shape android:shape="rectangle">
|
|
<corners android:radius="@dimen/message_corner_radius"/>
|
|
<solid android:color="@color/white" />
|
|
</shape>
|
|
</item>
|
|
</layer-list>
|