mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-23 18:15:22 +00:00
Proper styling of media picker buttons
This commit is contained in:
parent
070d4d3e42
commit
53825cea58
@ -10,7 +10,7 @@
|
|||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<shape android:shape="oval">
|
<shape android:shape="oval">
|
||||||
<solid android:color="@color/core_white" />
|
<solid android:color="?backgroundSecondary" />
|
||||||
</shape>
|
</shape>
|
||||||
</item>
|
</item>
|
||||||
</ripple>
|
</ripple>
|
@ -1,6 +1,5 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<ripple
|
<ripple xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
||||||
android:color="@color/transparent_white_40">
|
android:color="@color/transparent_white_40">
|
||||||
<item android:id="@+id/mask">
|
<item android:id="@+id/mask">
|
||||||
<shape>
|
<shape>
|
||||||
@ -8,5 +7,10 @@
|
|||||||
<solid android:color="@color/white" />
|
<solid android:color="@color/white" />
|
||||||
</shape>
|
</shape>
|
||||||
</item>
|
</item>
|
||||||
<item android:drawable="@drawable/pill" />
|
<item>
|
||||||
|
<shape>
|
||||||
|
<corners android:radius="1000dp" />
|
||||||
|
<solid android:color="?backgroundSecondary" />
|
||||||
|
</shape>
|
||||||
|
</item>
|
||||||
</ripple>
|
</ripple>
|
@ -1,5 +1,5 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<shape xmlns:android="http://schemas.android.com/apk/res/android">
|
<shape xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
<corners android:radius="1000dp" />
|
<corners android:radius="1000dp" />
|
||||||
<solid android:color="@color/core_white" />
|
<solid android:color="?colorAccent" />
|
||||||
</shape>
|
</shape>
|
@ -1,5 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<shape xmlns:android="http://schemas.android.com/apk/res/android">
|
|
||||||
<corners android:radius="1000dp" />
|
|
||||||
<solid android:color="?colorAccent" />
|
|
||||||
</shape>
|
|
@ -37,7 +37,7 @@
|
|||||||
android:paddingBottom="2dp"
|
android:paddingBottom="2dp"
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
android:background="@drawable/media_count_number_background"
|
android:background="@drawable/media_count_number_background"
|
||||||
android:textColor="?colorAccent"
|
android:textColor="?colorPrimary"
|
||||||
android:textSize="18sp"
|
android:textSize="18sp"
|
||||||
tools:text="3" />
|
tools:text="3" />
|
||||||
|
|
||||||
@ -60,7 +60,7 @@
|
|||||||
android:layout_gravity="bottom|start"
|
android:layout_gravity="bottom|start"
|
||||||
android:padding="12dp"
|
android:padding="12dp"
|
||||||
android:src="@drawable/ic_camera_filled_24"
|
android:src="@drawable/ic_camera_filled_24"
|
||||||
app:tint="@color/core_grey_60"
|
app:tint="?android:textColorPrimary"
|
||||||
android:background="@drawable/media_camera_button_background"
|
android:background="@drawable/media_camera_button_background"
|
||||||
android:elevation="4dp"
|
android:elevation="4dp"
|
||||||
android:visibility="gone"
|
android:visibility="gone"
|
||||||
|
Loading…
Reference in New Issue
Block a user