summaryrefslogtreecommitdiff
path: root/app/src/main/res
diff options
context:
space:
mode:
authorcyberta <cyberta@riseup.net>2022-12-06 03:17:15 +0100
committercyberta <cyberta@riseup.net>2022-12-06 03:34:57 +0100
commitec380e8b8913835cc50448aa51b75b3925644957 (patch)
treec41601d5b1a27f347c6d702fae611cd8cee6d1ae /app/src/main/res
parent8510b91343e234d559b39e8e5e14acc7a975506a (diff)
re-adding pngs as fallback for pre-API 24, appearantly Android 6's vector graphic rendering is really broken
Diffstat (limited to 'app/src/main/res')
-rw-r--r--app/src/main/res/drawable-anydpi-v24/ic_btn_cancel.xml (renamed from app/src/main/res/drawable/ic_btn_cancel.xml)0
-rw-r--r--app/src/main/res/drawable-anydpi-v24/ic_btn_on.xml (renamed from app/src/main/res/drawable/ic_btn_on.xml)0
-rw-r--r--app/src/main/res/drawable/ic_btn_cancel.pngbin0 -> 1009 bytes
-rw-r--r--app/src/main/res/drawable/ic_btn_on.pngbin0 -> 2211 bytes
-rw-r--r--app/src/main/res/drawable/ic_btn_on_connecting.xml22
-rw-r--r--app/src/main/res/drawable/ic_btn_on_disabled.xml20
-rw-r--r--app/src/main/res/drawable/ic_btn_on_primary_color.xml22
-rw-r--r--app/src/main/res/layout/allowed_application_layout.xml1
8 files changed, 0 insertions, 65 deletions
diff --git a/app/src/main/res/drawable/ic_btn_cancel.xml b/app/src/main/res/drawable-anydpi-v24/ic_btn_cancel.xml
index 9870cd4f..9870cd4f 100644
--- a/app/src/main/res/drawable/ic_btn_cancel.xml
+++ b/app/src/main/res/drawable-anydpi-v24/ic_btn_cancel.xml
diff --git a/app/src/main/res/drawable/ic_btn_on.xml b/app/src/main/res/drawable-anydpi-v24/ic_btn_on.xml
index 0f3fc0f4..0f3fc0f4 100644
--- a/app/src/main/res/drawable/ic_btn_on.xml
+++ b/app/src/main/res/drawable-anydpi-v24/ic_btn_on.xml
diff --git a/app/src/main/res/drawable/ic_btn_cancel.png b/app/src/main/res/drawable/ic_btn_cancel.png
new file mode 100644
index 00000000..af604d9b
--- /dev/null
+++ b/app/src/main/res/drawable/ic_btn_cancel.png
Binary files differ
diff --git a/app/src/main/res/drawable/ic_btn_on.png b/app/src/main/res/drawable/ic_btn_on.png
new file mode 100644
index 00000000..d6cfc10b
--- /dev/null
+++ b/app/src/main/res/drawable/ic_btn_on.png
Binary files differ
diff --git a/app/src/main/res/drawable/ic_btn_on_connecting.xml b/app/src/main/res/drawable/ic_btn_on_connecting.xml
deleted file mode 100644
index 4b3d1384..00000000
--- a/app/src/main/res/drawable/ic_btn_on_connecting.xml
+++ /dev/null
@@ -1,22 +0,0 @@
-<vector xmlns:android="http://schemas.android.com/apk/res/android"
- android:width="24dp"
- android:height="24dp"
- android:viewportWidth="24"
- android:viewportHeight="24">
- <path
- android:pathData="M13,4.0089C13.0002,3.4567 12.5527,3.0088 12.0004,3.0085C11.4481,3.0083 11.0002,3.4559 11,4.0082L10.9968,12.0116C10.9966,12.5639 11.4442,13.0118 11.9965,13.012C12.5487,13.0122 12.9966,12.5647 12.9968,12.0124L13,4.0089Z"
- android:strokeColor="@color/colorPrimary_transparent"
- android:strokeLineCap="round"
- android:strokeWidth="0.3"
- android:strokeLineJoin="round"
- android:fillAlpha="0.5"
- android:fillColor="@color/colorPrimary"/>
- <path
- android:pathData="M4,12.9917C4,10.7826 4.8954,8.7826 6.3431,7.3349L7.7573,8.7491C6.6715,9.8349 6,11.3349 6,12.9917C6,16.3054 8.6863,18.9917 12,18.9917C15.3137,18.9917 18,16.3054 18,12.9917C18,11.3348 17.3284,9.8348 16.2426,8.749L17.6568,7.3348C19.1046,8.7825 20,10.7825 20,12.9917C20,17.41 16.4183,20.9917 12,20.9917C7.5817,20.9917 4,17.41 4,12.9917Z"
- android:strokeColor="@color/colorPrimary_transparent"
- android:strokeLineCap="round"
- android:strokeWidth="0.3"
- android:strokeLineJoin="round"
- android:fillAlpha="0.5"
- android:fillColor="@color/colorPrimary"/>
-</vector>
diff --git a/app/src/main/res/drawable/ic_btn_on_disabled.xml b/app/src/main/res/drawable/ic_btn_on_disabled.xml
deleted file mode 100644
index 9c83422d..00000000
--- a/app/src/main/res/drawable/ic_btn_on_disabled.xml
+++ /dev/null
@@ -1,20 +0,0 @@
-<vector xmlns:android="http://schemas.android.com/apk/res/android"
- android:width="24dp"
- android:height="24dp"
- android:viewportWidth="24"
- android:viewportHeight="24">
- <path
- android:pathData="M13,4.0089C13.0002,3.4567 12.5527,3.0088 12.0004,3.0085C11.4481,3.0083 11.0002,3.4559 11,4.0082L10.9968,12.0116C10.9966,12.5639 11.4442,13.0118 11.9965,13.012C12.5487,13.0122 12.9966,12.5647 12.9968,12.0124L13,4.0089Z"
- android:strokeColor="@color/colorPrimary_transparent"
- android:strokeWidth="0.3"
- android:fillAlpha="0.5"
- android:strokeLineJoin="round"
- android:fillColor="@color/white"/>
- <path
- android:pathData="M4,12.9917C4,10.7826 4.8954,8.7826 6.3431,7.3349L7.7573,8.7491C6.6715,9.8349 6,11.3349 6,12.9917C6,16.3054 8.6863,18.9917 12,18.9917C15.3137,18.9917 18,16.3054 18,12.9917C18,11.3348 17.3284,9.8348 16.2426,8.749L17.6568,7.3348C19.1046,8.7825 20,10.7825 20,12.9917C20,17.41 16.4183,20.9917 12,20.9917C7.5817,20.9917 4,17.41 4,12.9917Z"
- android:strokeColor="@color/colorPrimary_transparent"
- android:fillAlpha="0.5"
- android:strokeWidth="0.3"
- android:strokeLineJoin="round"
- android:fillColor="@color/white"/>
-</vector>
diff --git a/app/src/main/res/drawable/ic_btn_on_primary_color.xml b/app/src/main/res/drawable/ic_btn_on_primary_color.xml
deleted file mode 100644
index 9f449299..00000000
--- a/app/src/main/res/drawable/ic_btn_on_primary_color.xml
+++ /dev/null
@@ -1,22 +0,0 @@
-<vector xmlns:android="http://schemas.android.com/apk/res/android"
- android:width="24dp"
- android:height="24dp"
- android:viewportWidth="24"
- android:viewportHeight="24">
- <path
- android:pathData="M13,4.0089C13.0002,3.4567 12.5527,3.0088 12.0004,3.0085C11.4481,3.0083 11.0002,3.4559 11,4.0082L10.9968,12.0116C10.9966,12.5639 11.4442,13.0118 11.9965,13.012C12.5487,13.0122 12.9966,12.5647 12.9968,12.0124L13,4.0089Z"
- android:strokeColor="@color/colorPrimary_transparent"
- android:strokeLineCap="round"
- android:strokeAlpha="0.8"
- android:strokeWidth="0.3"
- android:strokeLineJoin="round"
- android:fillColor="@color/colorPrimary"/>
- <path
- android:pathData="M4,12.9917C4,10.7826 4.8954,8.7826 6.3431,7.3349L7.7573,8.7491C6.6715,9.8349 6,11.3349 6,12.9917C6,16.3054 8.6863,18.9917 12,18.9917C15.3137,18.9917 18,16.3054 18,12.9917C18,11.3348 17.3284,9.8348 16.2426,8.749L17.6568,7.3348C19.1046,8.7825 20,10.7825 20,12.9917C20,17.41 16.4183,20.9917 12,20.9917C7.5817,20.9917 4,17.41 4,12.9917Z"
- android:strokeColor="@color/colorPrimary_transparent"
- android:strokeLineCap="round"
- android:strokeAlpha="0.8"
- android:strokeWidth="0.3"
- android:strokeLineJoin="round"
- android:fillColor="@color/colorPrimary"/>
-</vector>
diff --git a/app/src/main/res/layout/allowed_application_layout.xml b/app/src/main/res/layout/allowed_application_layout.xml
index 671a54fc..bb8e4e5d 100644
--- a/app/src/main/res/layout/allowed_application_layout.xml
+++ b/app/src/main/res/layout/allowed_application_layout.xml
@@ -25,7 +25,6 @@
android:layout_rowSpan="1"
android:layout_marginEnd="8dip"
android:scaleType="centerInside"
- tools:background="@drawable/ic_btn_on_connecting"
android:contentDescription="@null" />
<androidx.appcompat.widget.AppCompatTextView