diff options
Diffstat (limited to 'app/src/main/res')
-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> |