diff options
Diffstat (limited to 'ui/common/src/main/res/drawable')
12 files changed, 154 insertions, 0 deletions
diff --git a/ui/common/src/main/res/drawable/bg_pill_translucent.xml b/ui/common/src/main/res/drawable/bg_pill_translucent.xml new file mode 100644 index 000000000..b25a9ac82 --- /dev/null +++ b/ui/common/src/main/res/drawable/bg_pill_translucent.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle"> + <solid android:color="#D2404040" /> + <corners android:radius="18dp" /> +</shape> diff --git a/ui/common/src/main/res/drawable/ic_drag_darktheme.xml b/ui/common/src/main/res/drawable/ic_drag_darktheme.xml new file mode 100644 index 000000000..20c7db484 --- /dev/null +++ b/ui/common/src/main/res/drawable/ic_drag_darktheme.xml @@ -0,0 +1,9 @@ +<vector xmlns:android="http://schemas.android.com/apk/res/android" + android:width="20dp" + android:height="30dp" + android:viewportWidth="3" + android:viewportHeight="4.5"> + <path + android:pathData="M 0.75 0.25 A 0.5 0.5 0 0 0 0.25 0.75 A 0.5 0.5 135 0 0 0.75 1.25 A 0.5 0.5 0 0 0 1.25 0.75 A 0.5 0.5 45 0 0 0.75 0.25 z M 2.25 0.25 A 0.5 0.5 0 0 0 1.75 0.75 A 0.5 0.5 0 0 0 2.25 1.25 A 0.5 0.5 0 0 0 2.75 0.75 A 0.5 0.5 0 0 0 2.25 0.25 z M 0.75 1.75 A 0.5 0.5 0 0 0 0.25 2.25 A 0.5 0.5 0 0 0 0.75 2.75 A 0.5 0.5 0 0 0 1.25 2.25 A 0.5 0.5 0 0 0 0.75 1.75 z M 2.25 1.75 A 0.5 0.5 0 0 0 1.75 2.25 A 0.5 0.5 0 0 0 2.25 2.75 A 0.5 0.5 0 0 0 2.75 2.25 A 0.5 0.5 0 0 0 2.25 1.75 z M 0.75 3.25 A 0.5 0.5 0 0 0 0.25 3.75 A 0.5 0.5 45 0 0 0.75 4.25 A 0.5 0.5 45 0 0 1.25 3.75 A 0.5 0.5 0 0 0 0.75 3.25 z M 2.25 3.25 A 0.5 0.5 0 0 0 1.75 3.75 A 0.5 0.5 45 0 0 2.25 4.25 A 0.5 0.5 45 0 0 2.75 3.75 A 0.5 0.5 0 0 0 2.25 3.25 z" + android:fillColor="#a9a9a9"/> +</vector> diff --git a/ui/common/src/main/res/drawable/ic_drag_lighttheme.xml b/ui/common/src/main/res/drawable/ic_drag_lighttheme.xml new file mode 100644 index 000000000..46ff2f495 --- /dev/null +++ b/ui/common/src/main/res/drawable/ic_drag_lighttheme.xml @@ -0,0 +1,9 @@ +<vector xmlns:android="http://schemas.android.com/apk/res/android" + android:width="20dp" + android:height="30dp" + android:viewportWidth="3" + android:viewportHeight="4.5"> + <path + android:pathData="M 0.75 0.25 A 0.5 0.5 0 0 0 0.25 0.75 A 0.5 0.5 135 0 0 0.75 1.25 A 0.5 0.5 0 0 0 1.25 0.75 A 0.5 0.5 45 0 0 0.75 0.25 z M 2.25 0.25 A 0.5 0.5 0 0 0 1.75 0.75 A 0.5 0.5 0 0 0 2.25 1.25 A 0.5 0.5 0 0 0 2.75 0.75 A 0.5 0.5 0 0 0 2.25 0.25 z M 0.75 1.75 A 0.5 0.5 0 0 0 0.25 2.25 A 0.5 0.5 0 0 0 0.75 2.75 A 0.5 0.5 0 0 0 1.25 2.25 A 0.5 0.5 0 0 0 0.75 1.75 z M 2.25 1.75 A 0.5 0.5 0 0 0 1.75 2.25 A 0.5 0.5 0 0 0 2.25 2.75 A 0.5 0.5 0 0 0 2.75 2.25 A 0.5 0.5 0 0 0 2.25 1.75 z M 0.75 3.25 A 0.5 0.5 0 0 0 0.25 3.75 A 0.5 0.5 45 0 0 0.75 4.25 A 0.5 0.5 45 0 0 1.25 3.75 A 0.5 0.5 0 0 0 0.75 3.25 z M 2.25 3.25 A 0.5 0.5 0 0 0 1.75 3.75 A 0.5 0.5 45 0 0 2.25 4.25 A 0.5 0.5 45 0 0 2.75 3.75 A 0.5 0.5 0 0 0 2.25 3.25 z" + android:fillColor="#9d9d9d"/> +</vector> diff --git a/ui/common/src/main/res/drawable/launcher_animate.xml b/ui/common/src/main/res/drawable/launcher_animate.xml new file mode 100644 index 000000000..189a01d26 --- /dev/null +++ b/ui/common/src/main/res/drawable/launcher_animate.xml @@ -0,0 +1,45 @@ +<?xml version="1.0" encoding="UTF-8"?> +<animation-list + xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:aapt="http://schemas.android.com/aapt" + android:oneshot="false"> + + <item android:duration="1000"> + <aapt:attr name="android:drawable"> + <layer-list> + <item android:drawable="@drawable/launcher_animate_bg" /> + <item android:drawable="@drawable/launcher_animate_wave1" /> + <item android:drawable="@drawable/launcher_animate_wave2" /> + </layer-list> + </aapt:attr> + </item> + + <item android:duration="80"> + <aapt:attr name="android:drawable"> + <layer-list> + <item android:drawable="@drawable/launcher_animate_bg" /> + <item android:drawable="@drawable/launcher_animate_wave1" /> + </layer-list> + </aapt:attr> + </item> + + <item android:duration="200"> + <aapt:attr name="android:drawable"> + <layer-list> + <item android:drawable="@drawable/launcher_animate_bg" /> + </layer-list> + </aapt:attr> + </item> + + <item android:duration="80"> + <aapt:attr name="android:drawable"> + <layer-list> + <item android:drawable="@drawable/launcher_animate_bg" /> + <item android:drawable="@drawable/launcher_animate_wave1" /> + </layer-list> + </aapt:attr> + </item> + +</animation-list> + + diff --git a/ui/common/src/main/res/drawable/progress_bar_horizontal_dark.xml b/ui/common/src/main/res/drawable/progress_bar_horizontal_dark.xml new file mode 100644 index 000000000..b575c2f80 --- /dev/null +++ b/ui/common/src/main/res/drawable/progress_bar_horizontal_dark.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="utf-8"?> +<layer-list xmlns:android="http://schemas.android.com/apk/res/android"> + <item android:id="@android:id/background"> + <shape> + <solid android:color="#19FFFFFF"/> + </shape> + </item> + <item android:id="@android:id/progress"> + <clip> + <shape> + <solid android:color="?attr/colorAccent"/> + </shape> + </clip> + </item> +</layer-list> diff --git a/ui/common/src/main/res/drawable/progress_bar_horizontal_light.xml b/ui/common/src/main/res/drawable/progress_bar_horizontal_light.xml new file mode 100644 index 000000000..b2e18c988 --- /dev/null +++ b/ui/common/src/main/res/drawable/progress_bar_horizontal_light.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="utf-8"?> +<layer-list xmlns:android="http://schemas.android.com/apk/res/android"> + <item android:id="@android:id/background"> + <shape> + <solid android:color="#19212121"/> + </shape> + </item> + <item android:id="@android:id/progress"> + <clip> + <shape> + <solid android:color="?attr/colorAccent"/> + </shape> + </clip> + </item> +</layer-list> diff --git a/ui/common/src/main/res/drawable/scrollbar_thumb_dark.xml b/ui/common/src/main/res/drawable/scrollbar_thumb_dark.xml new file mode 100644 index 000000000..929c03914 --- /dev/null +++ b/ui/common/src/main/res/drawable/scrollbar_thumb_dark.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_pressed="true" android:drawable="@drawable/scrollbar_thumb_pressed_dark"/> + <item android:drawable="@drawable/scrollbar_thumb_default"/> +</selector> diff --git a/ui/common/src/main/res/drawable/scrollbar_thumb_default.xml b/ui/common/src/main/res/drawable/scrollbar_thumb_default.xml new file mode 100644 index 000000000..5e8a98b44 --- /dev/null +++ b/ui/common/src/main/res/drawable/scrollbar_thumb_default.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="utf-8"?> +<layer-list xmlns:android="http://schemas.android.com/apk/res/android"> + <item> + <shape android:shape="rectangle"> + <size android:height="24dp" android:width="24dp"/> + </shape> + </item> + <item android:gravity="end"> + <shape android:shape="rectangle"> + <solid android:color="#99666666"/> + <size android:height="4dp" android:width="4dp"/> + </shape> + </item> +</layer-list> diff --git a/ui/common/src/main/res/drawable/scrollbar_thumb_light.xml b/ui/common/src/main/res/drawable/scrollbar_thumb_light.xml new file mode 100644 index 000000000..a13cfd705 --- /dev/null +++ b/ui/common/src/main/res/drawable/scrollbar_thumb_light.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_pressed="true" android:drawable="@drawable/scrollbar_thumb_pressed_light"/> + <item android:drawable="@drawable/scrollbar_thumb_default"/> +</selector> diff --git a/ui/common/src/main/res/drawable/scrollbar_thumb_pressed_dark.xml b/ui/common/src/main/res/drawable/scrollbar_thumb_pressed_dark.xml new file mode 100644 index 000000000..a1618c5b6 --- /dev/null +++ b/ui/common/src/main/res/drawable/scrollbar_thumb_pressed_dark.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="utf-8"?> +<layer-list xmlns:android="http://schemas.android.com/apk/res/android"> + <item> + <shape android:shape="rectangle"> + <size android:height="24dp" android:width="24dp"/> + </shape> + </item> + <item android:gravity="end"> + <shape android:shape="rectangle"> + <solid android:color="@color/accent_dark"/> + <size android:height="4dp" android:width="4dp"/> + </shape> + </item> +</layer-list> diff --git a/ui/common/src/main/res/drawable/scrollbar_thumb_pressed_light.xml b/ui/common/src/main/res/drawable/scrollbar_thumb_pressed_light.xml new file mode 100644 index 000000000..be684541a --- /dev/null +++ b/ui/common/src/main/res/drawable/scrollbar_thumb_pressed_light.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="utf-8"?> +<layer-list xmlns:android="http://schemas.android.com/apk/res/android"> + <item> + <shape android:shape="rectangle"> + <size android:height="24dp" android:width="24dp"/> + </shape> + </item> + <item android:gravity="end"> + <shape android:shape="rectangle"> + <solid android:color="@color/accent_light"/> + <size android:height="4dp" android:width="4dp"/> + </shape> + </item> +</layer-list> diff --git a/ui/common/src/main/res/drawable/scrollbar_track.xml b/ui/common/src/main/res/drawable/scrollbar_track.xml new file mode 100644 index 000000000..ce838abe9 --- /dev/null +++ b/ui/common/src/main/res/drawable/scrollbar_track.xml @@ -0,0 +1,4 @@ +<?xml version="1.0" encoding="utf-8"?> +<selector xmlns:android="http://schemas.android.com/apk/res/android"> + <item android:drawable="@android:color/transparent"/> +</selector> |