diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml
index 3d82d30..0043c09 100644
--- a/app/src/main/AndroidManifest.xml
+++ b/app/src/main/AndroidManifest.xml
@@ -63,8 +63,8 @@
diff --git a/app/src/main/kotlin/com/simplemobiletools/flashlight/helpers/MyWidgetTorchProvider.kt b/app/src/main/kotlin/com/simplemobiletools/flashlight/helpers/MyWidgetTorchProvider.kt
index eec512c..773bf8d 100644
--- a/app/src/main/kotlin/com/simplemobiletools/flashlight/helpers/MyWidgetTorchProvider.kt
+++ b/app/src/main/kotlin/com/simplemobiletools/flashlight/helpers/MyWidgetTorchProvider.kt
@@ -69,7 +69,7 @@ class MyWidgetTorchProvider : AppWidgetProvider() {
}
private fun getColoredIcon(context: Context, color: Int, alpha: Int): Bitmap {
- val drawable = context.resources.getColoredDrawableWithColor(R.drawable.ic_flashlight, color, alpha)
+ val drawable = context.resources.getColoredDrawableWithColor(R.drawable.ic_flashlight_vector, color, alpha)
return context.drawableToBitmap(drawable)
}
}
diff --git a/app/src/main/res/drawable-hdpi/ic_flashlight.png b/app/src/main/res/drawable-hdpi/ic_flashlight.png
deleted file mode 100644
index 610d86c..0000000
Binary files a/app/src/main/res/drawable-hdpi/ic_flashlight.png and /dev/null differ
diff --git a/app/src/main/res/drawable-xhdpi/ic_flashlight.png b/app/src/main/res/drawable-xhdpi/ic_flashlight.png
deleted file mode 100644
index 09a2dd3..0000000
Binary files a/app/src/main/res/drawable-xhdpi/ic_flashlight.png and /dev/null differ
diff --git a/app/src/main/res/drawable-xxhdpi/ic_flashlight.png b/app/src/main/res/drawable-xxhdpi/ic_flashlight.png
deleted file mode 100644
index 7fb6aab..0000000
Binary files a/app/src/main/res/drawable-xxhdpi/ic_flashlight.png and /dev/null differ
diff --git a/app/src/main/res/drawable-xxxhdpi/ic_flashlight.png b/app/src/main/res/drawable-xxxhdpi/ic_flashlight.png
deleted file mode 100644
index 8932391..0000000
Binary files a/app/src/main/res/drawable-xxxhdpi/ic_flashlight.png and /dev/null differ
diff --git a/app/src/main/res/drawable/ic_flashlight_vector.xml b/app/src/main/res/drawable/ic_flashlight_vector.xml
new file mode 100644
index 0000000..ad7b95d
--- /dev/null
+++ b/app/src/main/res/drawable/ic_flashlight_vector.xml
@@ -0,0 +1,3 @@
+
+
+
diff --git a/app/src/main/res/layout/activity_main.xml b/app/src/main/res/layout/activity_main.xml
index 89b05b7..bf32554 100644
--- a/app/src/main/res/layout/activity_main.xml
+++ b/app/src/main/res/layout/activity_main.xml
@@ -32,7 +32,7 @@
android:layout_height="@dimen/main_button_size"
android:layout_marginTop="@dimen/normal_margin"
android:layout_marginBottom="@dimen/normal_margin"
- android:background="@drawable/ic_flashlight"
+ android:background="@drawable/ic_flashlight_vector"
app:layout_constraintBottom_toTopOf="@+id/bright_display_btn"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.5"
diff --git a/app/src/main/res/layout/widget_torch_config.xml b/app/src/main/res/layout/widget_torch_config.xml
index 4fffe5c..ee1f3c3 100644
--- a/app/src/main/res/layout/widget_torch_config.xml
+++ b/app/src/main/res/layout/widget_torch_config.xml
@@ -23,7 +23,7 @@
android:id="@+id/config_image"
android:layout_width="@dimen/main_button_size"
android:layout_height="@dimen/main_button_size"
- android:background="@drawable/ic_flashlight" />
+ android:background="@drawable/ic_flashlight_vector" />
diff --git a/app/src/main/res/values/dimens.xml b/app/src/main/res/values/dimens.xml
index 29954e9..1c6dbeb 100644
--- a/app/src/main/res/values/dimens.xml
+++ b/app/src/main/res/values/dimens.xml
@@ -1,7 +1,7 @@
250dp
- 150dp
- 80dp
+ 180dp
+ 60dp
60dp
26sp