diff options
author | cyberta <cyberta@riseup.net> | 2022-12-02 18:33:28 +0100 |
---|---|---|
committer | cyberta <cyberta@riseup.net> | 2022-12-02 20:27:39 +0100 |
commit | 091487bfe760aacd8d4dc8eedcf5a07e4e5b53e3 (patch) | |
tree | bac42260fb2b3a4044276d702515ef9b0b84c268 /app/src/main/res/drawable | |
parent | 22146b69ccb987bc1ac316b3b43ea46e3bdbd221 (diff) |
replace button pngs with vector graphics
Diffstat (limited to 'app/src/main/res/drawable')
22 files changed, 27 insertions, 63 deletions
diff --git a/app/src/main/res/drawable/button_circle_cancel_pressed.xml b/app/src/main/res/drawable/button_circle_cancel_pressed.xml index 690baa0c..b2efa78b 100644 --- a/app/src/main/res/drawable/button_circle_cancel_pressed.xml +++ b/app/src/main/res/drawable/button_circle_cancel_pressed.xml @@ -55,10 +55,6 @@ android:bottom="62dp" android:left="50dp" android:right="50dp" - > - <bitmap android:src="@drawable/ic_btn_cancel" - /> - </item> - + android:drawable="@drawable/ic_btn_cancel" /> </layer-list>
\ No newline at end of file diff --git a/app/src/main/res/drawable/button_circle_cancel_released.xml b/app/src/main/res/drawable/button_circle_cancel_released.xml index 833a9076..efe0cc14 100644 --- a/app/src/main/res/drawable/button_circle_cancel_released.xml +++ b/app/src/main/res/drawable/button_circle_cancel_released.xml @@ -56,7 +56,6 @@ android:bottom="65dp" android:left="50dp" android:right="50dp" - > - <bitmap android:src="@drawable/ic_btn_cancel" /> - </item> + android:drawable="@drawable/ic_btn_cancel" + /> </layer-list>
\ No newline at end of file diff --git a/app/src/main/res/drawable/button_circle_start_pressed.xml b/app/src/main/res/drawable/button_circle_start_pressed.xml index 4157ffe0..dd8496c3 100644 --- a/app/src/main/res/drawable/button_circle_start_pressed.xml +++ b/app/src/main/res/drawable/button_circle_start_pressed.xml @@ -40,8 +40,5 @@ android:bottom="62dp" android:left="50dp" android:right="50dp" - > - <bitmap android:src="@drawable/ic_btn_on" - /> - </item> + android:drawable="@drawable/ic_btn_on" /> </layer-list>
\ No newline at end of file diff --git a/app/src/main/res/drawable/button_circle_start_released.xml b/app/src/main/res/drawable/button_circle_start_released.xml index 671d06dc..700ded89 100644 --- a/app/src/main/res/drawable/button_circle_start_released.xml +++ b/app/src/main/res/drawable/button_circle_start_released.xml @@ -40,7 +40,5 @@ android:bottom="65dp" android:left="50dp" android:right="50dp" - > - <bitmap android:src="@drawable/ic_btn_on" /> - </item> + android:drawable="@drawable/ic_btn_on" /> </layer-list>
\ No newline at end of file diff --git a/app/src/main/res/drawable/button_circle_stop_pressed.xml b/app/src/main/res/drawable/button_circle_stop_pressed.xml index ce7583f1..79f794b2 100644 --- a/app/src/main/res/drawable/button_circle_stop_pressed.xml +++ b/app/src/main/res/drawable/button_circle_stop_pressed.xml @@ -40,8 +40,5 @@ android:bottom="62dp" android:left="50dp" android:right="50dp" - > - <bitmap android:src="@drawable/ic_btn_cancel" - /> - </item> + android:drawable="@drawable/ic_btn_cancel" /> </layer-list>
\ No newline at end of file diff --git a/app/src/main/res/drawable/button_circle_stop_released.xml b/app/src/main/res/drawable/button_circle_stop_released.xml index ed786ee0..b0d47d78 100644 --- a/app/src/main/res/drawable/button_circle_stop_released.xml +++ b/app/src/main/res/drawable/button_circle_stop_released.xml @@ -40,7 +40,6 @@ android:bottom="65dp" android:left="50dp" android:right="50dp" - > - <bitmap android:src="@drawable/ic_btn_cancel" /> - </item> + android:drawable="@drawable/ic_btn_cancel" + /> </layer-list>
\ No newline at end of file diff --git a/app/src/main/res/drawable/ic_btn_cancel.png b/app/src/main/res/drawable/ic_btn_cancel.png Binary files differdeleted file mode 100644 index 0b55460a..00000000 --- a/app/src/main/res/drawable/ic_btn_cancel.png +++ /dev/null diff --git a/app/src/main/res/drawable/ic_btn_cancel.xml b/app/src/main/res/drawable/ic_btn_cancel.xml new file mode 100644 index 00000000..9870cd4f --- /dev/null +++ b/app/src/main/res/drawable/ic_btn_cancel.xml @@ -0,0 +1,9 @@ +<vector xmlns:android="http://schemas.android.com/apk/res/android" xmlns:aapt="http://schemas.android.com/aapt" + android:viewportWidth="35" + android:viewportHeight="35" + android:width="35dp" + android:height="35dp"> + <path + android:pathData="M4.9 35L17.5 22.4L30.1 35L35 30.1L22.4 17.5L35 4.9L30.1 0L17.5 12.6L4.9 0L0 4.9L12.6 17.5L0 30.1L4.9 35Z" + android:fillColor="#FFFFFF" /> +</vector>
\ No newline at end of file diff --git a/app/src/main/res/drawable/ic_btn_on.png b/app/src/main/res/drawable/ic_btn_on.png Binary files differdeleted file mode 100644 index be160a33..00000000 --- a/app/src/main/res/drawable/ic_btn_on.png +++ /dev/null diff --git a/app/src/main/res/drawable/ic_btn_on.xml b/app/src/main/res/drawable/ic_btn_on.xml new file mode 100644 index 00000000..0f3fc0f4 --- /dev/null +++ b/app/src/main/res/drawable/ic_btn_on.xml @@ -0,0 +1,10 @@ +<vector xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:aapt="http://schemas.android.com/aapt" + android:viewportWidth="40" + android:viewportHeight="43" + android:width="40dp" + android:height="43dp"> + <path + android:pathData="M33.0178 7.38594C32.1199 6.61398 30.7913 6.74461 29.9562 7.58411C28.8438 8.70244 29.0811 10.5681 30.2333 11.6454C33.1633 14.3851 35 18.2798 35 22.6203C35 26.6198 33.4196 30.4556 30.6066 33.2836C27.7936 36.1117 23.9782 37.7005 20 37.7005C16.0218 37.7005 12.2064 36.1117 9.3934 33.2836C6.58035 30.4556 5 26.6198 5 22.6203C5 18.2699 6.84513 14.3673 9.77413 11.6139C10.9153 10.5411 11.1444 8.69064 10.0399 7.58018C9.20708 6.74295 7.88204 6.6127 6.98641 7.38232C2.70788 11.0589 0 16.5193 0 22.6203C0 27.953 2.10714 33.0673 5.85786 36.8381C9.60859 40.6089 14.6957 42.7273 20 42.7273C25.3043 42.7273 30.3914 40.6089 34.1421 36.8381C37.8929 33.0673 40 27.953 40 22.6203C40 16.5213 37.2939 11.0625 33.0178 7.38594ZM22.5 0C19.7386 0 17.5 2.23858 17.5 5V20.1337C17.5 22.8951 19.7386 25.1337 22.5 25.1337" + android:fillColor="#FFFFFF" /> +</vector>
\ No newline at end of file diff --git a/app/src/main/res/drawable/main_btn_glow.xml b/app/src/main/res/drawable/main_btn_glow.xml deleted file mode 100644 index 5ed57dd5..00000000 --- a/app/src/main/res/drawable/main_btn_glow.xml +++ /dev/null @@ -1,12 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> - -<animation-list xmlns:android="http://schemas.android.com/apk/res/android" android:oneshot="false"> - <item android:drawable="@drawable/on_off_btn_start_2_enabled" android:duration="150" /> - <item android:drawable="@drawable/on_off_btn_an4" android:duration="75" /> - <item android:drawable="@drawable/on_off_btn_an3" android:duration="100" /> - <item android:drawable="@drawable/on_off_btn_an2" android:duration="125" /> - <item android:drawable="@drawable/on_off_btn_an1" android:duration="400" /> - <item android:drawable="@drawable/on_off_btn_an2" android:duration="125" /> - <item android:drawable="@drawable/on_off_btn_an3" android:duration="100" /> - <item android:drawable="@drawable/on_off_btn_an4" android:duration="75" /> -</animation-list>
\ No newline at end of file diff --git a/app/src/main/res/drawable/main_btn_shadow.xml b/app/src/main/res/drawable/main_btn_shadow.xml deleted file mode 100644 index 94cf379f..00000000 --- a/app/src/main/res/drawable/main_btn_shadow.xml +++ /dev/null @@ -1,5 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<selector xmlns:android="http://schemas.android.com/apk/res/android"> - <item android:drawable="@drawable/on_off_btn_start_2_pressed" android:state_pressed="true"/> - <item android:drawable="@drawable/on_off_btn_start_2_enabled"/> -</selector>
\ No newline at end of file diff --git a/app/src/main/res/drawable/on_off_btn_an1.png b/app/src/main/res/drawable/on_off_btn_an1.png Binary files differdeleted file mode 100644 index c80feeb7..00000000 --- a/app/src/main/res/drawable/on_off_btn_an1.png +++ /dev/null diff --git a/app/src/main/res/drawable/on_off_btn_an2.png b/app/src/main/res/drawable/on_off_btn_an2.png Binary files differdeleted file mode 100644 index 73f4cb7e..00000000 --- a/app/src/main/res/drawable/on_off_btn_an2.png +++ /dev/null diff --git a/app/src/main/res/drawable/on_off_btn_an3.png b/app/src/main/res/drawable/on_off_btn_an3.png Binary files differdeleted file mode 100644 index 98ad0220..00000000 --- a/app/src/main/res/drawable/on_off_btn_an3.png +++ /dev/null diff --git a/app/src/main/res/drawable/on_off_btn_an4.png b/app/src/main/res/drawable/on_off_btn_an4.png Binary files differdeleted file mode 100644 index 49070e5f..00000000 --- a/app/src/main/res/drawable/on_off_btn_an4.png +++ /dev/null diff --git a/app/src/main/res/drawable/on_off_btn_fill.png b/app/src/main/res/drawable/on_off_btn_fill.png Binary files differdeleted file mode 100644 index 8394ccfb..00000000 --- a/app/src/main/res/drawable/on_off_btn_fill.png +++ /dev/null diff --git a/app/src/main/res/drawable/on_off_btn_start_2_disabled.png b/app/src/main/res/drawable/on_off_btn_start_2_disabled.png Binary files differdeleted file mode 100644 index 4675e48d..00000000 --- a/app/src/main/res/drawable/on_off_btn_start_2_disabled.png +++ /dev/null diff --git a/app/src/main/res/drawable/on_off_btn_start_2_enabled.png b/app/src/main/res/drawable/on_off_btn_start_2_enabled.png Binary files differdeleted file mode 100644 index 383e1076..00000000 --- a/app/src/main/res/drawable/on_off_btn_start_2_enabled.png +++ /dev/null diff --git a/app/src/main/res/drawable/on_off_btn_start_2_no_shadow.png b/app/src/main/res/drawable/on_off_btn_start_2_no_shadow.png Binary files differdeleted file mode 100644 index 941bdef1..00000000 --- a/app/src/main/res/drawable/on_off_btn_start_2_no_shadow.png +++ /dev/null diff --git a/app/src/main/res/drawable/on_off_btn_start_2_pressed.png b/app/src/main/res/drawable/on_off_btn_start_2_pressed.png Binary files differdeleted file mode 100644 index 7ff60cdb..00000000 --- a/app/src/main/res/drawable/on_off_btn_start_2_pressed.png +++ /dev/null diff --git a/app/src/main/res/drawable/progressbar_circle.xml b/app/src/main/res/drawable/progressbar_circle.xml deleted file mode 100644 index 3d5f6026..00000000 --- a/app/src/main/res/drawable/progressbar_circle.xml +++ /dev/null @@ -1,24 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> - -<layer-list xmlns:android="http://schemas.android.com/apk/res/android"> - <item> - <scale - android:scaleHeight="125%" - android:scaleWidth="125%" - android:scaleGravity="center" - > - <shape - android:shape="oval" - android:useLevel="true" - > - <gradient - android:startColor="@color/colorPrimaryDark" - android:centerColor="@color/colorPrimary" - android:endColor="@color/black800_high_transparent" - android:gradientRadius="100dp" - android:type="radial" - /> - </shape> - </scale> - </item> -</layer-list>
\ No newline at end of file |