aboutsummaryrefslogtreecommitdiff
path: root/androidApp/src/main/res/drawable
diff options
context:
space:
mode:
authorIván Ávalos <avalos@disroot.org>2022-01-12 23:11:46 -0600
committerIván Ávalos <avalos@disroot.org>2022-01-12 23:11:46 -0600
commit2bdf011e61db6899a3a44a5357a0100b045767f9 (patch)
treeb300c73fa93f4da8e8feef017ad6d6c85d75d410 /androidApp/src/main/res/drawable
parenta13e418f74397653e028e38084f0f8f09492419e (diff)
downloadetbsa-trackermap-mobile-2bdf011e61db6899a3a44a5357a0100b045767f9.tar.gz
etbsa-trackermap-mobile-2bdf011e61db6899a3a44a5357a0100b045767f9.tar.bz2
etbsa-trackermap-mobile-2bdf011e61db6899a3a44a5357a0100b045767f9.zip
Improved design of commands
Diffstat (limited to 'androidApp/src/main/res/drawable')
-rw-r--r--androidApp/src/main/res/drawable/icon_radio_checked.xml10
-rw-r--r--androidApp/src/main/res/drawable/icon_radio_unchecked.xml10
-rw-r--r--androidApp/src/main/res/drawable/indicator_check_mark_light.xml28
3 files changed, 48 insertions, 0 deletions
diff --git a/androidApp/src/main/res/drawable/icon_radio_checked.xml b/androidApp/src/main/res/drawable/icon_radio_checked.xml
new file mode 100644
index 0000000..bdf69f9
--- /dev/null
+++ b/androidApp/src/main/res/drawable/icon_radio_checked.xml
@@ -0,0 +1,10 @@
+<vector xmlns:android="http://schemas.android.com/apk/res/android"
+ android:width="24dp"
+ android:height="24dp"
+ android:viewportWidth="24"
+ android:viewportHeight="24"
+ android:tint="?android:attr/colorControlNormal">
+ <path
+ android:fillColor="@android:color/white"
+ android:pathData="M12,7c-2.76,0 -5,2.24 -5,5s2.24,5 5,5 5,-2.24 5,-5 -2.24,-5 -5,-5zM12,2C6.48,2 2,6.48 2,12s4.48,10 10,10 10,-4.48 10,-10S17.52,2 12,2zM12,20c-4.42,0 -8,-3.58 -8,-8s3.58,-8 8,-8 8,3.58 8,8 -3.58,8 -8,8z"/>
+</vector>
diff --git a/androidApp/src/main/res/drawable/icon_radio_unchecked.xml b/androidApp/src/main/res/drawable/icon_radio_unchecked.xml
new file mode 100644
index 0000000..2dd0d69
--- /dev/null
+++ b/androidApp/src/main/res/drawable/icon_radio_unchecked.xml
@@ -0,0 +1,10 @@
+<vector xmlns:android="http://schemas.android.com/apk/res/android"
+ android:width="24dp"
+ android:height="24dp"
+ android:viewportWidth="24"
+ android:viewportHeight="24"
+ android:tint="?android:attr/colorControlNormal">
+ <path
+ android:fillColor="@android:color/white"
+ android:pathData="M12,2C6.48,2 2,6.48 2,12s4.48,10 10,10 10,-4.48 10,-10S17.52,2 12,2zM12,20c-4.42,0 -8,-3.58 -8,-8s3.58,-8 8,-8 8,3.58 8,8 -3.58,8 -8,8z"/>
+</vector>
diff --git a/androidApp/src/main/res/drawable/indicator_check_mark_light.xml b/androidApp/src/main/res/drawable/indicator_check_mark_light.xml
new file mode 100644
index 0000000..8647888
--- /dev/null
+++ b/androidApp/src/main/res/drawable/indicator_check_mark_light.xml
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2008 The Android Open Source Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<selector xmlns:android="http://schemas.android.com/apk/res/android">
+
+ <item android:state_checked="true"
+ android:drawable="@drawable/icon_radio_checked" />
+
+ <item android:state_checked="false"
+ android:drawable="@drawable/icon_radio_unchecked" />
+
+ <item
+ android:drawable="@drawable/icon_radio_unchecked" />
+
+</selector>