Initial commit
This commit is contained in:
38
dists/android/res/values/styles.xml
Normal file
38
dists/android/res/values/styles.xml
Normal file
@@ -0,0 +1,38 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (C) 2006 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.
|
||||
-->
|
||||
<resources>
|
||||
<!-- Style largely taken from AOSP (frameworks/base/core/res/values) for Widget.KeyboardView -->
|
||||
<style name="View.CustomKeyboard" parent="android:Widget" >
|
||||
<!-- View's background attribute (reference (a drawable) or color) -->
|
||||
<!-- A drawable to use as the background. This can be either a reference
|
||||
to a full drawable resource (such as a PNG image, 9-patch,
|
||||
XML state list description, etc), or a solid color such as "#ff000000"
|
||||
(black). -->
|
||||
<!-- drawables for keyboard taken from AOSP (frameworks/base/core/res) -->
|
||||
<item name="android:background">@drawable/keyboard_background</item>
|
||||
<item name="keyBackground">@drawable/btn_keyboard_key</item>
|
||||
<item name="keyTextSize">22sp</item>
|
||||
<item name="keyTextColor">#FFFFFFFF</item>
|
||||
<item name="keyPreviewLayout">@layout/keyboard_key_preview</item>
|
||||
<item name="keyPreviewOffset">-12dip</item>
|
||||
<item name="keyPreviewHeight">80dip</item>
|
||||
<item name="labelTextSize">14sp</item>
|
||||
<item name="popupLayout">@layout/keyboard_popup_keyboard</item>
|
||||
<item name="verticalCorrection">-10dip</item>
|
||||
<item name="shadowColor">#BB000000</item>
|
||||
<item name="shadowRadius">2.75</item>
|
||||
</style>
|
||||
</resources>
|
||||
Reference in New Issue
Block a user