mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-24 10:35:19 +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.
16 lines
345 B
XML
16 lines
345 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<shape
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:shape="rectangle">
|
|
|
|
<stroke
|
|
android:width="1dp"
|
|
android:color="@color/core_light_10" />
|
|
|
|
<solid
|
|
android:color="@color/core_light_02" />
|
|
|
|
<corners
|
|
android:radius="20dp" />
|
|
|
|
</shape> |