mirror of
https://github.com/Helium314/HeliBoard.git
synced 2025-04-21 22:59:10 +00:00
Add Rounded style (#260)
This commit is contained in:
parent
c2a48b27fe
commit
e1da2ffdc1
68 changed files with 994 additions and 24 deletions
|
@ -26,6 +26,7 @@ public final class KeyboardTheme implements Comparable<KeyboardTheme> {
|
|||
// old themes
|
||||
public static final String STYLE_MATERIAL = "Material";
|
||||
public static final String STYLE_HOLO = "Holo";
|
||||
public static final String STYLE_ROUNDED = "Rounded";
|
||||
|
||||
// new themes using the custom colors
|
||||
public static final String THEME_LIGHT = "light";
|
||||
|
@ -36,15 +37,17 @@ public final class KeyboardTheme implements Comparable<KeyboardTheme> {
|
|||
public static final String THEME_USER = "user";
|
||||
public static final String THEME_USER_NIGHT = "user_night";
|
||||
public static final String[] COLORS = new String[] { THEME_LIGHT, THEME_HOLO_WHITE, THEME_DARK, THEME_DARKER, THEME_BLACK, THEME_USER };
|
||||
public static final String[] COLORS_DARK = new String[] { THEME_HOLO_WHITE, THEME_DARK, THEME_DARKER, THEME_BLACK, THEME_USER_NIGHT};
|
||||
public static final String[] COLORS_DARK = new String[] { THEME_HOLO_WHITE, THEME_DARK, THEME_DARKER, THEME_BLACK, THEME_USER_NIGHT };
|
||||
|
||||
public static final String[] STYLES = { STYLE_MATERIAL, STYLE_HOLO };
|
||||
public static final String[] STYLES = { STYLE_MATERIAL, STYLE_HOLO, STYLE_ROUNDED };
|
||||
|
||||
// These should be aligned with Keyboard.themeId and Keyboard.Case.keyboardTheme
|
||||
// attributes' values in attrs.xml.
|
||||
public static final int THEME_ID_HOLO_BASE = 0;
|
||||
public static final int THEME_ID_LXX_BASE = 1;
|
||||
public static final int THEME_ID_LXX_BASE_BORDER = 2;
|
||||
public static final int THEME_ID_ROUNDED_BASE = 3;
|
||||
public static final int THEME_ID_ROUNDED_BASE_BORDER = 4;
|
||||
public static final int DEFAULT_THEME_ID = THEME_ID_LXX_BASE;
|
||||
|
||||
/* package private for testing */
|
||||
|
@ -55,6 +58,10 @@ public final class KeyboardTheme implements Comparable<KeyboardTheme> {
|
|||
VERSION_CODES.LOLLIPOP),
|
||||
new KeyboardTheme(THEME_ID_LXX_BASE_BORDER, "LXXBaseBorder", R.style.KeyboardTheme_LXX_Base_Border,
|
||||
VERSION_CODES.LOLLIPOP),
|
||||
new KeyboardTheme(THEME_ID_ROUNDED_BASE, "RoundedBase", R.style.KeyboardTheme_Rounded_Base,
|
||||
VERSION_CODES.LOLLIPOP),
|
||||
new KeyboardTheme(THEME_ID_ROUNDED_BASE_BORDER, "RoundedBaseBorder", R.style.KeyboardTheme_Rounded_Base_Border,
|
||||
VERSION_CODES.LOLLIPOP)
|
||||
};
|
||||
|
||||
static {
|
||||
|
@ -119,6 +126,8 @@ public final class KeyboardTheme implements Comparable<KeyboardTheme> {
|
|||
final int matchingId;
|
||||
if (style.equals(STYLE_HOLO))
|
||||
matchingId = THEME_ID_HOLO_BASE;
|
||||
else if (style.equals(STYLE_ROUNDED))
|
||||
matchingId = borders ? THEME_ID_ROUNDED_BASE_BORDER : THEME_ID_ROUNDED_BASE;
|
||||
else
|
||||
matchingId = borders ? THEME_ID_LXX_BASE_BORDER : THEME_ID_LXX_BASE;
|
||||
for (KeyboardTheme keyboardTheme : KEYBOARD_THEMES) {
|
||||
|
|
|
@ -6,6 +6,8 @@
|
|||
|
||||
package org.dslul.openboard.inputmethod.keyboard;
|
||||
|
||||
import static org.dslul.openboard.inputmethod.keyboard.KeyboardTheme.STYLE_ROUNDED;
|
||||
|
||||
import android.content.Context;
|
||||
import android.content.res.TypedArray;
|
||||
import android.graphics.Bitmap;
|
||||
|
@ -461,6 +463,7 @@ public class KeyboardView extends View {
|
|||
blendAlpha(paint, params.mAnimAlpha);
|
||||
final float labelCharHeight = TypefaceUtils.getReferenceCharHeight(paint);
|
||||
final float labelCharWidth = TypefaceUtils.getReferenceCharWidth(paint);
|
||||
final boolean isFunctionalKeyAndRoundedStyle = mColors.getThemeStyle().equals(STYLE_ROUNDED) && key.isFunctional();
|
||||
final float hintX, hintBaseline;
|
||||
if (key.hasHintLabel()) {
|
||||
// The hint label is placed just right of the key label. Used mainly on
|
||||
|
@ -482,14 +485,16 @@ public class KeyboardView extends View {
|
|||
// The hint letter is placed at top-right corner of the key. Used mainly on phone.
|
||||
final float hintDigitWidth = TypefaceUtils.getReferenceDigitWidth(paint);
|
||||
final float hintLabelWidth = TypefaceUtils.getStringWidth(hintLabel, paint);
|
||||
hintX = keyWidth - mKeyHintLetterPadding
|
||||
- Math.max(hintDigitWidth, hintLabelWidth) / 2.0f;
|
||||
hintBaseline = -paint.ascent();
|
||||
hintX = isFunctionalKeyAndRoundedStyle
|
||||
? keyWidth - hintBaseline
|
||||
: keyWidth - mKeyHintLetterPadding - Math.max(hintDigitWidth, hintLabelWidth) / 2.0f;
|
||||
paint.setTextAlign(Align.CENTER);
|
||||
}
|
||||
final float adjustmentY = params.mHintLabelVerticalAdjustment * labelCharHeight;
|
||||
canvas.drawText(
|
||||
hintLabel, 0, hintLabel.length(), hintX, hintBaseline + adjustmentY, paint);
|
||||
final float adjustmentY = isFunctionalKeyAndRoundedStyle
|
||||
? hintBaseline * 0.5f
|
||||
: params.mHintLabelVerticalAdjustment * labelCharHeight;
|
||||
canvas.drawText(hintLabel, 0, hintLabel.length(), hintX, hintBaseline + adjustmentY, paint);
|
||||
}
|
||||
|
||||
// Draw key icon.
|
||||
|
@ -517,7 +522,7 @@ public class KeyboardView extends View {
|
|||
}
|
||||
}
|
||||
|
||||
// Draw popup hint "..." at the bottom right corner of the key.
|
||||
// Draw popup hint "..." at the center or bottom right corner of the key, depending on style.
|
||||
protected void drawKeyPopupHint(@NonNull final Key key, @NonNull final Canvas canvas,
|
||||
@NonNull final Paint paint, @NonNull final KeyDrawParams params) {
|
||||
if (TextUtils.isEmpty(mKeyPopupHintLetter)) {
|
||||
|
@ -525,13 +530,21 @@ public class KeyboardView extends View {
|
|||
}
|
||||
final int keyWidth = key.getDrawWidth();
|
||||
final int keyHeight = key.getHeight();
|
||||
|
||||
final float labelCharWidth = TypefaceUtils.getReferenceCharWidth(paint);
|
||||
final float hintX;
|
||||
final float hintBaseline = paint.ascent();
|
||||
paint.setTypeface(params.mTypeface);
|
||||
paint.setTextSize(params.mHintLetterSize);
|
||||
paint.setColor(params.mHintLabelColor);
|
||||
paint.setTextAlign(Align.CENTER);
|
||||
final float hintX = keyWidth - mKeyHintLetterPadding
|
||||
- TypefaceUtils.getReferenceCharWidth(paint) / 2.0f;
|
||||
if (mColors.getThemeStyle().equals(STYLE_ROUNDED)) {
|
||||
if (key.getBackgroundType() == Key.BACKGROUND_TYPE_SPACEBAR)
|
||||
hintX = keyWidth + hintBaseline + labelCharWidth * 0.1f;
|
||||
else
|
||||
hintX = key.isFunctional() || key.isActionKey() ? keyWidth / 2.0f : keyWidth - mKeyHintLetterPadding - labelCharWidth / 2.0f;
|
||||
} else {
|
||||
hintX = keyWidth - mKeyHintLetterPadding - TypefaceUtils.getReferenceCharWidth(paint) / 2.0f;
|
||||
}
|
||||
final float hintY = keyHeight - mKeyPopupHintLetterPadding;
|
||||
canvas.drawText(mKeyPopupHintLetter, hintX, hintY, paint);
|
||||
}
|
||||
|
|
|
@ -131,8 +131,14 @@ class AppearanceSettingsFragment : SubScreenFragment() {
|
|||
|
||||
private fun setupTheme() {
|
||||
stylePref.apply {
|
||||
entries = KeyboardTheme.STYLES
|
||||
entryValues = KeyboardTheme.STYLES
|
||||
entries = entryValues.map {
|
||||
val resId = resources.getIdentifier("style_name_$it", "string", requireContext().packageName)
|
||||
if (resId == 0) it else getString(resId)
|
||||
}.toTypedArray()
|
||||
if (value !in entryValues)
|
||||
value = entryValues.first().toString()
|
||||
|
||||
onPreferenceChangeListener = Preference.OnPreferenceChangeListener { _, value ->
|
||||
summary = entries[entryValues.indexOfFirst { it == value }]
|
||||
setColorPrefs(value.toString())
|
||||
|
|
|
@ -58,7 +58,6 @@ import java.util.ArrayList;
|
|||
import java.util.concurrent.atomic.AtomicBoolean;
|
||||
|
||||
import androidx.appcompat.widget.PopupMenu;
|
||||
import androidx.core.content.ContextCompat;
|
||||
import androidx.core.view.ViewCompat;
|
||||
|
||||
public final class SuggestionStripView extends RelativeLayout implements OnClickListener,
|
||||
|
@ -87,6 +86,7 @@ public final class SuggestionStripView extends RelativeLayout implements OnClick
|
|||
private final ImageButton mToolbarKey;
|
||||
private final Drawable mIncognitoIcon;
|
||||
private final Drawable mToolbarArrowIcon;
|
||||
private final Drawable mBinIcon;
|
||||
private final ViewGroup mToolbar;
|
||||
private final View mToolbarContainer;
|
||||
private final ViewGroup mPinnedKeys;
|
||||
|
@ -159,6 +159,10 @@ public final class SuggestionStripView extends RelativeLayout implements OnClick
|
|||
final ImageButton selectAllKey = findViewById(R.id.suggestions_strip_select_all_key);
|
||||
final ImageButton settingsKey = findViewById(R.id.suggestions_strip_settings_key);
|
||||
final ImageButton oneHandedKey = findViewById(R.id.suggestions_strip_one_handed_key);
|
||||
final ImageButton arrowLeft = findViewById(R.id.suggestions_strip_left_key);
|
||||
final ImageButton arrowRight = findViewById(R.id.suggestions_strip_right_key);
|
||||
final ImageButton arrowUp = findViewById(R.id.suggestions_strip_up_key);
|
||||
final ImageButton arrowDown = findViewById(R.id.suggestions_strip_down_key);
|
||||
|
||||
for (int pos = 0; pos < SuggestedWords.MAX_SUGGESTIONS; pos++) {
|
||||
final TextView word = new TextView(context, null, R.attr.suggestionWordStyle);
|
||||
|
@ -190,17 +194,22 @@ public final class SuggestionStripView extends RelativeLayout implements OnClick
|
|||
|
||||
final TypedArray keyboardAttr = context.obtainStyledAttributes(attrs, R.styleable.Keyboard, defStyle, R.style.SuggestionStripView);
|
||||
mIncognitoIcon = keyboardAttr.getDrawable(R.styleable.Keyboard_iconIncognitoKey);
|
||||
mToolbarArrowIcon = keyboardAttr.getDrawable(R.styleable.Keyboard_iconToolbarKey);
|
||||
mBinIcon = keyboardAttr.getDrawable(R.styleable.Keyboard_iconBin);
|
||||
voiceKey.setImageDrawable(keyboardAttr.getDrawable(R.styleable.Keyboard_iconShortcutKey));
|
||||
clipboardKey.setImageDrawable(keyboardAttr.getDrawable(R.styleable.Keyboard_iconClipboardNormalKey));
|
||||
settingsKey.setImageDrawable(keyboardAttr.getDrawable(R.styleable.Keyboard_iconSettingsKey));
|
||||
selectAllKey.setImageDrawable(ContextCompat.getDrawable(getContext(), R.drawable.ic_select_all));
|
||||
selectAllKey.setImageDrawable(keyboardAttr.getDrawable(R.styleable.Keyboard_iconSelectAll));
|
||||
arrowLeft.setImageDrawable(keyboardAttr.getDrawable(R.styleable.Keyboard_iconArrowLeft));
|
||||
arrowRight.setImageDrawable(keyboardAttr.getDrawable(R.styleable.Keyboard_iconArrowRight));
|
||||
arrowUp.setImageDrawable(keyboardAttr.getDrawable(R.styleable.Keyboard_iconArrowUp));
|
||||
arrowDown.setImageDrawable(keyboardAttr.getDrawable(R.styleable.Keyboard_iconArrowDown));
|
||||
oneHandedKey.setImageDrawable(keyboardAttr.getDrawable(R.styleable.Keyboard_iconStartOneHandedMode));
|
||||
keyboardAttr.recycle();
|
||||
|
||||
final int toolbarHeight = Math.min(mToolbarKey.getLayoutParams().height, (int) getResources().getDimension(R.dimen.config_suggestions_strip_height));
|
||||
mToolbarKey.getLayoutParams().height = toolbarHeight;
|
||||
mToolbarKey.getLayoutParams().width = toolbarHeight; // we want it square
|
||||
mToolbarArrowIcon = ContextCompat.getDrawable(context, R.drawable.ic_arrow_right);
|
||||
mDefaultBackground = mToolbarKey.getBackground();
|
||||
colors.setBackgroundColor(mDefaultBackground, BackgroundType.SUGGESTION);
|
||||
mEnabledToolKeyBackground.setColors(new int[] {colors.getAccent() | 0xFF000000, Color.TRANSPARENT}); // ignore alpha on accent color
|
||||
|
@ -370,7 +379,7 @@ public final class SuggestionStripView extends RelativeLayout implements OnClick
|
|||
|
||||
@SuppressLint("ClickableViewAccessibility") // no need for View#performClick, we return false mostly anyway
|
||||
private boolean onLongClickSuggestion(final TextView wordView) {
|
||||
final Drawable icon = ContextCompat.getDrawable(getContext(), R.drawable.ic_delete);
|
||||
final Drawable icon = mBinIcon;
|
||||
icon.setColorFilter(Settings.getInstance().getCurrent().mColors.getKeyTextFilter());
|
||||
int w = icon.getIntrinsicWidth();
|
||||
int h = icon.getIntrinsicWidth();
|
||||
|
|
Binary file not shown.
After Width: | Height: | Size: 3.9 KiB |
Binary file not shown.
After Width: | Height: | Size: 2.9 KiB |
Binary file not shown.
After Width: | Height: | Size: 4.7 KiB |
Binary file not shown.
After Width: | Height: | Size: 7.2 KiB |
Binary file not shown.
After Width: | Height: | Size: 8.7 KiB |
|
@ -0,0 +1,33 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2013 The Android Open Source Project
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<!-- Action keys. -->
|
||||
<item android:state_active="true" android:state_pressed="true"
|
||||
android:drawable="@drawable/btn_keyboard_key_pressed_functional_rounded_base_border" />
|
||||
<item android:state_active="true"
|
||||
android:drawable="@drawable/btn_keyboard_key_normal_functional_rounded_base_border" />
|
||||
|
||||
<!-- Toggle keys. Use checkable/checked state. -->
|
||||
<item android:state_checkable="true" android:state_checked="true" android:state_pressed="true"
|
||||
android:drawable="@drawable/btn_keyboard_key_pressed_functional_rounded_base_border" />
|
||||
<item android:state_checkable="true" android:state_pressed="true"
|
||||
android:drawable="@drawable/btn_keyboard_key_pressed_functional_rounded_base_border" />
|
||||
<item android:state_checkable="true" android:state_checked="true"
|
||||
android:drawable="@drawable/btn_keyboard_key_normal_functional_rounded_base_border" />
|
||||
<item android:state_checkable="true"
|
||||
android:drawable="@drawable/btn_keyboard_key_normal_functional_rounded_base_border" />
|
||||
|
||||
<!-- Empty background keys. -->
|
||||
<item android:state_empty="true" android:state_pressed="true"
|
||||
android:drawable="@drawable/btn_keyboard_key_pressed_functional_rounded_base_border" />
|
||||
<item android:state_empty="true"
|
||||
android:drawable="@android:color/transparent" />
|
||||
|
||||
<!-- Normal keys. -->
|
||||
<item android:state_pressed="true"
|
||||
android:drawable="@drawable/btn_keyboard_key_pressed_functional_rounded_base_border" />
|
||||
<item android:drawable="@drawable/btn_keyboard_key_normal_functional_rounded_base_border" />
|
||||
</selector>
|
|
@ -0,0 +1,16 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item>
|
||||
<shape android:shape="rectangle">
|
||||
<solid android:color="@color/key_bottom_bevel_lxx_base" />
|
||||
<!-- Workaround to always round the functional key -->
|
||||
<corners android:radius="500dp" />
|
||||
</shape>
|
||||
</item>
|
||||
<item android:bottom="1dp">
|
||||
<shape android:shape="rectangle">
|
||||
<solid android:color="@color/key_background_normal_lxx_base_border" />
|
||||
<corners android:radius="500dp" />
|
||||
</shape>
|
||||
</item>
|
||||
</layer-list>
|
|
@ -0,0 +1,15 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item>
|
||||
<shape android:shape="rectangle">
|
||||
<solid android:color="@color/key_bottom_bevel_lxx_base" />
|
||||
<corners android:radius="10dp" />
|
||||
</shape>
|
||||
</item>
|
||||
<item android:bottom="1dp">
|
||||
<shape android:shape="rectangle">
|
||||
<solid android:color="@color/key_background_normal_lxx_base_border" />
|
||||
<corners android:radius="10dp" />
|
||||
</shape>
|
||||
</item>
|
||||
</layer-list>
|
|
@ -0,0 +1,15 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:state_pressed="true">
|
||||
<shape android:shape="rectangle">
|
||||
<solid android:color="@color/key_background_normal_lxx_base_border" />
|
||||
<corners android:radius="10dp" />
|
||||
</shape>
|
||||
</item>
|
||||
<item>
|
||||
<shape android:shape="rectangle">
|
||||
<solid android:color="@android:color/white" />
|
||||
<corners android:radius="10dp" />
|
||||
</shape>
|
||||
</item>
|
||||
</selector>
|
|
@ -0,0 +1,7 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
<solid android:color="@color/key_background_normal_lxx_base_border" />
|
||||
<!-- Workaround to always round the functional key -->
|
||||
<corners android:radius="500dp" />
|
||||
</shape>
|
|
@ -0,0 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
<solid android:color="@color/key_background_normal_lxx_base_border"/>
|
||||
<corners android:radius="10dp"/>
|
||||
</shape>
|
33
app/src/main/res/drawable/btn_keyboard_key_rounded_base.xml
Normal file
33
app/src/main/res/drawable/btn_keyboard_key_rounded_base.xml
Normal file
|
@ -0,0 +1,33 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2014 The Android Open Source Project
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<!-- Action keys. -->
|
||||
<item android:state_active="true" android:state_pressed="true"
|
||||
android:drawable="@drawable/btn_keyboard_key_action_pressed_lxx_base" />
|
||||
<item android:state_active="true"
|
||||
android:drawable="@drawable/btn_keyboard_key_action_normal_lxx_base" />
|
||||
|
||||
<!-- Toggle keys. Use checkable/checked state. -->
|
||||
<item android:state_checkable="true" android:state_checked="true" android:state_pressed="true"
|
||||
android:drawable="@drawable/btn_keyboard_key_pressed_rounded_base" />
|
||||
<item android:state_checkable="true" android:state_pressed="true"
|
||||
android:drawable="@drawable/btn_keyboard_key_pressed_rounded_base" />
|
||||
<item android:state_checkable="true" android:state_checked="true"
|
||||
android:drawable="@color/key_background_lxx_base" />
|
||||
<item android:state_checkable="true"
|
||||
android:drawable="@color/key_background_lxx_base" />
|
||||
|
||||
<!-- Empty background keys. -->
|
||||
<item android:state_empty="true" android:state_pressed="true"
|
||||
android:drawable="@drawable/btn_keyboard_key_pressed_rounded_base" />
|
||||
<item android:state_empty="true"
|
||||
android:drawable="@android:color/transparent" />
|
||||
|
||||
<!-- Normal keys. -->
|
||||
<item android:state_pressed="true"
|
||||
android:drawable="@drawable/btn_keyboard_key_pressed_rounded_base" />
|
||||
<item android:drawable="@color/key_background_lxx_base" />
|
||||
</selector>
|
|
@ -0,0 +1,33 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2013 The Android Open Source Project
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<!-- Action keys. -->
|
||||
<item android:state_active="true" android:state_pressed="true"
|
||||
android:drawable="@drawable/btn_keyboard_key_pressed_functional_rounded_base_border" />
|
||||
<item android:state_active="true"
|
||||
android:drawable="@drawable/btn_keyboard_key_normal_functional_rounded_base_border" />
|
||||
|
||||
<!-- Toggle keys. Use checkable/checked state. -->
|
||||
<item android:state_checkable="true" android:state_checked="true" android:state_pressed="true"
|
||||
android:drawable="@drawable/btn_keyboard_key_pressed_rounded_base" />
|
||||
<item android:state_checkable="true" android:state_pressed="true"
|
||||
android:drawable="@drawable/btn_keyboard_key_pressed_rounded_base" />
|
||||
<item android:state_checkable="true" android:state_checked="true"
|
||||
android:drawable="@drawable/btn_keyboard_key_normal_rounded_base_border" />
|
||||
<item android:state_checkable="true"
|
||||
android:drawable="@drawable/btn_keyboard_key_normal_rounded_base_border" />
|
||||
|
||||
<!-- Empty background keys. -->
|
||||
<item android:state_empty="true" android:state_pressed="true"
|
||||
android:drawable="@drawable/btn_keyboard_key_pressed_rounded_base" />
|
||||
<item android:state_empty="true"
|
||||
android:drawable="@android:color/transparent" />
|
||||
|
||||
<!-- Normal keys. -->
|
||||
<item android:state_pressed="true"
|
||||
android:drawable="@drawable/btn_keyboard_key_pressed_rounded_base" />
|
||||
<item android:drawable="@drawable/btn_keyboard_key_normal_rounded_base_border" />
|
||||
</selector>
|
11
app/src/main/res/drawable/btn_suggestion_rounded_base.xml
Normal file
11
app/src/main/res/drawable/btn_suggestion_rounded_base.xml
Normal file
|
@ -0,0 +1,11 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2014 The Android Open Source Project
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
<selector
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item
|
||||
android:state_pressed="true"
|
||||
android:drawable="@drawable/btn_keyboard_key_pressed_rounded_base" />
|
||||
</selector>
|
5
app/src/main/res/drawable/ic_arrow_down.xml
Normal file
5
app/src/main/res/drawable/ic_arrow_down.xml
Normal file
|
@ -0,0 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<rotate xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:fromDegrees="270"
|
||||
android:drawable="@drawable/ic_arrow_left">
|
||||
</rotate>
|
5
app/src/main/res/drawable/ic_arrow_down_rounded.xml
Normal file
5
app/src/main/res/drawable/ic_arrow_down_rounded.xml
Normal file
|
@ -0,0 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<rotate xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:fromDegrees="270"
|
||||
android:drawable="@drawable/ic_arrow_left_rounded">
|
||||
</rotate>
|
14
app/src/main/res/drawable/ic_arrow_left_rounded.xml
Normal file
14
app/src/main/res/drawable/ic_arrow_left_rounded.xml
Normal file
|
@ -0,0 +1,14 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
SPDX-FileCopyrightText: Material Design Authors / Google LLC
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="960"
|
||||
android:viewportHeight="960">
|
||||
<path
|
||||
android:fillColor="#FFF"
|
||||
android:pathData="M432,480L588,636Q599,647 599,664Q599,681 588,692Q577,703 560,703Q543,703 532,692L348,508Q342,502 339.5,495Q337,488 337,480Q337,472 339.5,465Q342,458 348,452L532,268Q543,257 560,257Q577,257 588,268Q599,279 599,296Q599,313 588,324L432,480Z"/>
|
||||
</vector>
|
5
app/src/main/res/drawable/ic_arrow_right_rounded.xml
Normal file
5
app/src/main/res/drawable/ic_arrow_right_rounded.xml
Normal file
|
@ -0,0 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<rotate xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:fromDegrees="180"
|
||||
android:drawable="@drawable/ic_arrow_left_rounded">
|
||||
</rotate>
|
5
app/src/main/res/drawable/ic_arrow_up_rounded.xml
Normal file
5
app/src/main/res/drawable/ic_arrow_up_rounded.xml
Normal file
|
@ -0,0 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<rotate xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:fromDegrees="90"
|
||||
android:drawable="@drawable/ic_arrow_left_rounded">
|
||||
</rotate>
|
14
app/src/main/res/drawable/ic_clipboard_pin_rounded.xml
Normal file
14
app/src/main/res/drawable/ic_clipboard_pin_rounded.xml
Normal file
|
@ -0,0 +1,14 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
SPDX-FileCopyrightText: Material Design Authors / Google LLC
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="24"
|
||||
android:viewportHeight="24">
|
||||
<path
|
||||
android:fillColor="#FFF"
|
||||
android:pathData="M14,4v5c0,1.12 0.37,2.16 1,3H9c0.65,-0.86 1,-1.9 1,-3V4H14M17,2H7C6.45,2 6,2.45 6,3c0,0.55 0.45,1 1,1c0,0 0,0 0,0l1,0v5c0,1.66 -1.34,3 -3,3v2h5.97v7l1,1l1,-1v-7H19v-2c0,0 0,0 0,0c-1.66,0 -3,-1.34 -3,-3V4l1,0c0,0 0,0 0,0c0.55,0 1,-0.45 1,-1C18,2.45 17.55,2 17,2L17,2z"/>
|
||||
</vector>
|
14
app/src/main/res/drawable/ic_delete_rounded.xml
Normal file
14
app/src/main/res/drawable/ic_delete_rounded.xml
Normal file
|
@ -0,0 +1,14 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
SPDX-FileCopyrightText: Material Design Authors / Google LLC
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="32dp"
|
||||
android:height="32dp"
|
||||
android:viewportWidth="960"
|
||||
android:viewportHeight="960">
|
||||
<path
|
||||
android:fillColor="#FFF"
|
||||
android:pathData="M292.31,820q-29.92,0 -51.12,-21.19 -21.19,-21.19 -21.19,-51.12L220,240h-10q-12.77,0 -21.38,-8.61 -8.62,-8.61 -8.62,-21.38t8.62,-21.38q8.61,-8.62 21.38,-8.62L360,180q0,-14.69 10.35,-25.04t25.04,-10.35h169.23q14.69,0 25.04,10.35T600,180h150q12.77,0 21.38,8.62 8.62,8.61 8.62,21.38t-8.62,21.38Q762.77,240 750,240h-10v507.69q0,29.92 -21.19,51.12 -21.19,21.19 -51.12,21.19L292.31,820ZM680,240L280,240v507.69q0,5.39 3.46,8.85 3.46,3.46 8.85,3.46h375.38q5.39,0 8.85,-3.46 3.46,-3.46 3.46,-8.85L680,240ZM376.15,680h60v-360h-60v360ZM523.85,680h60v-360h-60v360ZM280,240v520,-520Z"/>
|
||||
</vector>
|
14
app/src/main/res/drawable/ic_emoji_activities_rounded.xml
Normal file
14
app/src/main/res/drawable/ic_emoji_activities_rounded.xml
Normal file
|
@ -0,0 +1,14 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
SPDX-FileCopyrightText: Material Design Authors / Google LLC
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="960"
|
||||
android:viewportHeight="960">
|
||||
<path
|
||||
android:fillColor="#FFF"
|
||||
android:pathData="M280,432L280,280L200,280Q200,280 200,280Q200,280 200,280L200,320Q200,358 222,388.5Q244,419 280,432ZM680,432Q716,419 738,388.5Q760,358 760,320L760,280Q760,280 760,280Q760,280 760,280L680,280L680,432ZM440,760L440,636Q391,625 352.5,594.5Q314,564 296,518Q221,509 170.5,452.5Q120,396 120,320L120,280Q120,247 143.5,223.5Q167,200 200,200L280,200L280,200Q280,167 303.5,143.5Q327,120 360,120L600,120Q633,120 656.5,143.5Q680,167 680,200L680,200L760,200Q793,200 816.5,223.5Q840,247 840,280L840,320Q840,396 789.5,452.5Q739,509 664,518Q646,564 607.5,594.5Q569,625 520,636L520,760L640,760Q657,760 668.5,771.5Q680,783 680,800Q680,817 668.5,828.5Q657,840 640,840L320,840Q303,840 291.5,828.5Q280,817 280,800Q280,783 291.5,771.5Q303,760 320,760L440,760Z"/>
|
||||
</vector>
|
14
app/src/main/res/drawable/ic_emoji_emoticons_rounded.xml
Normal file
14
app/src/main/res/drawable/ic_emoji_emoticons_rounded.xml
Normal file
|
@ -0,0 +1,14 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
SPDX-FileCopyrightText: Material Design Authors / Google LLC
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="960"
|
||||
android:viewportHeight="960">
|
||||
<path
|
||||
android:fillColor="#FFF"
|
||||
android:pathData="M260,680Q234,680 217,663Q200,646 200,620Q200,595 217,577.5Q234,560 260,560Q285,560 302.5,577.5Q320,595 320,620Q320,646 302.5,663Q285,680 260,680ZM260,400Q234,400 217,383Q200,366 200,340Q200,315 217,297.5Q234,280 260,280Q285,280 302.5,297.5Q320,315 320,340Q320,366 302.5,383Q285,400 260,400ZM440,520Q423,520 411.5,508.5Q400,497 400,480Q400,463 411.5,451.5Q423,440 440,440L520,440Q537,440 548.5,451.5Q560,463 560,480Q560,497 548.5,508.5Q537,520 520,520L440,520ZM680,480Q680,426 665.5,376Q651,326 623,284Q614,270 615,253Q616,236 629,225Q642,214 658,216.5Q674,219 684,233Q720,286 740,348.5Q760,411 760,480Q760,536 746.5,587Q733,638 709,684Q701,699 685,703Q669,707 655,698Q641,689 637.5,672.5Q634,656 642,641Q660,604 670,564Q680,524 680,480Z"/>
|
||||
</vector>
|
14
app/src/main/res/drawable/ic_emoji_flags_rounded.xml
Normal file
14
app/src/main/res/drawable/ic_emoji_flags_rounded.xml
Normal file
|
@ -0,0 +1,14 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
SPDX-FileCopyrightText: Material Design Authors / Google LLC
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="960"
|
||||
android:viewportHeight="960">
|
||||
<path
|
||||
android:fillColor="#FFF"
|
||||
android:pathData="M280,560L280,800Q280,817 268.5,828.5Q257,840 240,840Q223,840 211.5,828.5Q200,817 200,800L200,200Q200,183 211.5,171.5Q223,160 240,160L527,160Q541,160 552,169Q563,178 566,192L576,240L760,240Q777,240 788.5,251.5Q800,263 800,280L800,600Q800,617 788.5,628.5Q777,640 760,640L553,640Q539,640 528,631Q517,622 514,608L504,560L280,560Z"/>
|
||||
</vector>
|
14
app/src/main/res/drawable/ic_emoji_food_drink_rounded.xml
Normal file
14
app/src/main/res/drawable/ic_emoji_food_drink_rounded.xml
Normal file
|
@ -0,0 +1,14 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
SPDX-FileCopyrightText: Material Design Authors / Google LLC
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="960"
|
||||
android:viewportHeight="960">
|
||||
<path
|
||||
android:fillColor="#FFF"
|
||||
android:pathData="M200,840Q183,840 171.5,828.5Q160,817 160,800Q160,783 171.5,771.5Q183,760 200,760L760,760Q777,760 788.5,771.5Q800,783 800,800Q800,817 788.5,828.5Q777,840 760,840L200,840ZM720,320L800,320Q800,320 800,320Q800,320 800,320L800,200Q800,200 800,200Q800,200 800,200L720,200L720,320ZM320,680Q254,680 207,633Q160,586 160,520L160,209Q160,172 186,146Q212,120 249,120L360,120L360,216L288,274Q286,276 280,290L280,460Q280,468 286,474Q292,480 300,480L460,480Q468,480 474,474Q480,468 480,460L480,290Q480,288 472,274L400,216L400,120L800,120Q833,120 856.5,143.5Q880,167 880,200L880,320Q880,353 856.5,376.5Q833,400 800,400L720,400L720,520Q720,586 673,633Q626,680 560,680L320,680Z"/>
|
||||
</vector>
|
14
app/src/main/res/drawable/ic_emoji_objects_rounded.xml
Normal file
14
app/src/main/res/drawable/ic_emoji_objects_rounded.xml
Normal file
|
@ -0,0 +1,14 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
SPDX-FileCopyrightText: Material Design Authors / Google LLC
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="960"
|
||||
android:viewportHeight="960">
|
||||
<path
|
||||
android:fillColor="#FFF"
|
||||
android:pathData="M480,880Q454,880 433,867.5Q412,855 400,834L400,834Q367,834 343.5,810.5Q320,787 320,754L320,612Q261,573 225.5,509Q190,445 190,370Q190,249 274.5,164.5Q359,80 480,80Q601,80 685.5,164.5Q770,249 770,370Q770,447 734.5,510Q699,573 640,612L640,754Q640,787 616.5,810.5Q593,834 560,834L560,834Q548,855 527,867.5Q506,880 480,880ZM400,754L560,754L560,718L400,718L400,754ZM400,678L560,678L560,640L400,640L400,678ZM510,560L510,452L577,385Q586,376 586,364Q586,352 577,343Q568,334 556,334Q544,334 535,343L480,398L425,343Q416,334 404,334Q392,334 383,343Q374,352 374,364Q374,376 383,385L450,452L450,560L510,560Z"/>
|
||||
</vector>
|
14
app/src/main/res/drawable/ic_emoji_people_body_rounded.xml
Normal file
14
app/src/main/res/drawable/ic_emoji_people_body_rounded.xml
Normal file
|
@ -0,0 +1,14 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
SPDX-FileCopyrightText: Material Design Authors / Google LLC
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="960"
|
||||
android:viewportHeight="960">
|
||||
<path
|
||||
android:fillColor="#FFF"
|
||||
android:pathData="M360,840L360,351Q277,329 224.5,263Q172,197 162,113Q160,99 172,89.5Q184,80 200,80Q216,80 228,88.5Q240,97 242,112Q253,184 304,232Q355,280 430,280L530,280Q560,280 586,291Q612,302 633,323L786,476Q797,487 797,504Q797,521 786,532Q775,543 758,543Q741,543 730,532L600,402L600,840Q600,857 588.5,868.5Q577,880 560,880Q543,880 531.5,868.5Q520,857 520,840L520,640L440,640L440,840Q440,857 428.5,868.5Q417,880 400,880Q383,880 371.5,868.5Q360,857 360,840ZM480,240Q447,240 423.5,216.5Q400,193 400,160Q400,127 423.5,103.5Q447,80 480,80Q513,80 536.5,103.5Q560,127 560,160Q560,193 536.5,216.5Q513,240 480,240Z"/>
|
||||
</vector>
|
14
app/src/main/res/drawable/ic_emoji_recents_rounded.xml
Normal file
14
app/src/main/res/drawable/ic_emoji_recents_rounded.xml
Normal file
|
@ -0,0 +1,14 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
SPDX-FileCopyrightText: Material Design Authors / Google LLC
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="960"
|
||||
android:viewportHeight="960">
|
||||
<path
|
||||
android:fillColor="#FFF"
|
||||
android:pathData="M520,464L520,320Q520,303 508.5,291.5Q497,280 480,280Q463,280 451.5,291.5Q440,303 440,320L440,479Q440,487 443,494.5Q446,502 452,508L584,640Q595,651 612,651Q629,651 640,640Q651,629 651,612Q651,595 640,584L520,464ZM480,880Q397,880 324,848.5Q251,817 197,763Q143,709 111.5,636Q80,563 80,480Q80,397 111.5,324Q143,251 197,197Q251,143 324,111.5Q397,80 480,80Q563,80 636,111.5Q709,143 763,197Q817,251 848.5,324Q880,397 880,480Q880,563 848.5,636Q817,709 763,763Q709,817 636,848.5Q563,880 480,880Z"/>
|
||||
</vector>
|
|
@ -0,0 +1,14 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
SPDX-FileCopyrightText: Material Design Authors / Google LLC
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="960"
|
||||
android:viewportHeight="960">
|
||||
<path
|
||||
android:fillColor="#FFF"
|
||||
android:pathData="M620,440Q645,440 662.5,422.5Q680,405 680,380Q680,355 662.5,337.5Q645,320 620,320Q595,320 577.5,337.5Q560,355 560,380Q560,405 577.5,422.5Q595,440 620,440ZM340,440Q365,440 382.5,422.5Q400,405 400,380Q400,355 382.5,337.5Q365,320 340,320Q315,320 297.5,337.5Q280,355 280,380Q280,405 297.5,422.5Q315,440 340,440ZM480,880Q397,880 324,848.5Q251,817 197,763Q143,709 111.5,636Q80,563 80,480Q80,397 111.5,324Q143,251 197,197Q251,143 324,111.5Q397,80 480,80Q563,80 636,111.5Q709,143 763,197Q817,251 848.5,324Q880,397 880,480Q880,563 848.5,636Q817,709 763,763Q709,817 636,848.5Q563,880 480,880ZM480,700Q538,700 587,672Q636,644 666,596Q672,584 665,572Q658,560 644,560L316,560Q302,560 295,572Q288,584 294,596Q324,644 373.5,672Q423,700 480,700Z"/>
|
||||
</vector>
|
14
app/src/main/res/drawable/ic_emoji_symbols_rounded.xml
Normal file
14
app/src/main/res/drawable/ic_emoji_symbols_rounded.xml
Normal file
|
@ -0,0 +1,14 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
SPDX-FileCopyrightText: Material Design Authors / Google LLC
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="960"
|
||||
android:viewportHeight="960">
|
||||
<path
|
||||
android:fillColor="#FFF"
|
||||
android:pathData="M400,160L160,160Q143,160 131.5,148.5Q120,137 120,120Q120,103 131.5,91.5Q143,80 160,80L400,80Q417,80 428.5,91.5Q440,103 440,120Q440,137 428.5,148.5Q417,160 400,160ZM240,280L160,280Q143,280 131.5,268.5Q120,257 120,240Q120,223 131.5,211.5Q143,200 160,200L400,200Q417,200 428.5,211.5Q440,223 440,240Q440,257 428.5,268.5Q417,280 400,280L320,280L320,400Q320,417 308.5,428.5Q297,440 280,440Q263,440 251.5,428.5Q240,417 240,400L240,280ZM576,836Q565,847 548,847Q531,847 520,836Q509,825 509,808Q509,791 520,780L776,524Q787,513 804,513Q821,513 832,524Q843,535 843,552Q843,569 832,580L576,836ZM580,640Q554,640 537,623Q520,606 520,580Q520,554 537,537Q554,520 580,520Q606,520 623,537Q640,554 640,580Q640,606 623,623Q606,640 580,640ZM780,840Q754,840 737,823Q720,806 720,780Q720,754 737,737Q754,720 780,720Q806,720 823,737Q840,754 840,780Q840,806 823,823Q806,840 780,840ZM620,440Q579,440 549.5,410.5Q520,381 520,340Q520,299 549.5,268.5Q579,238 620,238Q632,238 641.5,239.5Q651,241 660,244L660,120Q660,103 671.5,91.5Q683,80 700,80L800,80Q817,80 828.5,91.5Q840,103 840,120Q840,137 828.5,148.5Q817,160 800,160L720,160L720,340Q720,381 690.5,410.5Q661,440 620,440ZM220,880Q179,880 149.5,849.5Q120,819 120,778Q120,760 127.5,741.5Q135,723 150,708L192,666L178,652Q163,637 155.5,619.5Q148,602 148,582Q148,541 177.5,511.5Q207,482 248,482Q289,482 318.5,511.5Q348,541 348,582Q348,602 341.5,619.5Q335,637 320,652L306,666L334,694L361,667Q373,655 389.5,655.5Q406,656 418,668Q429,680 429.5,696Q430,712 418,724L390,752L418,780Q429,791 429,808Q429,825 418,836Q407,847 390,847Q373,847 362,836L334,808L292,850Q277,865 258.5,872.5Q240,880 220,880ZM248,610L262,596Q265,593 266.5,590Q268,587 268,582Q268,573 262,567.5Q256,562 248,562Q240,562 234,567.5Q228,573 228,582Q228,585 229.5,589Q231,593 234,596L248,610ZM218,800Q221,800 226,798.5Q231,797 234,794L278,752L250,724L206,766Q203,769 201.5,773Q200,777 200,782Q200,790 205,795Q210,800 218,800Z"/>
|
||||
</vector>
|
14
app/src/main/res/drawable/ic_emoji_travel_places_rounded.xml
Normal file
14
app/src/main/res/drawable/ic_emoji_travel_places_rounded.xml
Normal file
|
@ -0,0 +1,14 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
SPDX-FileCopyrightText: Material Design Authors / Google LLC
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="960"
|
||||
android:viewportHeight="960">
|
||||
<path
|
||||
android:fillColor="#FFF"
|
||||
android:pathData="M440,880Q423,880 411.5,868.5Q400,857 400,840L400,640Q400,633 401,626Q402,619 404,613L446,494Q454,470 475,455Q496,440 522,440L758,440Q784,440 805,455Q826,470 834,494L876,613Q878,619 879,626Q880,633 880,640L880,840Q880,857 868.5,868.5Q857,880 840,880Q823,880 811.5,868.5Q800,857 800,840L800,820L480,820L480,840Q480,857 468.5,868.5Q457,880 440,880ZM480,580L800,580L772,500Q772,500 772,500Q772,500 772,500L508,500Q508,500 508,500Q508,500 508,500L480,580ZM520,740Q537,740 548.5,728.5Q560,717 560,700Q560,683 548.5,671.5Q537,660 520,660Q503,660 491.5,671.5Q480,683 480,700Q480,717 491.5,728.5Q503,740 520,740ZM760,740Q777,740 788.5,728.5Q800,717 800,700Q800,683 788.5,671.5Q777,660 760,660Q743,660 731.5,671.5Q720,683 720,700Q720,717 731.5,728.5Q743,740 760,740ZM240,560L240,480L320,480L320,560L240,560ZM440,320L440,240L520,240L520,320L440,320ZM240,720L240,640L320,640L320,720L240,720ZM240,880L240,800L320,800L320,880L240,880ZM80,880L80,400Q80,367 103.5,343.5Q127,320 160,320L280,320L280,160Q280,127 303.5,103.5Q327,80 360,80L600,80Q633,80 656.5,103.5Q680,127 680,160L680,360L600,360L600,160L360,160L360,400L160,400L160,880L80,880Z"/>
|
||||
</vector>
|
14
app/src/main/res/drawable/ic_select_all_rounded.xml
Normal file
14
app/src/main/res/drawable/ic_select_all_rounded.xml
Normal file
|
@ -0,0 +1,14 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
SPDX-FileCopyrightText: Material Design Authors / Google LLC
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="960"
|
||||
android:viewportHeight="960">
|
||||
<path
|
||||
android:fillColor="#FFF"
|
||||
android:pathData="M200,840q-33,0 -56.5,-23.5T120,760h80v80ZM120,200q0,-33 23.5,-56.5T200,120v80h-80ZM280,840v-80h80v80h-80ZM280,200v-80h80v80h-80ZM440,840v-80h80v80h-80ZM440,200v-80h80v80h-80ZM600,840v-80h80v80h-80ZM600,200v-80h80v80h-80ZM760,840v-80h80q0,33 -23.5,56.5T760,840ZM760,200v-80q33,0 56.5,23.5T840,200h-80ZM320,680q-17,0 -28.5,-11.5T280,640v-320q0,-17 11.5,-28.5T320,280h320q17,0 28.5,11.5T680,320v320q0,17 -11.5,28.5T640,680L320,680ZM360,600h240v-240L360,360v240ZM120,680v-80h80v80h-80ZM120,520v-80h80v80h-80ZM120,360v-80h80v80h-80ZM760,680v-80h80v80h-80ZM760,520v-80h80v80h-80ZM760,360v-80h80v80h-80Z"/>
|
||||
</vector>
|
|
@ -0,0 +1,14 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
SPDX-FileCopyrightText: Material Design Authors / Google LLC
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="960"
|
||||
android:viewportHeight="960">
|
||||
<path
|
||||
android:fillColor="#FFF"
|
||||
android:pathData="M160,680q-17,0 -28.5,-11.5T120,640q0,-17 11.5,-28.5T160,600h480q17,0 28.5,11.5T680,640q0,17 -11.5,28.5T640,680L160,680ZM240,520q-17,0 -28.5,-11.5T200,480q0,-17 11.5,-28.5T240,440h480q17,0 28.5,11.5T760,480q0,17 -11.5,28.5T720,520L240,520ZM320,360q-17,0 -28.5,-11.5T280,320q0,-17 11.5,-28.5T320,280h480q17,0 28.5,11.5T840,320q0,17 -11.5,28.5T800,360L320,360Z"/>
|
||||
</vector>
|
24
app/src/main/res/drawable/sym_keyboard_clipboard_rounded.xml
Normal file
24
app/src/main/res/drawable/sym_keyboard_clipboard_rounded.xml
Normal file
|
@ -0,0 +1,24 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
SPDX-FileCopyrightText: Material Design Authors / Google LLC
|
||||
modified
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:height="24dp"
|
||||
android:width="24dp"
|
||||
android:viewportHeight="960"
|
||||
android:viewportWidth="960" >
|
||||
<path
|
||||
android:fillColor="#FFF"
|
||||
android:pathData="m200,869q-33,0 -56.5,-23.5t-23.5,-56.5l0,-560q0,-33 23.5,-56.5t56.5,-23.5l167,0q11,-35 43,-57.5t70,-22.5q40,0 71.5,22.5t42.5,57.5l166,0q33,0 56.5,23.5t23.5,56.5l0,560q0,33 -23.5,56.5t-56.5,23.5l-560,0zM200,789l560,0l0,-560l-80,0l0,80q0,17 -11.5,28.5t-28.5,11.5l-320,0q-17,0 -28.5,-11.5t-11.5,-28.5l0,-80l-80,0l0,560zM480,229q17,0 28.5,-11.5t11.5,-28.5q0,-17 -11.5,-28.5t-28.5,-11.5q-17,0 -28.5,11.5t-11.5,28.5q0,17 11.5,28.5t28.5,11.5z"/>
|
||||
<path
|
||||
android:fillColor="#FFF"
|
||||
android:pathData="M302,450L656,450A23,23 0,0 1,679 473L679,473A23,23 0,0 1,656 496L302,496A23,23 0,0 1,279 473L279,473A23,23 0,0 1,302 450z"/>
|
||||
<path
|
||||
android:fillColor="#FFF"
|
||||
android:pathData="M302,550L476,550A23,23 0,0 1,499 573L499,573A23,23 0,0 1,476 596L302,596A23,23 0,0 1,279 573L279,573A23,23 0,0 1,302 550z"/>
|
||||
<path
|
||||
android:fillColor="#FFF"
|
||||
android:pathData="M302,650L576,650A23,23 0,0 1,599 673L599,673A23,23 0,0 1,576 696L302,696A23,23 0,0 1,279 673L279,673A23,23 0,0 1,302 650z"/>
|
||||
</vector>
|
14
app/src/main/res/drawable/sym_keyboard_delete_rounded.xml
Normal file
14
app/src/main/res/drawable/sym_keyboard_delete_rounded.xml
Normal file
|
@ -0,0 +1,14 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
SPDX-FileCopyrightText: Material Design Authors / Google LLC
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="32dp"
|
||||
android:height="32dp"
|
||||
android:viewportWidth="960"
|
||||
android:viewportHeight="960">
|
||||
<path
|
||||
android:fillColor="#FFF"
|
||||
android:pathData="M367.69,740Q346.92,740 328.65,730.61Q310.39,721.23 298.62,704.46L169.92,521.77Q156.46,502.69 156.46,480Q156.46,457.31 169.92,438.23L298.62,256.31Q310.39,239.54 328.46,229.77Q346.54,220 367.69,220L747.69,220Q777.61,220 798.81,241.19Q820,262.39 820,292.31L820,667.69Q820,697.61 798.81,718.81Q777.61,740 747.69,740L367.69,740ZM760,680Q760,680 760,677.11Q760,674.23 760,670L760,480L760,290Q760,285.77 760,282.89Q760,280 760,280L760,280Q760,280 760,283.85Q760,287.69 760,292.31L760,667.69Q760,672.31 760,676.15Q760,680 760,680L760,680ZM367.69,680L747.69,680Q752.31,680 756.15,676.15Q760,672.31 760,667.69L760,292.31Q760,287.69 756.15,283.85Q752.31,280 747.69,280L367.69,280Q361.92,280 356.73,282.89Q351.54,285.77 348.46,290L218.38,472.69Q216.08,475.77 216.08,480Q216.08,484.23 218.38,487.31L348.46,670Q351.54,674.23 356.73,677.11Q361.92,680 367.69,680ZM553.08,522.15L636,605.08Q644.31,613.38 656.88,613.58Q669.46,613.77 678.15,605.08Q686.84,596.38 686.84,584Q686.84,571.62 678.15,562.92L595.23,480L678.15,397.08Q686.46,388.77 686.65,376.19Q686.84,363.62 678.15,354.92Q669.46,346.23 657.08,346.23Q644.69,346.23 636,354.92L553.08,437.85L470.15,354.92Q461.85,346.62 449.27,346.42Q436.69,346.23 428,354.92Q419.31,363.62 419.31,376Q419.31,388.38 428,397.08L510.92,480L428,562.92Q419.69,571.23 419.5,583.81Q419.31,596.38 428,605.08Q436.69,613.77 449.08,613.77Q461.46,613.77 470.15,605.08L553.08,522.15Z"/>
|
||||
</vector>
|
14
app/src/main/res/drawable/sym_keyboard_done_rounded.xml
Normal file
14
app/src/main/res/drawable/sym_keyboard_done_rounded.xml
Normal file
|
@ -0,0 +1,14 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
SPDX-FileCopyrightText: Material Design Authors / Google LLC
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="30dp"
|
||||
android:height="30dp"
|
||||
android:viewportWidth="960"
|
||||
android:viewportHeight="960">
|
||||
<path
|
||||
android:fillColor="#FFF"
|
||||
android:pathData="M382,620.62L727.54,275.08Q736.46,266.16 748.73,265.96Q761,265.77 770.31,275.08Q779.61,284.39 779.61,296.46Q779.61,308.54 770.31,317.85L407.31,680.84Q396.46,691.69 382,691.69Q367.54,691.69 356.69,680.84L189.69,513.85Q180.77,504.92 180.88,492.65Q181,480.39 190.31,471.08Q199.62,461.77 211.69,461.77Q223.77,461.77 233.08,471.08L382,620.62Z"/>
|
||||
</vector>
|
14
app/src/main/res/drawable/sym_keyboard_go_rounded.xml
Normal file
14
app/src/main/res/drawable/sym_keyboard_go_rounded.xml
Normal file
|
@ -0,0 +1,14 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
SPDX-FileCopyrightText: Material Design Authors / Google LLC
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="960"
|
||||
android:viewportHeight="960">
|
||||
<path
|
||||
android:fillColor="#FFF"
|
||||
android:pathData="M647,520L200,520Q183,520 171.5,508.5Q160,497 160,480Q160,463 171.5,451.5Q183,440 200,440L647,440L451,244Q439,232 439.5,216Q440,200 452,188Q464,177 480,176.5Q496,176 508,188L772,452Q778,458 780.5,465Q783,472 783,480Q783,488 780.5,495Q778,502 772,508L508,772Q497,783 480.5,783Q464,783 452,772Q440,760 440,743.5Q440,727 452,715L647,520Z"/>
|
||||
</vector>
|
14
app/src/main/res/drawable/sym_keyboard_return_rounded.xml
Normal file
14
app/src/main/res/drawable/sym_keyboard_return_rounded.xml
Normal file
|
@ -0,0 +1,14 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
SPDX-FileCopyrightText: Material Design Authors / Google LLC
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="960"
|
||||
android:viewportHeight="960">
|
||||
<path
|
||||
android:fillColor="#FFF"
|
||||
android:pathData="M272,520L388,636Q399,647 399,664Q399,681 388,692Q377,703 360,703Q343,703 332,692L148,508Q142,502 139.5,495Q137,488 137,480Q137,472 139.5,465Q142,458 148,452L332,268Q343,257 360,257Q377,257 388,268Q399,279 399,296Q399,313 388,324L272,440L760,440Q760,440 760,440Q760,440 760,440L760,320Q760,303 771.5,291.5Q783,280 800,280Q817,280 828.5,291.5Q840,303 840,320L840,440Q840,473 816.5,496.5Q793,520 760,520L272,520Z"/>
|
||||
</vector>
|
14
app/src/main/res/drawable/sym_keyboard_search_rounded.xml
Normal file
14
app/src/main/res/drawable/sym_keyboard_search_rounded.xml
Normal file
|
@ -0,0 +1,14 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
SPDX-FileCopyrightText: Material Design Authors / Google LLC
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="960"
|
||||
android:viewportHeight="960">
|
||||
<path
|
||||
android:fillColor="#FFF"
|
||||
android:pathData="M380,640Q271,640 195.5,564.5Q120,489 120,380Q120,271 195.5,195.5Q271,120 380,120Q489,120 564.5,195.5Q640,271 640,380Q640,424 626,463Q612,502 588,532L812,756Q823,767 823,784Q823,801 812,812Q801,823 784,823Q767,823 756,812L532,588Q502,612 463,626Q424,640 380,640ZM380,560Q455,560 507.5,507.5Q560,455 560,380Q560,305 507.5,252.5Q455,200 380,200Q305,200 252.5,252.5Q200,305 200,380Q200,455 252.5,507.5Q305,560 380,560Z"/>
|
||||
</vector>
|
14
app/src/main/res/drawable/sym_keyboard_send_rounded.xml
Normal file
14
app/src/main/res/drawable/sym_keyboard_send_rounded.xml
Normal file
|
@ -0,0 +1,14 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
SPDX-FileCopyrightText: Material Design Authors / Google LLC
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="960"
|
||||
android:viewportHeight="960">
|
||||
<path
|
||||
android:fillColor="#FFF"
|
||||
android:pathData="M792,517L176,777Q156,785 138,773.5Q120,762 120,740L120,220Q120,198 138,186.5Q156,175 176,183L792,443Q817,454 817,480Q817,506 792,517ZM200,680L674,480L200,280L200,420L440,480L200,540L200,680ZM200,680L200,480L200,280L200,420L200,420L200,540L200,540L200,680Z"/>
|
||||
</vector>
|
14
app/src/main/res/drawable/sym_keyboard_settings_rounded.xml
Normal file
14
app/src/main/res/drawable/sym_keyboard_settings_rounded.xml
Normal file
|
@ -0,0 +1,14 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
SPDX-FileCopyrightText: Material Design Authors / Google LLC
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="960"
|
||||
android:viewportHeight="960">
|
||||
<path
|
||||
android:fillColor="#FFF"
|
||||
android:pathData="M405,880q-15,0 -26,-10t-13,-25l-12,-93q-13,-5 -24.5,-12T307,725l-87,36q-14,6 -28,1.5T170,745L96,616q-8,-13 -5,-28t15,-24l75,-57q-1,-7 -1,-13.5v-27q0,-6.5 1,-13.5l-75,-57q-12,-9 -15,-24t5,-28l74,-129q8,-13 22,-17.5t28,1.5l87,36q11,-8 23,-15t24,-12l12,-93q2,-15 13,-25t26,-10h150q15,0 26,10t13,25l12,93q13,5 24.5,12t22.5,15l87,-36q14,-6 28,-1.5t22,17.5l74,129q8,13 5,28t-15,24l-75,57q1,7 1,13.5v27q0,6.5 -2,13.5l75,57q12,9 15,24t-5,28l-74,128q-8,13 -22.5,18t-28.5,-1l-85,-36q-11,8 -23,15t-24,12l-12,93q-2,15 -13,25t-26,10L405,880ZM440,800h79l14,-106q31,-8 57.5,-23.5T639,633l99,41 39,-68 -86,-65q5,-14 7,-29.5t2,-31.5q0,-16 -2,-31.5t-7,-29.5l86,-65 -39,-68 -99,42q-22,-23 -48.5,-38.5T533,266l-13,-106h-79l-14,106q-31,8 -57.5,23.5T321,327l-99,-41 -39,68 86,64q-5,15 -7,30t-2,32q0,16 2,31t7,30l-86,65 39,68 99,-42q22,23 48.5,38.5T427,694l13,106ZM482,620q58,0 99,-41t41,-99q0,-58 -41,-99t-99,-41q-59,0 -99.5,41T342,480q0,58 40.5,99t99.5,41ZM480,480Z"/>
|
||||
</vector>
|
14
app/src/main/res/drawable/sym_keyboard_shift_rounded.xml
Normal file
14
app/src/main/res/drawable/sym_keyboard_shift_rounded.xml
Normal file
|
@ -0,0 +1,14 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
SPDX-FileCopyrightText: Material Design Authors / Google LLC
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="960"
|
||||
android:viewportHeight="960">
|
||||
<path
|
||||
android:fillColor="#FFF"
|
||||
android:pathData="M280,720Q263,720 251.5,708.5Q240,697 240,680Q240,663 251.5,651.5Q263,640 280,640L680,640Q697,640 708.5,651.5Q720,663 720,680Q720,697 708.5,708.5Q697,720 680,720L280,720ZM480,336L324,492Q313,503 296,503Q279,503 268,492Q257,481 257,464Q257,447 268,436L452,252Q464,240 480,240Q496,240 508,252L692,436Q703,447 703,464Q703,481 692,492Q681,503 664,503Q647,503 636,492L480,336Z"/>
|
||||
</vector>
|
14
app/src/main/res/drawable/sym_keyboard_smiley_rounded.xml
Normal file
14
app/src/main/res/drawable/sym_keyboard_smiley_rounded.xml
Normal file
|
@ -0,0 +1,14 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
SPDX-FileCopyrightText: Material Design Authors / Google LLC
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="960"
|
||||
android:viewportHeight="960">
|
||||
<path
|
||||
android:fillColor="#FFF"
|
||||
android:pathData="M620,440q25,0 42.5,-17.5T680,380q0,-25 -17.5,-42.5T620,320q-25,0 -42.5,17.5T560,380q0,25 17.5,42.5T620,440ZM340,440q25,0 42.5,-17.5T400,380q0,-25 -17.5,-42.5T340,320q-25,0 -42.5,17.5T280,380q0,25 17.5,42.5T340,440ZM480,880q-83,0 -156,-31.5T197,763q-54,-54 -85.5,-127T80,480q0,-83 31.5,-156T197,197q54,-54 127,-85.5T480,80q83,0 156,31.5T763,197q54,54 85.5,127T880,480q0,83 -31.5,156T763,763q-54,54 -127,85.5T480,880ZM480,480ZM480,800q134,0 227,-93t93,-227q0,-134 -93,-227t-227,-93q-134,0 -227,93t-93,227q0,134 93,227t227,93ZM480,700q58,0 107,-28t79,-76q6,-12 -1,-24t-21,-12L316,560q-14,0 -21,12t-1,24q30,48 79.5,76T480,700Z"/>
|
||||
</vector>
|
14
app/src/main/res/drawable/sym_keyboard_space_rounded.xml
Normal file
14
app/src/main/res/drawable/sym_keyboard_space_rounded.xml
Normal file
|
@ -0,0 +1,14 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
SPDX-FileCopyrightText: Material Design Authors / Google LLC
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="38dp"
|
||||
android:height="34dp"
|
||||
android:viewportWidth="960"
|
||||
android:viewportHeight="980">
|
||||
<path
|
||||
android:fillColor="#FFF"
|
||||
android:pathData="M280,820q-12.75,0 -21.37,-8.63 -8.63,-8.63 -8.63,-21.38 0,-12.76 8.63,-21.37Q267.25,760 280,760h400q12.75,0 21.38,8.63 8.62,8.63 8.62,21.38 0,12.76 -8.62,21.37 -8.63,8.62 -21.38,8.62L280,820Z"/>
|
||||
</vector>
|
|
@ -0,0 +1,14 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
SPDX-FileCopyrightText: Material Design Authors / Google LLC
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="960"
|
||||
android:viewportHeight="960">
|
||||
<path
|
||||
android:fillColor="#FFF"
|
||||
android:pathData="M402,920q-30,0 -56,-13.5T303,868L67,522q-8,-12 -7,-26t12,-24q19,-19 45,-22t47,12l116,81v-383q0,-17 11.5,-28.5T320,120q17,0 28.5,11.5T360,160v460q0,24 -21.5,35.5T297,653l-85,-60 157,229q5,8 14,13t19,5h278q33,0 56.5,-23.5T760,760v-560q0,-17 11.5,-28.5T800,160q17,0 28.5,11.5T840,200v560q0,66 -47,113T680,920L402,920ZM480,40q17,0 28.5,11.5T520,80v360q0,17 -11.5,28.5T480,480q-17,0 -28.5,-11.5T440,440v-360q0,-17 11.5,-28.5T480,40ZM640,80q17,0 28.5,11.5T680,120v320q0,17 -11.5,28.5T640,480q-17,0 -28.5,-11.5T600,440v-320q0,-17 11.5,-28.5T640,80ZM486,660Z"/>
|
||||
</vector>
|
|
@ -0,0 +1,14 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
SPDX-FileCopyrightText: Material Design Authors / Google LLC
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="960"
|
||||
android:viewportHeight="960">
|
||||
<path
|
||||
android:fillColor="#FFF"
|
||||
android:pathData="M256,760L320,760Q337,760 348.5,771.5Q360,783 360,800Q360,817 348.5,828.5Q337,840 320,840L160,840Q143,840 131.5,828.5Q120,817 120,800L120,640Q120,623 131.5,611.5Q143,600 160,600Q177,600 188.5,611.5Q200,623 200,640L200,704L296,608Q307,597 324,597Q341,597 352,608Q363,619 363,636Q363,653 352,664L256,760ZM704,760L608,664Q597,653 597,636Q597,619 608,608Q619,597 636,597Q653,597 664,608L760,704L760,640Q760,623 771.5,611.5Q783,600 800,600Q817,600 828.5,611.5Q840,623 840,640L840,800Q840,817 828.5,828.5Q817,840 800,840L640,840Q623,840 611.5,828.5Q600,817 600,800Q600,783 611.5,771.5Q623,760 640,760L704,760ZM200,256L200,320Q200,337 188.5,348.5Q177,360 160,360Q143,360 131.5,348.5Q120,337 120,320L120,160Q120,143 131.5,131.5Q143,120 160,120L320,120Q337,120 348.5,131.5Q360,143 360,160Q360,177 348.5,188.5Q337,200 320,200L256,200L352,296Q363,307 363,324Q363,341 352,352Q341,363 324,363Q307,363 296,352L200,256ZM760,256L664,352Q653,363 636,363Q619,363 608,352Q597,341 597,324Q597,307 608,296L704,200L640,200Q623,200 611.5,188.5Q600,177 600,160Q600,143 611.5,131.5Q623,120 640,120L800,120Q817,120 828.5,131.5Q840,143 840,160L840,320Q840,337 828.5,348.5Q817,360 800,360Q783,360 771.5,348.5Q760,337 760,320L760,256Z"/>
|
||||
</vector>
|
14
app/src/main/res/drawable/sym_keyboard_tab_rounded.xml
Normal file
14
app/src/main/res/drawable/sym_keyboard_tab_rounded.xml
Normal file
|
@ -0,0 +1,14 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
SPDX-FileCopyrightText: Material Design Authors / Google LLC
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="960"
|
||||
android:viewportHeight="960">
|
||||
<path
|
||||
android:fillColor="#FFF"
|
||||
android:pathData="M840,720Q823,720 811.5,708.5Q800,697 800,680L800,280Q800,263 811.5,251.5Q823,240 840,240Q857,240 868.5,251.5Q880,263 880,280L880,680Q880,697 868.5,708.5Q857,720 840,720ZM567,520L120,520Q103,520 91.5,508.5Q80,497 80,480Q80,463 91.5,451.5Q103,440 120,440L567,440L452,324Q441,313 440.5,296.5Q440,280 452,268Q463,257 480,257Q497,257 508,268L692,452Q698,458 700.5,465Q703,472 703,480Q703,488 700.5,495Q698,502 692,508L508,692Q497,703 480.5,703Q464,703 452,692Q440,680 440,663.5Q440,647 452,635L567,520Z"/>
|
||||
</vector>
|
14
app/src/main/res/drawable/sym_keyboard_voice_off_rounded.xml
Normal file
14
app/src/main/res/drawable/sym_keyboard_voice_off_rounded.xml
Normal file
|
@ -0,0 +1,14 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
SPDX-FileCopyrightText: Material Design Authors / Google LLC
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="960"
|
||||
android:viewportHeight="960">
|
||||
<path
|
||||
android:fillColor="#FFF"
|
||||
android:pathData="M710,598L652,540Q661,525 667.5,509Q674,493 677,476Q680,461 691.5,450.5Q703,440 717,440Q736,440 748,453Q760,466 757,483Q752,515 740,543.5Q728,572 710,598ZM592,478L520,406L520,200Q520,183 508.5,171.5Q497,160 480,160Q463,160 451.5,171.5Q440,183 440,200L440,326L360,246L360,200Q360,150 395,115Q430,80 480,80Q530,80 565,115Q600,150 600,200L600,440Q600,451 597.5,460Q595,469 592,478ZM480,366Q480,366 480,366Q480,366 480,366L480,366L480,366L480,366Q480,366 480,366Q480,366 480,366ZM764,876L84,196Q73,185 73,168Q73,151 84,140Q95,129 112,129Q129,129 140,140L820,820Q831,831 831,848Q831,865 820,876Q809,887 792,887Q775,887 764,876ZM440,800L440,717Q347,704 282,639Q217,574 203,483Q200,466 212,453Q224,440 244,440Q258,440 269,450.5Q280,461 283,476Q296,546 351,593Q406,640 480,640Q514,640 544.5,629.5Q575,619 600,600L657,657Q628,680 593.5,696Q559,712 520,717L520,800Q520,817 508.5,828.5Q497,840 480,840Q463,840 451.5,828.5Q440,817 440,800Z"/>
|
||||
</vector>
|
14
app/src/main/res/drawable/sym_keyboard_voice_rounded.xml
Normal file
14
app/src/main/res/drawable/sym_keyboard_voice_rounded.xml
Normal file
|
@ -0,0 +1,14 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
SPDX-FileCopyrightText: Material Design Authors / Google LLC
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="960"
|
||||
android:viewportHeight="960">
|
||||
<path
|
||||
android:fillColor="#FFF"
|
||||
android:pathData="M480,560q-50,0 -85,-35t-35,-85v-240q0,-50 35,-85t85,-35q50,0 85,35t35,85v240q0,50 -35,85t-85,35ZM480,320ZM440,800v-83q-92,-13 -157.5,-78T203,481q-2,-17 9,-29t28,-12q17,0 28.5,11.5T284,480q14,70 69.5,115T480,640q72,0 127,-45.5T676,480q4,-17 15.5,-28.5T720,440q17,0 28,12t9,29q-14,91 -79,157t-158,79v83q0,17 -11.5,28.5T480,840q-17,0 -28.5,-11.5T440,800ZM480,480q17,0 28.5,-11.5T520,440v-240q0,-17 -11.5,-28.5T480,160q-17,0 -28.5,11.5T440,200v240q0,17 11.5,28.5T480,480Z"/>
|
||||
</vector>
|
|
@ -6,8 +6,7 @@
|
|||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="@dimen/config_suggestions_strip_edge_key_width"
|
||||
android:layout_height="fill_parent"
|
||||
android:src="@drawable/ic_arrow_up"
|
||||
android:scaleX="1.2"
|
||||
android:scaleY="-1.2"
|
||||
android:scaleY="1.2"
|
||||
android:tag="down_key"
|
||||
style="?attr/suggestionWordStyle" />
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="@dimen/config_suggestions_strip_edge_key_width"
|
||||
android:layout_height="fill_parent"
|
||||
android:src="@drawable/ic_arrow_left"
|
||||
android:scaleX="1.2"
|
||||
android:scaleY="1.2"
|
||||
android:tag="left_key"
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="@dimen/config_suggestions_strip_edge_key_width"
|
||||
android:layout_height="fill_parent"
|
||||
android:src="@drawable/ic_arrow_right"
|
||||
android:scaleX="1.2"
|
||||
android:scaleY="1.2"
|
||||
android:tag="right_key"
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="@dimen/config_suggestions_strip_edge_key_width"
|
||||
android:layout_height="fill_parent"
|
||||
android:src="@drawable/ic_arrow_up"
|
||||
android:scaleX="1.2"
|
||||
android:scaleY="1.2"
|
||||
android:tag="up_key"
|
||||
|
|
|
@ -235,6 +235,7 @@ Nouveau dictionnaire:
|
|||
<string name="license" >Licence Open-source</string>
|
||||
<string name="prefs_force_incognito_mode">Forcer le mode incognito</string>
|
||||
<string name="theme_style">Style</string>
|
||||
<string name="style_name_Rounded">Arrondi</string>
|
||||
<string name="theme_colors">Couleurs</string>
|
||||
<string name="theme_colors_night">Couleurs (mode nuit)</string>
|
||||
<string name="key_borders">Bordures des touches</string>
|
||||
|
|
|
@ -216,6 +216,8 @@
|
|||
<enum name="HoloBase" value="0" />
|
||||
<enum name="LXXBase" value="1" />
|
||||
<enum name="LXXBaseBorder" value="2" />
|
||||
<enum name="RoundedBase" value="3" />
|
||||
<enum name="RoundedBaseBorder" value="4" />
|
||||
</attr>
|
||||
<!-- Touch position correction -->
|
||||
<attr name="touchPositionCorrectionData" format="reference" />
|
||||
|
@ -269,6 +271,13 @@
|
|||
<attr name="iconStopOneHandedMode" format="reference" />
|
||||
<attr name="iconSwitchOneHandedMode" format="reference" />
|
||||
<attr name="iconNumpadKey" format="reference" />
|
||||
<attr name="iconToolbarKey" format="reference" />
|
||||
<attr name="iconSelectAll" format="reference" />
|
||||
<attr name="iconArrowLeft" format="reference" />
|
||||
<attr name="iconArrowRight" format="reference" />
|
||||
<attr name="iconArrowUp" format="reference" />
|
||||
<attr name="iconArrowDown" format="reference" />
|
||||
<attr name="iconBin" format="reference" />
|
||||
</declare-styleable>
|
||||
|
||||
<declare-styleable name="Keyboard_GridRows">
|
||||
|
@ -473,6 +482,8 @@
|
|||
<enum name="HoloBase" value="0" />
|
||||
<enum name="LXXBase" value="1" />
|
||||
<enum name="LXXBaseBorder" value="2" />
|
||||
<enum name="RoundedBase" value="3" />
|
||||
<enum name="RoundedBaseBorder" value="4" />
|
||||
</attr>
|
||||
<!-- This should be aligned with
|
||||
{@link org.dslul.openboard.inputmethod.keyboard.KeyboardId#MODE_TEXT} etc. -->
|
||||
|
|
|
@ -32,5 +32,12 @@
|
|||
<item name="iconStopOneHandedMode">@drawable/sym_keyboard_stop_onehanded_holo</item>
|
||||
<item name="iconSwitchOneHandedMode">@drawable/sym_keyboard_switch_onehanded_holo</item>
|
||||
<item name="iconNumpadKey">@drawable/sym_keyboard_numpad_key_holo</item>
|
||||
<item name="iconToolbarKey">@drawable/ic_arrow_right</item>
|
||||
<item name="iconSelectAll">@drawable/ic_select_all</item>
|
||||
<item name="iconArrowLeft">@drawable/ic_arrow_left</item>
|
||||
<item name="iconArrowRight">@drawable/ic_arrow_right</item>
|
||||
<item name="iconArrowUp">@drawable/ic_arrow_up</item>
|
||||
<item name="iconArrowDown">@drawable/ic_arrow_down</item>
|
||||
<item name="iconBin">@drawable/ic_delete</item>
|
||||
</style>
|
||||
</resources>
|
||||
|
|
|
@ -37,5 +37,12 @@
|
|||
<item name="iconStopOneHandedMode">@drawable/sym_keyboard_stop_onehanded_lxx</item>
|
||||
<item name="iconSwitchOneHandedMode">@drawable/ic_arrow_left</item>
|
||||
<item name="iconNumpadKey">@drawable/sym_keyboard_numpad_key_lxx</item>
|
||||
<item name="iconToolbarKey">@drawable/ic_arrow_right</item>
|
||||
<item name="iconSelectAll">@drawable/ic_select_all</item>
|
||||
<item name="iconArrowLeft">@drawable/ic_arrow_left</item>
|
||||
<item name="iconArrowRight">@drawable/ic_arrow_right</item>
|
||||
<item name="iconArrowUp">@drawable/ic_arrow_up</item>
|
||||
<item name="iconArrowDown">@drawable/ic_arrow_down</item>
|
||||
<item name="iconBin">@drawable/ic_delete</item>
|
||||
</style>
|
||||
</resources>
|
||||
|
|
47
app/src/main/res/values/keyboard-icons-rounded.xml
Normal file
47
app/src/main/res/values/keyboard-icons-rounded.xml
Normal file
|
@ -0,0 +1,47 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2014 The Android Open Source Project
|
||||
modified
|
||||
SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only
|
||||
-->
|
||||
<resources>
|
||||
<style name="KeyboardIcons.Rounded">
|
||||
<!-- Keyboard icons -->
|
||||
<item name="iconShiftKey">@drawable/sym_keyboard_shift_rounded</item>
|
||||
<item name="iconShiftKeyShifted">@drawable/sym_keyboard_shift_rounded</item>
|
||||
<item name="iconDeleteKey">@drawable/sym_keyboard_delete_rounded</item>
|
||||
<item name="iconTabKey">@drawable/sym_keyboard_tab_rounded</item>
|
||||
<item name="iconSettingsKey">@drawable/sym_keyboard_settings_rounded</item>
|
||||
<item name="iconSpaceKey">@null</item>
|
||||
<item name="iconEnterKey">@drawable/sym_keyboard_return_rounded</item>
|
||||
<item name="iconGoKey">@drawable/sym_keyboard_go_rounded</item>
|
||||
<item name="iconSearchKey">@drawable/sym_keyboard_search_rounded</item>
|
||||
<item name="iconSendKey">@drawable/sym_keyboard_send_rounded</item>
|
||||
<item name="iconNextKey">@drawable/ic_arrow_right_rounded</item>
|
||||
<item name="iconDoneKey">@drawable/sym_keyboard_done_rounded</item>
|
||||
<item name="iconPreviousKey">@drawable/ic_arrow_left_rounded</item>
|
||||
<item name="iconShortcutKey">@drawable/sym_keyboard_voice_rounded</item>
|
||||
<item name="iconShortcutKeyDisabled">@drawable/sym_keyboard_voice_off_rounded</item>
|
||||
<item name="iconIncognitoKey">@drawable/sym_keyboard_incognito_lxx</item>
|
||||
<item name="iconSpaceKeyForNumberLayout">@drawable/sym_keyboard_space_rounded</item>
|
||||
<item name="iconLanguageSwitchKey">@drawable/sym_keyboard_language_switch_lxx</item>
|
||||
<item name="iconZwnjKey">@drawable/sym_keyboard_zwnj_lxx</item>
|
||||
<item name="iconZwjKey">@drawable/sym_keyboard_zwj_lxx</item>
|
||||
<item name="iconEmojiActionKey">@drawable/sym_keyboard_smiley_rounded</item>
|
||||
<item name="iconEmojiNormalKey">@drawable/sym_keyboard_smiley_rounded</item>
|
||||
<item name="iconClipboardActionKey">@drawable/sym_keyboard_clipboard_rounded</item>
|
||||
<item name="iconClipboardNormalKey">@drawable/sym_keyboard_clipboard_rounded</item>
|
||||
<item name="iconClearClipboardKey">@drawable/sym_keyboard_clear_clipboard_rounded</item>
|
||||
<item name="iconStartOneHandedMode">@drawable/sym_keyboard_start_onehanded_rounded</item>
|
||||
<item name="iconStopOneHandedMode">@drawable/sym_keyboard_stop_onehanded_rounded</item>
|
||||
<item name="iconSwitchOneHandedMode">@drawable/ic_arrow_left_rounded</item>
|
||||
<item name="iconNumpadKey">@drawable/sym_keyboard_numpad_key_lxx</item>
|
||||
<item name="iconToolbarKey">@drawable/ic_arrow_right_rounded</item>
|
||||
<item name="iconSelectAll">@drawable/ic_select_all_rounded</item>
|
||||
<item name="iconArrowLeft">@drawable/ic_arrow_left_rounded</item>
|
||||
<item name="iconArrowRight">@drawable/ic_arrow_right_rounded</item>
|
||||
<item name="iconArrowUp">@drawable/ic_arrow_up_rounded</item>
|
||||
<item name="iconArrowDown">@drawable/ic_arrow_down_rounded</item>
|
||||
<item name="iconBin">@drawable/ic_delete_rounded</item>
|
||||
</style>
|
||||
</resources>
|
|
@ -576,6 +576,8 @@ New dictionary:
|
|||
<string name="user_dict_fast_scroll_alphabet">\u0020ABCDEFGHIJKLMNOPQRSTUVWXYZ</string>
|
||||
<!-- Option for choosing theme style [CHAR LIMIT=33] -->
|
||||
<string name="theme_style">Style</string>
|
||||
<!-- Style name for Rounded style -->
|
||||
<string name="style_name_Rounded">Rounded</string>
|
||||
<!-- Option for choosing colors [CHAR LIMIT=33] -->
|
||||
<string name="theme_colors">Colors</string>
|
||||
<!-- Option for choosing colors for night mode [CHAR LIMIT=33] -->
|
||||
|
|
74
app/src/main/res/values/themes-rounded-base-border.xml
Normal file
74
app/src/main/res/values/themes-rounded-base-border.xml
Normal file
|
@ -0,0 +1,74 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2015 The Android Open Source Project
|
||||
modified
|
||||
SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only
|
||||
-->
|
||||
<resources xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<style name="KeyboardTheme.Rounded_Base_Border"
|
||||
parent="KeyboardTheme.Rounded_Base">
|
||||
<item name="keyboardStyle">@style/Keyboard.Rounded_Base_Border</item>
|
||||
<item name="keyboardViewStyle">@style/KeyboardView.Rounded_Base_Border</item>
|
||||
<item name="mainKeyboardViewStyle">@style/MainKeyboardView.Rounded_Base_Border</item>
|
||||
<item name="emojiPalettesViewStyle">@style/EmojiPalettesView.Rounded_Base_Border</item>
|
||||
<item name="clipboardHistoryViewStyle">@style/ClipboardHistoryView.Rounded_Base_Border</item>
|
||||
<item name="moreKeysKeyboardViewStyle">@style/MoreKeysKeyboardView.Rounded_Base_Border</item>
|
||||
<item name="suggestionStripViewStyle">@style/SuggestionStripView.Rounded_Base_Border</item>
|
||||
</style>
|
||||
<style
|
||||
name="Keyboard.Rounded_Base_Border"
|
||||
parent="Keyboard"
|
||||
>
|
||||
<!-- This should be aligned with KeyboardTheme.THEME_ID_* -->
|
||||
<item name="themeId">RoundedBaseBorder</item>
|
||||
</style>
|
||||
<style
|
||||
name="KeyboardView.Rounded_Base_Border"
|
||||
parent="KeyboardView.Rounded_Base">
|
||||
<item name="android:background">@drawable/keyboard_background_lxx_base_border</item>
|
||||
<item name="keyBackground">@drawable/btn_keyboard_key_rounded_base_border</item>
|
||||
<item name="functionalKeyBackground">@drawable/btn_keyboard_key_functional_rounded_base_border</item>
|
||||
<item name="spacebarBackground">@drawable/btn_keyboard_key_rounded_base_border</item>
|
||||
</style>
|
||||
|
||||
<style
|
||||
name="MainKeyboardView.Rounded_Base_Border"
|
||||
parent="MainKeyboardView.Rounded_Base">
|
||||
<item name="android:background">@drawable/keyboard_background_lxx_base_border</item>
|
||||
<item name="keyBackground">@drawable/btn_keyboard_key_rounded_base_border</item>
|
||||
<item name="functionalKeyBackground">@drawable/btn_keyboard_key_functional_rounded_base_border</item>
|
||||
<item name="spacebarBackground">@drawable/btn_keyboard_key_rounded_base_border</item>
|
||||
</style>
|
||||
|
||||
<style
|
||||
name="EmojiPalettesView.Rounded_Base_Border"
|
||||
parent="EmojiPalettesView.Rounded_Base">
|
||||
<item name="categoryPageIndicatorBackground">@color/emoji_tab_page_indicator_background_lxx_base_border</item>
|
||||
<item name="android:background">@drawable/keyboard_background_lxx_base_border</item>
|
||||
<item name="keyBackground">@drawable/btn_keyboard_key_rounded_base_border</item>
|
||||
<item name="functionalKeyBackground">@drawable/btn_keyboard_key_functional_rounded_base_border</item>
|
||||
<item name="spacebarBackground">@drawable/btn_keyboard_key_rounded_base_border</item>
|
||||
</style>
|
||||
|
||||
<style
|
||||
name="ClipboardHistoryView.Rounded_Base_Border"
|
||||
parent="ClipboardHistoryView.Rounded_Base">
|
||||
<item name="android:background">@drawable/keyboard_suggest_strip_lxx_base_border</item>
|
||||
<item name="keyBackground">@drawable/btn_keyboard_key_rounded_base_border</item>
|
||||
<item name="functionalKeyBackground">@drawable/btn_keyboard_key_functional_rounded_base_border</item>
|
||||
</style>
|
||||
|
||||
<style
|
||||
name="MoreKeysKeyboardView.Rounded_Base_Border"
|
||||
parent="MoreKeysKeyboardView.Rounded_Base">
|
||||
<item name="android:background">@drawable/keyboard_popup_panel_background_rounded_base</item>
|
||||
<item name="keyBackground">@drawable/btn_keyboard_key_popup_rounded_base</item>
|
||||
</style>
|
||||
|
||||
<style
|
||||
name="SuggestionStripView.Rounded_Base_Border"
|
||||
parent="SuggestionStripView.Rounded_Base">
|
||||
<item name="android:background">@drawable/keyboard_suggest_strip_lxx_base_border</item>
|
||||
</style>
|
||||
|
||||
</resources>
|
155
app/src/main/res/values/themes-rounded-base.xml
Normal file
155
app/src/main/res/values/themes-rounded-base.xml
Normal file
|
@ -0,0 +1,155 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2015 The Android Open Source Project
|
||||
modified
|
||||
SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only
|
||||
-->
|
||||
<resources xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<style name="KeyboardTheme.Rounded_Base" parent="KeyboardIcons.Rounded">
|
||||
<item name="inputViewStyle">@style/InputView.LXX</item>
|
||||
<item name="keyboardStyle">@style/Keyboard.Rounded_Base</item>
|
||||
<item name="keyboardViewStyle">@style/KeyboardView.Rounded_Base</item>
|
||||
<item name="mainKeyboardViewStyle">@style/MainKeyboardView.Rounded_Base</item>
|
||||
<item name="emojiPalettesViewStyle">@style/EmojiPalettesView.Rounded_Base</item>
|
||||
<item name="clipboardHistoryViewStyle">@style/ClipboardHistoryView.Rounded_Base</item>
|
||||
<item name="moreKeysKeyboardStyle">@style/MoreKeysKeyboard.Rounded_Base</item>
|
||||
<item name="moreKeysKeyboardViewStyle">@style/MoreKeysKeyboardView.Rounded_Base</item>
|
||||
<item name="moreKeysKeyboardViewForActionStyle">@style/MoreKeysKeyboardView.Rounded_Base.Action</item>
|
||||
<item name="suggestionStripViewStyle">@style/SuggestionStripView.Rounded_Base</item>
|
||||
<item name="suggestionWordStyle">@style/SuggestionWord.Rounded_Base</item>
|
||||
</style>
|
||||
|
||||
<style
|
||||
name="Keyboard.Rounded_Base"
|
||||
parent="Keyboard"
|
||||
>
|
||||
<!-- This should be aligned with KeyboardTheme.THEME_ID_* -->
|
||||
<item name="themeId">RoundedBase</item>
|
||||
</style>
|
||||
|
||||
<style
|
||||
name="KeyboardView.Rounded_Base"
|
||||
parent="KeyboardView.LXX"
|
||||
>
|
||||
<item name="android:background">@color/keyboard_background_lxx_base</item>
|
||||
<item name="keyBackground">@drawable/btn_keyboard_key_rounded_base</item>
|
||||
<item name="functionalKeyBackground">@drawable/btn_keyboard_key_rounded_base</item>
|
||||
<item name="keyTextColor">@color/key_text_color_lxx_light</item>
|
||||
<item name="keyTextInactivatedColor">@color/key_text_inactive_color_lxx_light</item>
|
||||
<item name="functionalTextColor">@color/key_functional_text_color_lxx_light</item>
|
||||
<item name="keyHintLetterColor">@color/key_hint_letter_color_lxx_light</item>
|
||||
<item name="keyHintLabelColor">@color/key_text_inactive_color_lxx_light</item>
|
||||
<item name="keyShiftedLetterHintInactivatedColor">@color/key_text_inactive_color_lxx_light</item>
|
||||
<item name="keyShiftedLetterHintActivatedColor">@color/key_text_color_lxx_light</item>
|
||||
<item name="keyPreviewTextColor">@color/key_text_color_lxx_light</item>
|
||||
<!-- Specific attributes for this theme -->
|
||||
<item name="keyHintLetterPadding">3dp</item>
|
||||
<item name="keyHintLabelVerticalAdjustment">15%p</item> <!-- For normal keys -->
|
||||
</style>
|
||||
|
||||
<style
|
||||
name="MainKeyboardView.Rounded_Base"
|
||||
parent="KeyboardView.Rounded_Base"
|
||||
>
|
||||
<item name="moreKeysKeyboardForActionLayout">@layout/more_keys_keyboard_for_action_lxx</item>
|
||||
<item name="keyPreviewBackground">@drawable/keyboard_key_feedback_lxx_light</item>
|
||||
<item name="keyPreviewHeight">@dimen/config_key_preview_height_lxx</item>
|
||||
<item name="keyPreviewOffset">@dimen/config_key_preview_offset_lxx</item>
|
||||
<item name="gestureFloatingPreviewTextColor">@color/auto_correct_color_lxx_light</item>
|
||||
<item name="gestureFloatingPreviewColor">@color/gesture_floating_preview_color_lxx_light</item>
|
||||
<item name="gestureTrailColor">@color/gesture_trail_color_lxx_light</item>
|
||||
<item name="slidingKeyInputPreviewColor">@color/sliding_key_input_preview_color_lxx_light</item>
|
||||
<!-- A negative value to disable text shadow layer. -->
|
||||
<item name="languageOnSpacebarTextShadowRadius">-1.0</item>
|
||||
</style>
|
||||
|
||||
<!-- Though {@link org.dslul.openboard.inputmethod.keyboard.emoji.EmojiPalettesView} doesn't extend
|
||||
{@link org.dslul.openboard.inputmethod.keyboard.KeyboardView}, some views inside it, for instance
|
||||
delete button, need themed {@link org.dslul.openboard.inputmethod.keyboard.KeyboardView}
|
||||
attributes. -->
|
||||
<style
|
||||
name="EmojiPalettesView.Rounded_Base"
|
||||
parent="MainKeyboardView.Rounded_Base"
|
||||
>
|
||||
<item name="categoryIndicatorEnabled">false</item>
|
||||
<item name="categoryPageIndicatorColor">@color/highlight_color_lxx_light</item>
|
||||
<item name="categoryPageIndicatorBackground">@color/emoji_tab_page_indicator_background_lxx_base</item>
|
||||
<item name="iconEmojiRecentsTab">@drawable/ic_emoji_recents_rounded</item>
|
||||
<item name="iconEmojiCategory1Tab">@drawable/ic_emoji_smileys_emotion_rounded</item>
|
||||
<item name="iconEmojiCategory2Tab">@drawable/ic_emoji_people_body_rounded</item>
|
||||
<item name="iconEmojiCategory3Tab">@drawable/ic_emoji_animals_nature_lxx</item>
|
||||
<item name="iconEmojiCategory4Tab">@drawable/ic_emoji_food_drink_rounded</item>
|
||||
<item name="iconEmojiCategory5Tab">@drawable/ic_emoji_travel_places_rounded</item>
|
||||
<item name="iconEmojiCategory6Tab">@drawable/ic_emoji_activities_rounded</item>
|
||||
<item name="iconEmojiCategory7Tab">@drawable/ic_emoji_objects_rounded</item>
|
||||
<item name="iconEmojiCategory8Tab">@drawable/ic_emoji_symbols_rounded</item>
|
||||
<item name="iconEmojiCategory9Tab">@drawable/ic_emoji_flags_rounded</item>
|
||||
<item name="iconEmojiCategory10Tab">@drawable/ic_emoji_emoticons_rounded</item>
|
||||
</style>
|
||||
|
||||
<style
|
||||
name="ClipboardHistoryView.Rounded_Base"
|
||||
parent="MainKeyboardView.Rounded_Base"
|
||||
>
|
||||
<item name="iconPinnedClip">@drawable/ic_clipboard_pin_rounded</item>
|
||||
</style>
|
||||
|
||||
<style
|
||||
name="MoreKeysKeyboard.Rounded_Base"
|
||||
parent="Keyboard.Rounded_Base"
|
||||
>
|
||||
<item name="keyboardTopPadding">0%p</item>
|
||||
<item name="keyboardBottomPadding">0%p</item>
|
||||
<item name="horizontalGap">0%p</item>
|
||||
<item name="horizontalGapNarrow">0%p</item>
|
||||
<item name="touchPositionCorrectionData">@null</item>
|
||||
</style>
|
||||
|
||||
<style
|
||||
name="MoreKeysKeyboardView.Rounded_Base"
|
||||
parent="KeyboardView.Rounded_Base"
|
||||
>
|
||||
<item name="android:background">@drawable/keyboard_popup_panel_background_rounded_base</item>
|
||||
<item name="keyBackground">@drawable/btn_keyboard_key_popup_rounded_base</item>
|
||||
<item name="divider">@drawable/more_keys_divider</item>
|
||||
<item name="keyTypeface">normal</item>
|
||||
<item name="verticalCorrection">@dimen/config_more_keys_keyboard_vertical_correction_holo</item>
|
||||
</style>
|
||||
|
||||
<style
|
||||
name="MoreKeysKeyboardView.Rounded_Base.Action"
|
||||
parent="MoreKeysKeyboardView.Rounded_Base"
|
||||
>
|
||||
<item name="android:background">@android:color/transparent</item>
|
||||
<item name="keyBackground">@drawable/btn_keyboard_key_popup_action_lxx_base</item>
|
||||
<item name="divider">@null</item>
|
||||
<item name="keyLabelFlags">keepBackgroundAspectRatio</item>
|
||||
</style>
|
||||
|
||||
<style
|
||||
name="SuggestionStripView.Rounded_Base"
|
||||
parent="KeyboardView.Rounded_Base"
|
||||
>
|
||||
<item name="suggestionsCountInStrip">@integer/config_suggestions_count_in_strip</item>
|
||||
<item name="centerSuggestionPercentile">@fraction/config_center_suggestion_percentile</item>
|
||||
<item name="maxMoreSuggestionsRow">@integer/config_max_more_suggestions_row</item>
|
||||
<item name="minMoreSuggestionsWidth">@fraction/config_min_more_suggestions_width</item>
|
||||
<item name="android:background">@drawable/keyboard_background_lxx_base</item>
|
||||
<item name="android:src">@drawable/suggestions_strip_divider_lxx_light</item>
|
||||
<item name="suggestionStripOptions">autoCorrectBold|validTypedWordBold</item>
|
||||
<item name="colorValidTypedWord">@color/typed_word_color_lxx_light</item>
|
||||
<item name="colorTypedWord">@color/typed_word_color_lxx_light</item>
|
||||
<item name="colorAutoCorrect">@color/auto_correct_color_lxx_light</item>
|
||||
<item name="colorSuggested">@color/suggested_word_color_lxx_light</item>
|
||||
<item name="alphaObsoleted">70%</item>
|
||||
</style>
|
||||
|
||||
<style
|
||||
name="SuggestionWord.Rounded_Base"
|
||||
parent="SuggestionWord"
|
||||
>
|
||||
<item name="android:background">@drawable/btn_suggestion_rounded_base</item>
|
||||
<item name="android:textColor">@color/highlight_color_lxx_light</item>
|
||||
</style>
|
||||
|
||||
</resources>
|
|
@ -67,7 +67,7 @@
|
|||
</switch>
|
||||
<!-- Enter key style -->
|
||||
<switch>
|
||||
<case latin:keyboardTheme="HoloBase|LXXBaseBorder">
|
||||
<case latin:keyboardTheme="HoloBase|LXXBaseBorder|RoundedBaseBorder">
|
||||
<key-style
|
||||
latin:styleName="defaultEnterKeyStyle"
|
||||
latin:keySpec="!icon/enter_key|!code/key_enter"
|
||||
|
|
|
@ -64,7 +64,7 @@
|
|||
latin:backgroundType="functional" />
|
||||
<!-- emojiKeyStyle must be defined before including @xml/key_syles_enter. -->
|
||||
<switch>
|
||||
<case latin:keyboardTheme="HoloBase|LXXBaseBorder">
|
||||
<case latin:keyboardTheme="HoloBase|LXXBaseBorder|RoundedBaseBorder">
|
||||
<key-style
|
||||
latin:styleName="emojiKeyStyle"
|
||||
latin:keySpec="!icon/emoji_normal_key|!code/key_emoji"
|
||||
|
|
|
@ -199,7 +199,7 @@
|
|||
</switch>
|
||||
<!-- Enter key style -->
|
||||
<switch>
|
||||
<case latin:keyboardTheme="HoloBase|LXXBaseBorder">
|
||||
<case latin:keyboardTheme="HoloBase|LXXBaseBorder|RoundedBaseBorder">
|
||||
<key-style
|
||||
latin:styleName="defaultEnterKeyStyle"
|
||||
latin:keySpec="!icon/enter_key|!code/key_enter"
|
||||
|
|
Loading…
Add table
Reference in a new issue