mirror of
https://github.com/KDE/kdeconnect-android
synced 2025-08-22 01:51:47 +00:00
Replace keyboard PNGs with a vector drawable.
This commit is contained in:
parent
45b2ac263f
commit
8622c6c5f9
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 |
10
res/drawable/ic_action_keyboard_24dp.xml
Normal file
10
res/drawable/ic_action_keyboard_24dp.xml
Normal 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>
|
@ -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" />
|
||||
|
||||
|
@ -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"
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user