diff options
Diffstat (limited to 'app/src/main/res/drawable/focus_glow.xml')
| -rw-r--r-- | app/src/main/res/drawable/focus_glow.xml | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/app/src/main/res/drawable/focus_glow.xml b/app/src/main/res/drawable/focus_glow.xml new file mode 100644 index 0000000..e90b268 --- /dev/null +++ b/app/src/main/res/drawable/focus_glow.xml @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2026 Danilo M. <danix@danix.xyz> + Licensed under the GNU General Public License version 2 only. --> +<!-- Icon buttons: a soft highlight behind the icon instead of a ring. --> +<selector xmlns:android="http://schemas.android.com/apk/res/android"> + <item android:state_focused="true"> + <shape> + <corners android:radius="16dp" /> + <solid android:color="#40FFFFFF" /> + </shape> + </item> + <item> + <shape> + <solid android:color="#00000000" /> + </shape> + </item> +</selector> |
