Skip to content
This repository was archived by the owner on Feb 1, 2020. It is now read-only.

Commit e04b802

Browse files
committed
additional theme apis
Change-Id: Ibea5126a5e040bfa74aeb203b2c65f68b74bd54a
1 parent 02e01c7 commit e04b802

3 files changed

Lines changed: 12 additions & 7 deletions

File tree

api/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ android {
88
minSdkVersion 7
99
targetSdkVersion 24
1010
versionCode 4
11-
versionName "1.6.0"
11+
versionName "1.7.0"
1212
}
1313
buildTypes {
1414
release {

api/src/main/res/values/keyboard_theme_api.xml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@
8282
<attr name="suggestionTextSize" format="dimension"/>
8383
<attr name="suggestionBackgroundImage" format="reference"/>
8484
<attr name="suggestionDividerImage" format="reference"/>
85+
<attr name="suggestionCloseImage" format="reference"/>
8586
<attr name="suggestionStripHeight" format="dimension"/>
8687

8788
<!-- Size of the text for hinting about long press output. -->
@@ -155,9 +156,6 @@
155156
<!-- centered, but also adjust position to account for hint label location -->
156157
<flag name="auto" value="112"/>
157158
</attr>
158-
<!-- show hint and/or extra hint on preview -->
159-
<attr name="showHintOnPreview" format="boolean"/>
160-
<attr name="showExtraHintOnPreview" format="boolean"/>
161159
<!-- expected behavior if showHintOnPreview="false" and showExtraHintOnPreview="true" -->
162160
<!-- is that extra hint is shown if any long press or popupCharacters for key -->
163161

@@ -169,10 +167,17 @@
169167

170168
<attr name="previewGestureTextSize" format="dimension"/>
171169
<attr name="previewGestureTextColor" format="color"/>
170+
<!-- show hint and/or extra hint on preview -->
171+
<attr name="showHintOnPreview" format="boolean"/>
172+
<attr name="showExtraHintOnPreview" format="boolean"/>
173+
<attr name="previewAnimationType">
174+
<flag name="none" value="0"/>
175+
<!--default value-->
176+
<flag name="extend_key" value="1"/>
177+
<flag name="appear" value="2"/>
178+
</attr>
172179
</declare-styleable>
173180

174-
175-
176181
<declare-styleable name="AnyKeyboardViewIconsTheme">
177182
<!-- should support normal, android:state_pressed, key_type_feedback, android:state_pressed+key_type_feedback, android:state_checked, state_checked+key_type_feedback -->
178183
<attr name="iconKeyShift" format="reference"/>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<resources>
3-
<integer name="anysoftkeyboard_api_version_code">4</integer>
3+
<integer name="anysoftkeyboard_api_version_code">5</integer>
44
</resources>

0 commit comments

Comments
 (0)