Pretty up the attachment drawer a little.

1) Rounded corners on the image.

2) A circle X on top of the image, rather than a remove button.

3) Quick 200ms fade on clear.

Closes #3439
// FREEBIE
This commit is contained in:
Moxie Marlinspike
2015-06-17 11:54:12 -07:00
parent 485e8455bd
commit 67d8fa26a7
8 changed files with 75 additions and 30 deletions

View File

@@ -0,0 +1,21 @@
<?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item>
<shape android:shape="oval">
<size android:height="24dp" android:width="24dp"/>
<solid android:color="@color/white"/>
</shape>
</item>
<item>
<shape android:shape="oval">
<size android:height="21dp" android:width="21dp"/>
<solid android:color="@color/textsecure_primary_dark"/>
<stroke android:color="@android:color/transparent"
android:width="3dp"/>
</shape>
</item>
<item>
<bitmap android:src="@drawable/ic_clear_white_24dp"
android:gravity="center" />
</item>
</layer-list>