start replacing some icons with vectors

This commit is contained in:
tibbi 2019-08-08 19:46:40 +02:00
parent 197d504326
commit 1b5dae2e43
11 changed files with 12 additions and 11 deletions

View file

@ -19,6 +19,7 @@ android {
versionName "6.9.1" versionName "6.9.1"
multiDexEnabled true multiDexEnabled true
setProperty("archivesBaseName", "gallery") setProperty("archivesBaseName", "gallery")
vectorDrawables.useSupportLibrary = true
} }
signingConfigs { signingConfigs {
@ -61,7 +62,7 @@ android {
} }
dependencies { dependencies {
implementation 'com.simplemobiletools:commons:5.15.22' implementation 'com.simplemobiletools:commons:5.15.24'
implementation 'com.theartofdev.edmodo:android-image-cropper:2.8.0' implementation 'com.theartofdev.edmodo:android-image-cropper:2.8.0'
implementation 'androidx.multidex:multidex:2.0.1' implementation 'androidx.multidex:multidex:2.0.1'
implementation 'it.sephiroth.android.exif:library:1.0.1' implementation 'it.sephiroth.android.exif:library:1.0.1'

View file

@ -39,7 +39,7 @@
android:background="@drawable/circle_background" android:background="@drawable/circle_background"
android:contentDescription="@null" android:contentDescription="@null"
android:padding="@dimen/tiny_margin" android:padding="@dimen/tiny_margin"
android:src="@drawable/ic_check" android:src="@drawable/ic_check_vector"
android:visibility="gone"/> android:visibility="gone"/>
<ImageView <ImageView

View file

@ -39,7 +39,7 @@
android:background="@drawable/circle_background" android:background="@drawable/circle_background"
android:contentDescription="@null" android:contentDescription="@null"
android:padding="@dimen/tiny_margin" android:padding="@dimen/tiny_margin"
android:src="@drawable/ic_check" android:src="@drawable/ic_check_vector"
android:visibility="gone"/> android:visibility="gone"/>
<TextView <TextView

View file

@ -53,7 +53,7 @@
android:background="@drawable/circle_background" android:background="@drawable/circle_background"
android:contentDescription="@null" android:contentDescription="@null"
android:padding="@dimen/tiny_margin" android:padding="@dimen/tiny_margin"
android:src="@drawable/ic_check" android:src="@drawable/ic_check_vector"
android:visibility="gone"/> android:visibility="gone"/>
<TextView <TextView

View file

@ -25,7 +25,7 @@
android:layout_margin="@dimen/small_margin" android:layout_margin="@dimen/small_margin"
android:background="@drawable/circle_background" android:background="@drawable/circle_background"
android:padding="@dimen/tiny_margin" android:padding="@dimen/tiny_margin"
android:src="@drawable/ic_check" android:src="@drawable/ic_check_vector"
android:visibility="gone"/> android:visibility="gone"/>
<TextView <TextView

View file

@ -3,7 +3,7 @@
xmlns:app="http://schemas.android.com/apk/res-auto"> xmlns:app="http://schemas.android.com/apk/res-auto">
<item <item
android:id="@+id/cab_confirm_selection" android:id="@+id/cab_confirm_selection"
android:icon="@drawable/ic_check" android:icon="@drawable/ic_check_vector"
android:title="@string/confirm_selection" android:title="@string/confirm_selection"
app:showAsAction="ifRoom"/> app:showAsAction="ifRoom"/>
<item <item

View file

@ -3,7 +3,7 @@
xmlns:app="http://schemas.android.com/apk/res-auto"> xmlns:app="http://schemas.android.com/apk/res-auto">
<item <item
android:id="@+id/save_as" android:id="@+id/save_as"
android:icon="@drawable/ic_check" android:icon="@drawable/ic_check_vector"
android:title="@string/save_as" android:title="@string/save_as"
app:showAsAction="ifRoom"/> app:showAsAction="ifRoom"/>
<item <item

View file

@ -9,7 +9,7 @@
app:showAsAction="collapseActionView|always"/> app:showAsAction="collapseActionView|always"/>
<item <item
android:id="@+id/open_camera" android:id="@+id/open_camera"
android:icon="@drawable/ic_camera" android:icon="@drawable/ic_camera_vector"
android:title="@string/open_camera" android:title="@string/open_camera"
app:showAsAction="ifRoom"/> app:showAsAction="ifRoom"/>
<item <item

View file

@ -40,7 +40,7 @@
app:showAsAction="never"/> app:showAsAction="never"/>
<item <item
android:id="@+id/open_camera" android:id="@+id/open_camera"
android:icon="@drawable/ic_camera" android:icon="@drawable/ic_camera_vector"
android:title="@string/open_camera" android:title="@string/open_camera"
app:showAsAction="ifRoom"/> app:showAsAction="ifRoom"/>
<item <item

View file

@ -3,7 +3,7 @@
xmlns:app="http://schemas.android.com/apk/res-auto"> xmlns:app="http://schemas.android.com/apk/res-auto">
<item <item
android:id="@+id/save" android:id="@+id/save"
android:icon="@drawable/ic_check" android:icon="@drawable/ic_check_vector"
android:title="@string/save" android:title="@string/save"
app:showAsAction="ifRoom"/> app:showAsAction="ifRoom"/>
</menu> </menu>

View file

@ -3,7 +3,7 @@
xmlns:app="http://schemas.android.com/apk/res-auto"> xmlns:app="http://schemas.android.com/apk/res-auto">
<item <item
android:id="@+id/menu_save_as" android:id="@+id/menu_save_as"
android:icon="@drawable/ic_check" android:icon="@drawable/ic_check_vector"
android:title="@string/save_as" android:title="@string/save_as"
android:visible="false" android:visible="false"
app:showAsAction="ifRoom"/> app:showAsAction="ifRoom"/>