-
-
Notifications
You must be signed in to change notification settings - Fork 111
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c2a48b2
commit e1da2ff
Showing
68 changed files
with
994 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file added
BIN
+3.9 KB
app/src/main/res/drawable-hdpi/keyboard_popup_panel_background_rounded_base.9.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+2.94 KB
app/src/main/res/drawable-mdpi/keyboard_popup_panel_background_rounded_base.9.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+4.73 KB
app/src/main/res/drawable-xhdpi/keyboard_popup_panel_background_rounded_base.9.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+7.21 KB
...src/main/res/drawable-xxhdpi/keyboard_popup_panel_background_rounded_base.9.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+8.68 KB
...rc/main/res/drawable-xxxhdpi/keyboard_popup_panel_background_rounded_base.9.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
33 changes: 33 additions & 0 deletions
33
app/src/main/res/drawable/btn_keyboard_key_functional_rounded_base_border.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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> |
16 changes: 16 additions & 0 deletions
16
app/src/main/res/drawable/btn_keyboard_key_normal_functional_rounded_base_border.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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> |
15 changes: 15 additions & 0 deletions
15
app/src/main/res/drawable/btn_keyboard_key_normal_rounded_base_border.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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> |
15 changes: 15 additions & 0 deletions
15
app/src/main/res/drawable/btn_keyboard_key_popup_rounded_base.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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> |
7 changes: 7 additions & 0 deletions
7
app/src/main/res/drawable/btn_keyboard_key_pressed_functional_rounded_base_border.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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> |
6 changes: 6 additions & 0 deletions
6
app/src/main/res/drawable/btn_keyboard_key_pressed_rounded_base.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 changes: 33 additions & 0 deletions
33
app/src/main/res/drawable/btn_keyboard_key_rounded_base.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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> |
33 changes: 33 additions & 0 deletions
33
app/src/main/res/drawable/btn_keyboard_key_rounded_base_border.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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> |
Oops, something went wrong.