diff options
author | xC3FFF0E <78732474+xC3FFF0E@users.noreply.github.com> | 2022-03-01 14:27:47 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-01 14:27:47 +0100 |
commit | d0360c9e617c432934f98a5afb7b7d697f6aae45 (patch) | |
tree | c095234a4968aab545d6109e7e29f67bb0d8c258 | |
parent | Create track.xml (diff) | |
download | xManager-d0360c9e617c432934f98a5afb7b7d697f6aae45.tar xManager-d0360c9e617c432934f98a5afb7b7d697f6aae45.tar.gz xManager-d0360c9e617c432934f98a5afb7b7d697f6aae45.tar.bz2 xManager-d0360c9e617c432934f98a5afb7b7d697f6aae45.tar.lz xManager-d0360c9e617c432934f98a5afb7b7d697f6aae45.tar.xz xManager-d0360c9e617c432934f98a5afb7b7d697f6aae45.tar.zst xManager-d0360c9e617c432934f98a5afb7b7d697f6aae45.zip |
-rw-r--r-- | app/src/main/res/drawable/background.xml | 9 | ||||
-rw-r--r-- | app/src/main/res/drawable/progress_bar.xml | 17 | ||||
-rw-r--r-- | app/src/main/res/drawable/progress_dialog.xml | 9 | ||||
-rw-r--r-- | app/src/main/res/drawable/state_off.xml | 9 | ||||
-rw-r--r-- | app/src/main/res/drawable/state_on.xml | 9 | ||||
-rw-r--r-- | app/src/main/res/drawable/thumb.xml | 5 |
6 files changed, 58 insertions, 0 deletions
diff --git a/app/src/main/res/drawable/background.xml b/app/src/main/res/drawable/background.xml new file mode 100644 index 0000000..66b1c63 --- /dev/null +++ b/app/src/main/res/drawable/background.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<layer-list xmlns:android="http://schemas.android.com/apk/res/android"> + <item> + <shape android:shape="rectangle" android:padding="10dp"> + <solid android:color="#FF212121"/> + <corners android:radius="10dp"/> + </shape> + </item> +</layer-list> diff --git a/app/src/main/res/drawable/progress_bar.xml b/app/src/main/res/drawable/progress_bar.xml new file mode 100644 index 0000000..519514d --- /dev/null +++ b/app/src/main/res/drawable/progress_bar.xml @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> +<layer-list xmlns:android="http://schemas.android.com/apk/res/android"> + <item android:id="@android:id/background" android:top="2.5dp" android:bottom="2.5dp"> + <shape> + <corners android:radius="10dp"/> + <solid android:color="#414141"/> + </shape> + </item> + <item android:id="@android:id/progress" android:top="4.5dp" android:bottom="4.5dp" android:left="2.5dp" android:right="2.5dp"> + <scale android:scaleWidth="100%"> + <shape> + <corners android:radius="10dp"/> + <solid android:color="#1DB954"/> + </shape> + </scale> + </item> +</layer-list> diff --git a/app/src/main/res/drawable/progress_dialog.xml b/app/src/main/res/drawable/progress_dialog.xml new file mode 100644 index 0000000..66b1c63 --- /dev/null +++ b/app/src/main/res/drawable/progress_dialog.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<layer-list xmlns:android="http://schemas.android.com/apk/res/android"> + <item> + <shape android:shape="rectangle" android:padding="10dp"> + <solid android:color="#FF212121"/> + <corners android:radius="10dp"/> + </shape> + </item> +</layer-list> diff --git a/app/src/main/res/drawable/state_off.xml b/app/src/main/res/drawable/state_off.xml new file mode 100644 index 0000000..9c3023c --- /dev/null +++ b/app/src/main/res/drawable/state_off.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<layer-list xmlns:android="http://schemas.android.com/apk/res/android"> + <item> + <shape android:shape="oval"> + <solid android:color="#DBDBDB"/> + <size android:width="20dp" android:height="20dp"/> + </shape> + </item> +</layer-list> diff --git a/app/src/main/res/drawable/state_on.xml b/app/src/main/res/drawable/state_on.xml new file mode 100644 index 0000000..9c3023c --- /dev/null +++ b/app/src/main/res/drawable/state_on.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<layer-list xmlns:android="http://schemas.android.com/apk/res/android"> + <item> + <shape android:shape="oval"> + <solid android:color="#DBDBDB"/> + <size android:width="20dp" android:height="20dp"/> + </shape> + </item> +</layer-list> diff --git a/app/src/main/res/drawable/thumb.xml b/app/src/main/res/drawable/thumb.xml new file mode 100644 index 0000000..d254854 --- /dev/null +++ b/app/src/main/res/drawable/thumb.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<selector xmlns:android="http://schemas.android.com/apk/res/android"> + <item android:state_checked="true" android:drawable="@drawable/state_on"/> + <item android:drawable="@drawable/state_off"/> +</selector> |