mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2026-07-31 07:44:24 +02:00
Fix touch ripple on device card actions
This commit is contained in:
@@ -127,6 +127,7 @@
|
||||
android:id="@+id/device_battery_status"
|
||||
android:layout_width="40dp"
|
||||
android:layout_height="40dp"
|
||||
android:background="?android:attr/selectableItemBackground"
|
||||
android:padding="3dp"
|
||||
android:scaleType="fitXY"
|
||||
card_view:srcCompat="@drawable/level_list_battery"
|
||||
@@ -157,6 +158,7 @@
|
||||
android:id="@+id/device_battery_status1"
|
||||
android:layout_width="40dp"
|
||||
android:layout_height="40dp"
|
||||
android:background="?android:attr/selectableItemBackground"
|
||||
android:padding="3dp"
|
||||
android:scaleType="fitXY"
|
||||
card_view:srcCompat="@drawable/level_list_battery"
|
||||
@@ -187,6 +189,7 @@
|
||||
android:id="@+id/device_battery_status2"
|
||||
android:layout_width="40dp"
|
||||
android:layout_height="40dp"
|
||||
android:background="?android:attr/selectableItemBackground"
|
||||
android:padding="3dp"
|
||||
android:scaleType="fitXY"
|
||||
card_view:srcCompat="@drawable/level_list_battery"
|
||||
@@ -241,6 +244,7 @@
|
||||
android:id="@+id/device_fm_frequency"
|
||||
android:layout_width="40dp"
|
||||
android:layout_height="40dp"
|
||||
android:background="?android:attr/selectableItemBackground"
|
||||
android:padding="3dp"
|
||||
android:scaleType="fitXY"
|
||||
card_view:srcCompat="@drawable/ic_radio"
|
||||
@@ -419,6 +423,7 @@
|
||||
android:layout_below="@id/device_image"
|
||||
android:layout_margin="3dp"
|
||||
android:layout_toEndOf="@id/device_action_show_activity_tracks"
|
||||
android:background="?android:attr/selectableItemBackground"
|
||||
android:clickable="true"
|
||||
android:contentDescription="@string/controlcenter_find_device"
|
||||
android:tooltipText="@string/controlcenter_find_device"
|
||||
@@ -435,6 +440,7 @@
|
||||
android:layout_below="@id/device_image"
|
||||
android:layout_margin="3dp"
|
||||
android:layout_toEndOf="@id/device_action_find"
|
||||
android:background="?android:attr/selectableItemBackground"
|
||||
android:clickable="true"
|
||||
android:contentDescription="@string/controlcenter_calibrate_device"
|
||||
android:tooltipText="@string/controlcenter_calibrate_device"
|
||||
@@ -458,6 +464,7 @@
|
||||
android:id="@+id/device_heart_rate_status"
|
||||
android:layout_width="40dp"
|
||||
android:layout_height="40dp"
|
||||
android:background="?android:attr/selectableItemBackground"
|
||||
android:padding="3dp"
|
||||
android:scaleType="fitXY"
|
||||
card_view:srcCompat="@drawable/ic_heart"
|
||||
@@ -506,6 +513,7 @@
|
||||
android:id="@+id/device_custom_action_0_image"
|
||||
android:layout_width="40dp"
|
||||
android:layout_height="40dp"
|
||||
android:background="?android:attr/selectableItemBackground"
|
||||
android:padding="3dp"
|
||||
android:scaleType="fitXY"
|
||||
card_view:srcCompat="@drawable/ic_device_unknown"
|
||||
@@ -537,6 +545,7 @@
|
||||
android:id="@+id/device_custom_action_1_image"
|
||||
android:layout_width="40dp"
|
||||
android:layout_height="40dp"
|
||||
android:background="?android:attr/selectableItemBackground"
|
||||
android:padding="3dp"
|
||||
android:scaleType="fitXY"
|
||||
card_view:srcCompat="@drawable/ic_device_unknown"
|
||||
@@ -568,6 +577,7 @@
|
||||
android:id="@+id/device_custom_action_2_image"
|
||||
android:layout_width="40dp"
|
||||
android:layout_height="40dp"
|
||||
android:background="?android:attr/selectableItemBackground"
|
||||
android:padding="3dp"
|
||||
android:scaleType="fitXY"
|
||||
card_view:srcCompat="@drawable/ic_device_unknown"
|
||||
|
||||
Reference in New Issue
Block a user