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

Replace keyboard PNGs with a vector drawable.

This commit is contained in:
Isira Seneviratne 2020-07-08 11:23:43 +05:30 committed by Nicolas Fella
parent 45b2ac263f
commit 8622c6c5f9
8 changed files with 13 additions and 3 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 351 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 431 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 451 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 468 B

View File

@ -0,0 +1,10 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24"
android:tint="?attr/colorControlNormal">
<path
android:fillColor="@android:color/white"
android:pathData="M20,5L4,5c-1.1,0 -1.99,0.9 -1.99,2L2,17c0,1.1 0.9,2 2,2h16c1.1,0 2,-0.9 2,-2L22,7c0,-1.1 -0.9,-2 -2,-2zM11,8h2v2h-2L11,8zM11,11h2v2h-2v-2zM8,8h2v2L8,10L8,8zM8,11h2v2L8,13v-2zM7,13L5,13v-2h2v2zM7,10L5,10L5,8h2v2zM16,17L8,17v-2h8v2zM16,13h-2v-2h2v2zM16,10h-2L14,8h2v2zM19,13h-2v-2h2v2zM19,10h-2L17,8h2v2z"/>
</vector>

View File

@ -4,7 +4,7 @@
<item
android:id="@+id/menu_show_keyboard"
android:icon="@drawable/ic_action_keyboard"
android:icon="@drawable/ic_action_keyboard_24dp"
android:title="@string/show_keyboard"
kdeconnect:showAsAction="ifRoom" />

View File

@ -15,7 +15,7 @@
android:keyWidth="40%" />
<Key
android:codes="2"
android:keyIcon="@drawable/ic_action_keyboard"
android:keyIcon="@drawable/ic_action_keyboard_24dp"
android:keyWidth="40%" />
<Key
android:codes="3"

View File

@ -157,7 +157,7 @@ public class RemoteKeyboardPlugin extends Plugin {
@Override
public Drawable getIcon() {
return ContextCompat.getDrawable(context, R.drawable.ic_action_keyboard);
return ContextCompat.getDrawable(context, R.drawable.ic_action_keyboard_24dp);
}
@Override