2
0
mirror of https://github.com/KDE/kdeconnect-android synced 2025-08-22 18:07:55 +00:00

Use material design settings icon

This commit is contained in:
Daniel Tang 2020-04-26 01:38:31 -04:00
parent b03cfa56ec
commit 4291473106
No known key found for this signature in database
GPG Key ID: E1523803636E3951
11 changed files with 8 additions and 3 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 557 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 590 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 365 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 365 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 713 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 750 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

View File

@ -0,0 +1,5 @@
<vector android:height="32dp" android:tint="#FFFFFF"
android:viewportHeight="24" android:viewportWidth="24"
android:width="32dp" xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillColor="#FF000000" android:pathData="M19.1,12.9a2.8,2.8 0,0 0,0.1 -0.9,2.8 2.8,0 0,0 -0.1,-0.9l2.1,-1.6a0.7,0.7 0,0 0,0.1 -0.6L19.4,5.5a0.7,0.7 0,0 0,-0.6 -0.2l-2.4,1a6.5,6.5 0,0 0,-1.6 -0.9l-0.4,-2.6a0.5,0.5 0,0 0,-0.5 -0.4H10.1a0.5,0.5 0,0 0,-0.5 0.4L9.3,5.4a5.6,5.6 0,0 0,-1.7 0.9l-2.4,-1a0.4,0.4 0,0 0,-0.5 0.2l-2,3.4c-0.1,0.2 0,0.4 0.2,0.6l2,1.6a2.8,2.8 0,0 0,-0.1 0.9,2.8 2.8,0 0,0 0.1,0.9L2.8,14.5a0.7,0.7 0,0 0,-0.1 0.6l1.9,3.4a0.7,0.7 0,0 0,0.6 0.2l2.4,-1a6.5,6.5 0,0 0,1.6 0.9l0.4,2.6a0.5,0.5 0,0 0,0.5 0.4h3.8a0.5,0.5 0,0 0,0.5 -0.4l0.3,-2.6a5.6,5.6 0,0 0,1.7 -0.9l2.4,1a0.4,0.4 0,0 0,0.5 -0.2l2,-3.4c0.1,-0.2 0,-0.4 -0.2,-0.6ZM12,15.6A3.6,3.6 0,1 1,15.6 12,3.6 3.6,0 0,1 12,15.6Z"/>
</vector>

View File

@ -81,6 +81,6 @@
android:contentDescription="@string/settings_icon_description" android:contentDescription="@string/settings_icon_description"
android:padding="8dip" android:padding="8dip"
app:tint="?attr/colorControlNormal" app:tint="?attr/colorControlNormal"
android:src="@drawable/ic_action_settings_inverted" /> android:src="@drawable/ic_settings_white_32dp" />
</LinearLayout> </LinearLayout>

View File

@ -11,7 +11,7 @@
android:keyWidth="20%" /> android:keyWidth="20%" />
<Key <Key
android:codes="1" android:codes="1"
android:keyIcon="@drawable/ic_action_settings" android:keyIcon="@drawable/ic_settings_white_32dp"
android:keyWidth="40%" /> android:keyWidth="40%" />
<Key <Key
android:codes="2" android:codes="2"

View File

@ -271,7 +271,7 @@ public class MainActivity extends AppCompatActivity implements SharedPreferences
addDeviceItem.setCheckable(true); addDeviceItem.setCheckable(true);
MenuItem settingsItem = menu.add(Menu.FIRST, MENU_ENTRY_SETTINGS, 1000, R.string.settings); MenuItem settingsItem = menu.add(Menu.FIRST, MENU_ENTRY_SETTINGS, 1000, R.string.settings);
settingsItem.setIcon(R.drawable.ic_action_settings); settingsItem.setIcon(R.drawable.ic_settings_white_32dp);
settingsItem.setCheckable(true); settingsItem.setCheckable(true);
//Ids might have changed //Ids might have changed