-
Notifications
You must be signed in to change notification settings - Fork 447
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #706 from BeeeWall/material-black
Add Material Black theme
- Loading branch information
Showing
45 changed files
with
189 additions
and
39 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
Binary file added
BIN
+143 Bytes
app/src/main/res/drawable-hdpi/keyboard_background_material_black.9.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
Binary file added
BIN
+2.52 KB
...rc/main/res/drawable-xxhdpi/btn_keyboard_key_active_pressed_material_dark.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.53 KB
...c/main/res/drawable-xxhdpi/btn_keyboard_key_active_pressed_material_light.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
+274 Bytes
app/src/main/res/drawable-xxhdpi/btn_keyboard_key_normal_off_material_black.9.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
File renamed without changes
Binary file added
BIN
+283 Bytes
app/src/main/res/drawable-xxhdpi/btn_keyboard_key_normal_on_material_black.9.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
File renamed without changes
File renamed without changes
Binary file added
BIN
+288 Bytes
...rc/main/res/drawable-xxhdpi/btn_keyboard_key_popup_selected_material_dark.9.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
File renamed without changes
Binary file added
BIN
+283 Bytes
app/src/main/res/drawable-xxhdpi/btn_keyboard_key_pressed_off_material_dark.9.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
File renamed without changes
Binary file added
BIN
+314 Bytes
app/src/main/res/drawable-xxhdpi/btn_keyboard_key_pressed_on_material_dark.9.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
Binary file added
BIN
+612 Bytes
...src/main/res/drawable-xxhdpi/btn_keyboard_spacebar_pressed_material_black.9.png
Oops, something went wrong.
Binary file added
BIN
+608 Bytes
app/src/main/res/drawable-xxhdpi/btn_keyboard_spacebar_pressed_material_dark.9.png
Oops, something went wrong.
File renamed without changes
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
44 changes: 44 additions & 0 deletions
44
app/src/main/res/drawable/btn_keyboard_key_material_light.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,44 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<!-- Copyright (C) 2014 The Android Open Source Project | ||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
You may obtain a copy of the License at | ||
http://www.apache.org/licenses/LICENSE-2.0 | ||
Unless required by applicable law or agreed to in writing, software | ||
distributed under the License is distributed on an "AS IS" BASIS, | ||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
See the License for the specific language governing permissions and | ||
limitations under the License. | ||
--> | ||
|
||
<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_active_pressed_material_light" /> | ||
<item android:state_active="true" | ||
android:drawable="@drawable/btn_keyboard_key_active_material_light" /> | ||
|
||
<!-- 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_on_material_light" /> | ||
<item android:state_checkable="true" android:state_pressed="true" | ||
android:drawable="@drawable/btn_keyboard_key_pressed_off_material_light" /> | ||
<item android:state_checkable="true" android:state_checked="true" | ||
android:drawable="@drawable/btn_keyboard_key_normal_on_material_light" /> | ||
<item android:state_checkable="true" | ||
android:drawable="@drawable/btn_keyboard_key_normal_off_material_light" /> | ||
|
||
<!-- Empty background keys. --> | ||
<item android:state_empty="true" android:state_pressed="true" | ||
android:drawable="@color/key_background_pressed_material_light" /> | ||
<item android:state_empty="true" | ||
android:drawable="@android:color/transparent" /> | ||
|
||
<!-- Normal keys. --> | ||
<item android:state_pressed="true" | ||
android:drawable="@color/key_background_pressed_material_light" /> | ||
<item android:drawable="@color/key_background_material_light" /> | ||
</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
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
20 changes: 20 additions & 0 deletions
20
app/src/main/res/drawable/btn_keyboard_key_popup_material_light.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,20 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<!-- Copyright (C) 2014 The Android Open Source Project | ||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
You may obtain a copy of the License at | ||
http://www.apache.org/licenses/LICENSE-2.0 | ||
Unless required by applicable law or agreed to in writing, software | ||
distributed under the License is distributed on an "AS IS" BASIS, | ||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
See the License for the specific language governing permissions and | ||
limitations under the License. | ||
--> | ||
|
||
<selector xmlns:android="http://schemas.android.com/apk/res/android"> | ||
<item android:state_pressed="true" | ||
android:drawable="@drawable/btn_keyboard_key_popup_selected_material_light" /> | ||
</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,35 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<!-- | ||
/* | ||
** | ||
** Copyright 2010, The Android Open Source Project | ||
** | ||
** Licensed under the Apache License, Version 2.0 (the "License"); | ||
** you may not use this file except in compliance with the License. | ||
** You may obtain a copy of the License at | ||
** | ||
** http://www.apache.org/licenses/LICENSE-2.0 | ||
** | ||
** Unless required by applicable law or agreed to in writing, software | ||
** distributed under the License is distributed on an "AS IS" BASIS, | ||
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
** See the License for the specific language governing permissions and | ||
** limitations under the License. | ||
*/ | ||
--> | ||
|
||
<org.pocketworkstation.pckeyboard.LatinKeyboardView | ||
xmlns:android="http://schemas.android.com/apk/res/android" | ||
xmlns:latin="http://schemas.android.com/apk/res-auto" | ||
android:id="@+id/LatinkeyboardBaseView" | ||
android:layout_alignParentBottom="true" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:paddingBottom="@dimen/keyboard_bottom_padding" | ||
android:background="@drawable/keyboard_background_material_black" | ||
latin:keyTextColor="@color/key_text_color_material_black" | ||
latin:keyHintColor="@color/key_hint_letter_color_material_black" | ||
|
||
latin:keyBackground="@drawable/btn_keyboard_key_material_black" | ||
latin:popupLayout="@layout/input_popup_material_black" | ||
/> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<!-- | ||
/* | ||
** | ||
** Copyright 2010, The Android Open Source Project | ||
** | ||
** Licensed under the Apache License, Version 2.0 (the "License"); | ||
** you may not use this file except in compliance with the License. | ||
** You may obtain a copy of the License at | ||
** | ||
** http://www.apache.org/licenses/LICENSE-2.0 | ||
** | ||
** Unless required by applicable law or agreed to in writing, software | ||
** distributed under the License is distributed on an "AS IS" BASIS, | ||
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
** See the License for the specific language governing permissions and | ||
** limitations under the License. | ||
*/ | ||
--> | ||
<LinearLayout | ||
xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:orientation="horizontal" | ||
android:background="@drawable/keyboard_popup_panel_background" | ||
android:paddingLeft="16dip" | ||
android:paddingRight="16dip" | ||
> | ||
<org.pocketworkstation.pckeyboard.LatinKeyboardBaseView | ||
xmlns:latin="http://schemas.android.com/apk/res-auto" | ||
android:id="@+id/LatinKeyboardBaseView" | ||
android:layout_alignParentBottom="true" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:background="@color/latinkeyboard_transparent" | ||
|
||
latin:keyBackground="@drawable/btn_keyboard_key_popup_material_black" | ||
latin:keyHysteresisDistance="0dip" | ||
latin:verticalCorrection="@dimen/mini_keyboard_vertical_correction" | ||
latin:keyPreviewLayout="@layout/null_layout" | ||
latin:popupLayout="@layout/null_layout" | ||
/> | ||
</LinearLayout> |
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