mirror of
https://github.com/SimpleMobileTools/Simple-Contacts.git
synced 2025-02-17 12:00:39 +01:00
adding ripple effect background to call notification buttons
This commit is contained in:
parent
0aea7f5ad1
commit
99fc8e5ecf
6
app/src/main/res/drawable/ripple_background.xml
Normal file
6
app/src/main/res/drawable/ripple_background.xml
Normal file
@ -0,0 +1,6 @@
|
||||
<ripple xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:color="@color/md_grey">
|
||||
<item
|
||||
android:id="@android:id/mask"
|
||||
android:drawable="@android:color/white" />
|
||||
</ripple>
|
@ -43,6 +43,7 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="@dimen/call_notification_button_size"
|
||||
android:layout_weight="1"
|
||||
android:background="@drawable/ripple_background"
|
||||
android:src="@drawable/ic_phone_down_red_vector" />
|
||||
|
||||
<ImageView
|
||||
@ -50,6 +51,7 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="@dimen/call_notification_button_size"
|
||||
android:layout_weight="1"
|
||||
android:background="@drawable/ripple_background"
|
||||
android:src="@drawable/ic_phone_green_vector" />
|
||||
|
||||
</LinearLayout>
|
||||
|
Loading…
x
Reference in New Issue
Block a user