1
0
Fork 0
mirror of https://github.com/syncthing/syncthing-android.git synced 2024-12-22 19:01:30 +00:00

fix #1947 Auto icon color change (#1949)

This commit is contained in:
Pr0pHesyer 2023-07-21 14:18:25 +08:00 committed by GitHub
parent 9302357cc2
commit c708f31ac4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 9 additions and 19 deletions

View file

@ -5,6 +5,6 @@
android:viewportWidth="24.0"
android:width="24dp">
<path
android:fillColor="#FFFFFF"
android:fillColor="?attr/colorControlNormal"
android:pathData="M20,6h-8l-2,-2L4,4c-1.11,0 -1.99,0.89 -1.99,2L2,18c0,1.11 0.89,2 2,2h16c1.11,0 2,-0.89 2,-2L22,8c0,-1.11 -0.89,-2 -2,-2zM19,14h-3v3h-2v-3h-3v-2h3L14,9h2v3h3v2z"/>
</vector>

View file

@ -5,6 +5,6 @@
android:viewportWidth="24.0"
android:width="24dp">
<path
android:fillColor="#FFFFFF"
android:fillColor="?attr/colorControlNormal"
android:pathData="M9,16.17L4.83,12l-1.42,1.41L9,19 21,7l-1.41,-1.41z"/>
</vector>

View file

@ -5,6 +5,6 @@
android:viewportWidth="24.0"
android:width="24dp">
<path
android:fillColor="#FFFFFF"
android:fillColor="?attr/colorControlNormal"
android:pathData="M6,19c0,1.1 0.9,2 2,2h8c1.1,0 2,-0.9 2,-2V7H6v12zM19,4h-3.5l-1,-1h-5l-1,1H5v2h14V4z"/>
</vector>

View file

@ -1,10 +0,0 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:autoMirrored="true"
android:height="24dp"
android:viewportHeight="24.0"
android:viewportWidth="24.0"
android:width="24dp">
<path
android:fillColor="#FFFFFF"
android:pathData="M18,16.08c-0.76,0 -1.44,0.3 -1.96,0.77L8.91,12.7c0.05,-0.23 0.09,-0.46 0.09,-0.7s-0.04,-0.47 -0.09,-0.7l7.05,-4.11c0.54,0.5 1.25,0.81 2.04,0.81 1.66,0 3,-1.34 3,-3s-1.34,-3 -3,-3 -3,1.34 -3,3c0,0.24 0.04,0.47 0.09,0.7L8.04,9.81C7.5,9.31 6.79,9 6,9c-1.66,0 -3,1.34 -3,3s1.34,3 3,3c0.79,0 1.5,-0.31 2.04,-0.81l7.12,4.16c-0.05,0.21 -0.08,0.43 -0.08,0.65 0,1.61 1.31,2.92 2.92,2.92 1.61,0 2.92,-1.31 2.92,-2.92s-1.31,-2.92 -2.92,-2.92z"/>
</vector>

View file

@ -6,18 +6,18 @@
<item
android:id="@+id/create"
android:title="@string/add"
android:icon="@drawable/ic_check_white_24dp"
android:icon="@drawable/ic_check_24dp"
app:showAsAction="always|withText" />
<item
android:id="@+id/share_device_id"
android:icon="@drawable/ic_share_white_24dp"
android:icon="@drawable/ic_share_24dp"
android:title="@string/share_device_id"
app:showAsAction="ifRoom" />
<item
android:id="@+id/remove"
android:icon="@drawable/ic_delete_white_24dp"
android:icon="@drawable/ic_delete_24dp"
android:title="@string/delete_device"
app:showAsAction="ifRoom" />

View file

@ -11,7 +11,7 @@
<item
android:id="@+id/create_folder"
android:title="@string/create_fs_folder"
android:icon="@drawable/ic_add_folder_white_24dp"
android:icon="@drawable/ic_add_folder_24dp"
app:showAsAction="ifRoom" />
</menu>

View file

@ -5,13 +5,13 @@
<item
android:id="@+id/create"
android:icon="@drawable/ic_check_white_24dp"
android:icon="@drawable/ic_check_24dp"
android:title="@string/create"
app:showAsAction="always|withText" />
<item
android:id="@+id/remove"
android:icon="@drawable/ic_delete_white_24dp"
android:icon="@drawable/ic_delete_24dp"
android:title="@string/delete_folder"
app:showAsAction="ifRoom" />