Initial commit
|
@ -0,0 +1,8 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<classpath>
|
||||
<classpathentry kind="src" path="src"/>
|
||||
<classpathentry kind="src" path="gen"/>
|
||||
<classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/>
|
||||
<classpathentry kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/>
|
||||
<classpathentry kind="output" path="bin/classes"/>
|
||||
</classpath>
|
|
@ -0,0 +1,33 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<projectDescription>
|
||||
<name>KeyboardThemeAnyClassic</name>
|
||||
<comment></comment>
|
||||
<projects>
|
||||
</projects>
|
||||
<buildSpec>
|
||||
<buildCommand>
|
||||
<name>com.android.ide.eclipse.adt.ResourceManagerBuilder</name>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
<buildCommand>
|
||||
<name>com.android.ide.eclipse.adt.PreCompilerBuilder</name>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
<buildCommand>
|
||||
<name>org.eclipse.jdt.core.javabuilder</name>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
<buildCommand>
|
||||
<name>com.android.ide.eclipse.adt.ApkBuilder</name>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
</buildSpec>
|
||||
<natures>
|
||||
<nature>com.android.ide.eclipse.adt.AndroidNature</nature>
|
||||
<nature>org.eclipse.jdt.core.javanature</nature>
|
||||
</natures>
|
||||
</projectDescription>
|
|
@ -0,0 +1,30 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="com.anysoftkeyboard.theme.anyclassic"
|
||||
android:versionCode="4"
|
||||
android:versionName="4.0.1-20120110" >
|
||||
|
||||
<uses-sdk android:minSdkVersion="4" />
|
||||
|
||||
<application
|
||||
android:icon="@drawable/app_icon"
|
||||
android:label="@string/app_name" >
|
||||
<receiver android:exported="true" android:name=".KeyboardThemeReceiver">
|
||||
<intent-filter>
|
||||
<action android:name="com.anysoftkeyboard.plugin.KEYBOARD_THEME" />
|
||||
<category android:name="android.intent.category.DEFAULT"/>
|
||||
<category android:name="android.intent.category.ALTERNATIVE" />
|
||||
<category android:name="android.intent.category.SELECTED_ALTERNATIVE" />
|
||||
</intent-filter>
|
||||
<meta-data android:name="com.anysoftkeyboard.plugindata.keyboardtheme" android:resource="@xml/keyboard_themes" />
|
||||
</receiver>
|
||||
</application>
|
||||
|
||||
<supports-screens
|
||||
android:xlargeScreens="true"
|
||||
android:largeScreens="true"
|
||||
android:normalScreens="true"
|
||||
android:smallScreens="true"
|
||||
android:anyDensity="true" />
|
||||
<!-- http://d.android.com/guide/practices/screens_support.html read about legacy. -->
|
||||
</manifest>
|
|
@ -0,0 +1,85 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project name="KeyboardThemeAnyClassic" default="help">
|
||||
|
||||
<!-- The local.properties file is created and updated by the 'android' tool.
|
||||
It contains the path to the SDK. It should *NOT* be checked into
|
||||
Version Control Systems. -->
|
||||
<loadproperties srcFile="local.properties" />
|
||||
|
||||
<!-- The ant.properties file can be created by you. It is only edited by the
|
||||
'android' tool to add properties to it.
|
||||
This is the place to change some Ant specific build properties.
|
||||
Here are some properties you may want to change/update:
|
||||
|
||||
source.dir
|
||||
The name of the source directory. Default is 'src'.
|
||||
out.dir
|
||||
The name of the output directory. Default is 'bin'.
|
||||
|
||||
For other overridable properties, look at the beginning of the rules
|
||||
files in the SDK, at tools/ant/build.xml
|
||||
|
||||
Properties related to the SDK location or the project target should
|
||||
be updated using the 'android' tool with the 'update' action.
|
||||
|
||||
This file is an integral part of the build system for your
|
||||
application and should be checked into Version Control Systems.
|
||||
|
||||
-->
|
||||
<property file="ant.properties" />
|
||||
|
||||
<!-- The project.properties file is created and updated by the 'android'
|
||||
tool, as well as ADT.
|
||||
|
||||
This contains project specific properties such as project target, and library
|
||||
dependencies. Lower level build properties are stored in ant.properties
|
||||
(or in .classpath for Eclipse projects).
|
||||
|
||||
This file is an integral part of the build system for your
|
||||
application and should be checked into Version Control Systems. -->
|
||||
<loadproperties srcFile="project.properties" />
|
||||
|
||||
<!-- quick check on sdk.dir -->
|
||||
<fail
|
||||
message="sdk.dir is missing. Make sure to generate local.properties using 'android update project'"
|
||||
unless="sdk.dir"
|
||||
/>
|
||||
|
||||
|
||||
<!-- extension targets. Uncomment the ones where you want to do custom work
|
||||
in between standard targets -->
|
||||
<!--
|
||||
<target name="-pre-build">
|
||||
</target>
|
||||
<target name="-pre-compile">
|
||||
</target>
|
||||
|
||||
/* This is typically used for code obfuscation.
|
||||
Compiled code location: ${out.classes.absolute.dir}
|
||||
If this is not done in place, override ${out.dex.input.absolute.dir} */
|
||||
<target name="-post-compile">
|
||||
</target>
|
||||
-->
|
||||
|
||||
<!-- Import the actual build file.
|
||||
|
||||
To customize existing targets, there are two options:
|
||||
- Customize only one target:
|
||||
- copy/paste the target into this file, *before* the
|
||||
<import> task.
|
||||
- customize it to your needs.
|
||||
- Customize the whole content of build.xml
|
||||
- copy/paste the content of the rules files (minus the top node)
|
||||
into this file, replacing the <import> task.
|
||||
- customize to your needs.
|
||||
|
||||
***********************
|
||||
****** IMPORTANT ******
|
||||
***********************
|
||||
In all cases you must update the value of version-tag below to read 'custom' instead of an integer,
|
||||
in order to avoid having your file be overridden by tools such as "android update project"
|
||||
-->
|
||||
<!-- version-tag: 1 -->
|
||||
<import file="${sdk.dir}/tools/ant/build.xml" />
|
||||
|
||||
</project>
|
|
@ -0,0 +1,40 @@
|
|||
-optimizationpasses 5
|
||||
-dontusemixedcaseclassnames
|
||||
-dontskipnonpubliclibraryclasses
|
||||
-dontpreverify
|
||||
-verbose
|
||||
-optimizations !code/simplification/arithmetic,!field/*,!class/merging/*
|
||||
|
||||
-keep public class * extends android.app.Activity
|
||||
-keep public class * extends android.app.Application
|
||||
-keep public class * extends android.app.Service
|
||||
-keep public class * extends android.content.BroadcastReceiver
|
||||
-keep public class * extends android.content.ContentProvider
|
||||
-keep public class * extends android.app.backup.BackupAgentHelper
|
||||
-keep public class * extends android.preference.Preference
|
||||
-keep public class com.android.vending.licensing.ILicensingService
|
||||
|
||||
-keepclasseswithmembernames class * {
|
||||
native <methods>;
|
||||
}
|
||||
|
||||
-keepclasseswithmembers class * {
|
||||
public <init>(android.content.Context, android.util.AttributeSet);
|
||||
}
|
||||
|
||||
-keepclasseswithmembers class * {
|
||||
public <init>(android.content.Context, android.util.AttributeSet, int);
|
||||
}
|
||||
|
||||
-keepclassmembers class * extends android.app.Activity {
|
||||
public void *(android.view.View);
|
||||
}
|
||||
|
||||
-keepclassmembers enum * {
|
||||
public static **[] values();
|
||||
public static ** valueOf(java.lang.String);
|
||||
}
|
||||
|
||||
-keep class * implements android.os.Parcelable {
|
||||
public static final android.os.Parcelable$Creator *;
|
||||
}
|
|
@ -0,0 +1,14 @@
|
|||
# This file is automatically generated by Android Tools.
|
||||
# Do not modify this file -- YOUR CHANGES WILL BE ERASED!
|
||||
#
|
||||
# This file must be checked in Version Control Systems.
|
||||
#
|
||||
# To customize properties used by the Ant build system use,
|
||||
# "ant.properties", and override values to adapt the script to your
|
||||
# project structure.
|
||||
|
||||
# Project target.
|
||||
target=android-10
|
||||
android.library.reference.1=../AnySoftKeyboardAPI
|
||||
key.store=../../LanguagePacks/key.store
|
||||
key.alias=packs
|
After Width: | Height: | Size: 4.1 KiB |
After Width: | Height: | Size: 1.8 KiB |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 1.5 KiB |
After Width: | Height: | Size: 2.5 KiB |
After Width: | Height: | Size: 1.5 KiB |
After Width: | Height: | Size: 1.5 KiB |
After Width: | Height: | Size: 2.7 KiB |
After Width: | Height: | Size: 227 B |
After Width: | Height: | Size: 1.9 KiB |
After Width: | Height: | Size: 2.0 KiB |
After Width: | Height: | Size: 1.9 KiB |
After Width: | Height: | Size: 2.1 KiB |
After Width: | Height: | Size: 2.1 KiB |
After Width: | Height: | Size: 2.2 KiB |
After Width: | Height: | Size: 1.9 KiB |
After Width: | Height: | Size: 2.1 KiB |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 160 B |
After Width: | Height: | Size: 673 B |
After Width: | Height: | Size: 659 B |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 1.6 KiB |
After Width: | Height: | Size: 905 B |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 1.6 KiB |
After Width: | Height: | Size: 787 B |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 1.0 KiB |
After Width: | Height: | Size: 630 B |
After Width: | Height: | Size: 322 B |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 1.2 KiB |
|
@ -0,0 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:ask="http://schemas.android.com/apk/res/com.anysoftkeyboard.theme.anyclassic">
|
||||
<item ask:key_type_feedback="true" android:drawable="@drawable/sym_keyboard_arrow_left" />
|
||||
<item android:drawable="@drawable/sym_keyboard_arrow_left" />
|
||||
</selector>
|
|
@ -0,0 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:ask="http://schemas.android.com/apk/res/com.anysoftkeyboard.theme.anyclassic">
|
||||
<item ask:key_type_feedback="true" android:drawable="@drawable/sym_keyboard_arrow_right" />
|
||||
<item android:drawable="@drawable/sym_keyboard_arrow_right" />
|
||||
</selector>
|
After Width: | Height: | Size: 2.4 KiB |
|
@ -0,0 +1,50 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (C) 2011 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"
|
||||
xmlns:ask="http://schemas.android.com/apk/res/com.anysoftkeyboard.theme.anyclassic">
|
||||
|
||||
<!-- Functional keys. -->
|
||||
|
||||
<item ask:key_type_function="true" android:state_pressed="true"
|
||||
android:drawable="@drawable/btn_keyboard_key_trans_pressed" />
|
||||
<item ask:key_type_function="true"
|
||||
android:drawable="@drawable/btn_keyboard_key_trans_normal" />
|
||||
|
||||
<!-- Action keys. -->
|
||||
|
||||
<item ask:key_type_action="true" android:state_pressed="true"
|
||||
android:drawable="@drawable/btn_keyboard_key_trans_pressed" />
|
||||
<item ask:key_type_action="true"
|
||||
android:drawable="@drawable/btn_keyboard_key_trans_normal" />
|
||||
|
||||
<!-- 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_trans_pressed_on" />
|
||||
<item android:state_checkable="true" android:state_pressed="true"
|
||||
android:drawable="@drawable/btn_keyboard_key_trans_pressed_off" />
|
||||
<item android:state_checkable="true" android:state_checked="true"
|
||||
android:drawable="@drawable/btn_keyboard_key_trans_normal_on" />
|
||||
<item android:state_checkable="true"
|
||||
android:drawable="@drawable/btn_keyboard_key_trans_normal_off" />
|
||||
|
||||
<!-- Normal keys. -->
|
||||
|
||||
<item android:state_pressed="true"
|
||||
android:drawable="@drawable/btn_keyboard_key_trans_pressed" />
|
||||
<item android:drawable="@drawable/btn_keyboard_key_trans_normal" />
|
||||
</selector>
|
|
@ -0,0 +1,28 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (C) 2010 The Android Open Source Project
|
||||
Copyright (C) 2011 AnySoftKeyboard
|
||||
|
||||
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"
|
||||
xmlns:ask="http://schemas.android.com/apk/res/com.anysoftkeyboard.theme.anyclassic">
|
||||
|
||||
<!-- Search keys -->
|
||||
<item ask:action_search="true" ask:key_type_feedback="true" android:drawable="@drawable/sym_keyboard_search_holo" />
|
||||
<item ask:action_search="true" android:drawable="@drawable/sym_keyboard_search_holo" />
|
||||
|
||||
<!-- ENTER keys -->
|
||||
<item ask:key_type_feedback="true" android:drawable="@drawable/sym_keyboard_return_holo" />
|
||||
<item android:drawable="@drawable/sym_keyboard_return_holo" />
|
||||
</selector>
|
|
@ -0,0 +1,24 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (C) 2010 The Android Open Source Project
|
||||
Copyright (C) 2011 AnySoftKeyboard
|
||||
|
||||
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"
|
||||
xmlns:ask="http://schemas.android.com/apk/res/com.anysoftkeyboard.theme.anyclassic">
|
||||
|
||||
<!-- Normal keys -->
|
||||
<item ask:key_type_feedback="true" android:drawable="@drawable/sym_keyboard_delete_holo" />
|
||||
<item android:drawable="@drawable/sym_keyboard_delete_holo" />
|
||||
</selector>
|
|
@ -0,0 +1,24 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (C) 2010 The Android Open Source Project
|
||||
Copyright (C) 2011 AnySoftKeyboard
|
||||
|
||||
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"
|
||||
xmlns:ask="http://schemas.android.com/apk/res/com.anysoftkeyboard.theme.anyclassic">
|
||||
|
||||
<!-- Normal keys -->
|
||||
<item ask:key_type_feedback="true" android:drawable="@drawable/sym_keyboard_voice_holo" />
|
||||
<item android:drawable="@drawable/sym_keyboard_voice_holo" />
|
||||
</selector>
|
|
@ -0,0 +1,24 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (C) 2010 The Android Open Source Project
|
||||
Copyright (C) 2011 AnySoftKeyboard
|
||||
|
||||
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"
|
||||
xmlns:ask="http://schemas.android.com/apk/res/com.anysoftkeyboard.theme.anyclassic">
|
||||
|
||||
<!-- Normal keys -->
|
||||
<item ask:key_type_feedback="true" android:drawable="@drawable/sym_keyboard_feedback_settings_holo" />
|
||||
<item android:drawable="@drawable/sym_keyboard_settings_holo" />
|
||||
</selector>
|
|
@ -0,0 +1,32 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (C) 2010 The Android Open Source Project
|
||||
Copyright (C) 2011 AnySoftKeyboard
|
||||
|
||||
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"
|
||||
xmlns:ask="http://schemas.android.com/apk/res/com.anysoftkeyboard.theme.anyclassic">
|
||||
|
||||
<!-- checked -->
|
||||
<item android:state_checked="true" ask:key_type_feedback="true" android:drawable="@drawable/sym_keyboard_shift_locked_holo" />
|
||||
<item android:state_checked="true" android:drawable="@drawable/sym_keyboard_shift_locked_holo" />
|
||||
|
||||
<!-- pressed -->
|
||||
<item android:state_pressed="true" ask:key_type_feedback="true" android:drawable="@drawable/sym_keyboard_shift_locked_holo" />
|
||||
<item android:state_pressed="true" android:drawable="@drawable/sym_keyboard_shift_locked_holo" />
|
||||
|
||||
<!-- Normal keys -->
|
||||
<item ask:key_type_feedback="true" android:drawable="@drawable/sym_keyboard_shift_holo" />
|
||||
<item android:drawable="@drawable/sym_keyboard_shift_holo" />
|
||||
</selector>
|
|
@ -0,0 +1,24 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (C) 2010 The Android Open Source Project
|
||||
Copyright (C) 2011 AnySoftKeyboard
|
||||
|
||||
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"
|
||||
xmlns:ask="http://schemas.android.com/apk/res/com.anysoftkeyboard.theme.anyclassic">
|
||||
|
||||
<!-- Normal keys -->
|
||||
<item ask:key_type_feedback="true" android:drawable="@drawable/sym_keyboard_space_holo" />
|
||||
<item android:drawable="@drawable/sym_keyboard_space_holo" />
|
||||
</selector>
|
|
@ -0,0 +1,24 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (C) 2010 The Android Open Source Project
|
||||
Copyright (C) 2011 AnySoftKeyboard
|
||||
|
||||
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"
|
||||
xmlns:ask="http://schemas.android.com/apk/res/com.anysoftkeyboard.theme.anyclassic">
|
||||
|
||||
<!-- Normal keys -->
|
||||
<item ask:key_type_feedback="true" android:drawable="@drawable/sym_keyboard_tab_holo" />
|
||||
<item android:drawable="@drawable/sym_keyboard_tab_holo" />
|
||||
</selector>
|
|
@ -0,0 +1,21 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (C) 2011 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_long_pressable="true"
|
||||
android:drawable="@drawable/keyboard_key_feedback_more_background_2_holo" />
|
||||
<item android:drawable="@drawable/keyboard_key_feedback_background_2_holo" />
|
||||
</selector>
|
|
@ -0,0 +1,21 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (C) 2011 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_long_pressable="true"
|
||||
android:drawable="@drawable/keyboard_key_feedback_left_more_background_holo" />
|
||||
<item android:drawable="@drawable/keyboard_key_feedback_left_background_holo" />
|
||||
</selector>
|
|
@ -0,0 +1,21 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (C) 2011 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_long_pressable="true"
|
||||
android:drawable="@drawable/keyboard_key_feedback_right_more_background_holo" />
|
||||
<item android:drawable="@drawable/keyboard_key_feedback_right_background_holo" />
|
||||
</selector>
|
|
@ -0,0 +1,30 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
/*
|
||||
**
|
||||
** Copyright 2011, 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.
|
||||
*/
|
||||
-->
|
||||
|
||||
<shape
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle"
|
||||
>
|
||||
<solid
|
||||
android:color="@android:color/transparent" />
|
||||
<size
|
||||
android:width="50dp"
|
||||
android:height="40dp" />
|
||||
</shape>
|
|
@ -0,0 +1,31 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
/*
|
||||
**
|
||||
** Copyright 2011, AnySoftKeyboard
|
||||
**
|
||||
** 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>
|
||||
<dimen name="default_key_height">33dip</dimen>
|
||||
<dimen name="default_key_half_height">26dip</dimen>
|
||||
<dimen name="default_key_tall_height">43dip</dimen>
|
||||
|
||||
<dimen name="default_key_vertical_gap">2dp</dimen>
|
||||
<dimen name="default_key_horizontal_gap">2dp</dimen>
|
||||
|
||||
<dimen name="candidate_strip_height">38dip</dimen>
|
||||
<dimen name="candidate_strip_fading_edge_length">63dip</dimen>
|
||||
</resources>
|
|
@ -0,0 +1,33 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
/*
|
||||
**
|
||||
** Copyright 2011, AnySoftKeyboard
|
||||
**
|
||||
** 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>
|
||||
<dimen name="default_key_height">44dip</dimen>
|
||||
<dimen name="default_key_half_height">32dip</dimen>
|
||||
<dimen name="default_key_tall_height">56dip</dimen>
|
||||
|
||||
<dimen name="default_key_horizontal_gap">3dp</dimen>
|
||||
|
||||
<dimen name="key_text_size">24sp</dimen>
|
||||
<dimen name="key_label_text_size">16sp</dimen>
|
||||
|
||||
<dimen name="candidate_strip_height">40dip</dimen>
|
||||
<dimen name="candidate_font_height">23sp</dimen>
|
||||
</resources>
|
|
@ -0,0 +1,33 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
/*
|
||||
**
|
||||
** Copyright 2011, AnySoftKeyboard
|
||||
**
|
||||
** 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>
|
||||
<dimen name="default_key_height">50dip</dimen>
|
||||
<dimen name="default_key_half_height">38dip</dimen>
|
||||
<dimen name="default_key_tall_height">62dip</dimen>
|
||||
|
||||
<dimen name="default_key_horizontal_gap">2dp</dimen>
|
||||
|
||||
<dimen name="key_text_size">24sp</dimen>
|
||||
<dimen name="key_label_text_size">17sp</dimen>
|
||||
|
||||
<dimen name="candidate_strip_height">44sp</dimen>
|
||||
<dimen name="candidate_font_height">24sp</dimen>
|
||||
</resources>
|
|
@ -0,0 +1,34 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
/*
|
||||
**
|
||||
** Copyright 2011, AnySoftKeyboard
|
||||
**
|
||||
** 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>
|
||||
<dimen name="default_key_height">55dip</dimen>
|
||||
<dimen name="default_key_half_height">42dip</dimen>
|
||||
<dimen name="default_key_tall_height">68dip</dimen>
|
||||
|
||||
<dimen name="default_key_vertical_gap">4dp</dimen>
|
||||
<dimen name="default_key_horizontal_gap">5dip</dimen>
|
||||
|
||||
<dimen name="key_text_size">27sp</dimen>
|
||||
<dimen name="key_label_text_size">19sp</dimen>
|
||||
|
||||
<dimen name="candidate_strip_height">40dip</dimen>
|
||||
<dimen name="candidate_font_height">24sp</dimen>
|
||||
</resources>
|
|
@ -0,0 +1,34 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
/*
|
||||
**
|
||||
** Copyright 2011, AnySoftKeyboard
|
||||
**
|
||||
** 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>
|
||||
<dimen name="default_key_height">65dip</dimen>
|
||||
<dimen name="default_key_half_height">52dip</dimen>
|
||||
<dimen name="default_key_tall_height">78dip</dimen>
|
||||
|
||||
<dimen name="default_key_vertical_gap">6dp</dimen>
|
||||
<dimen name="default_key_horizontal_gap">4dip</dimen>
|
||||
|
||||
<dimen name="key_text_size">29sp</dimen>
|
||||
<dimen name="key_label_text_size">20sp</dimen>
|
||||
|
||||
<dimen name="candidate_strip_height">42dip</dimen>
|
||||
<dimen name="candidate_font_height">25sp</dimen>
|
||||
</resources>
|
|
@ -0,0 +1,33 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
/*
|
||||
**
|
||||
** Copyright 2011, AnySoftKeyboard
|
||||
**
|
||||
** 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>
|
||||
<dimen name="default_key_height">45dip</dimen>
|
||||
<dimen name="default_key_half_height">30dip</dimen>
|
||||
<dimen name="default_key_tall_height">54dip</dimen>
|
||||
|
||||
<dimen name="default_key_vertical_gap">0dp</dimen>
|
||||
<dimen name="default_key_horizontal_gap">1dp</dimen>
|
||||
|
||||
<dimen name="key_text_size">21sp</dimen>
|
||||
<dimen name="key_label_text_size">14sp</dimen>
|
||||
<dimen name="candidate_strip_height">36dip</dimen>
|
||||
<dimen name="candidate_font_height">18sp</dimen>
|
||||
</resources>
|
|
@ -0,0 +1,8 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
|
||||
<string name="app_name">AnyClassic AnySoftKeyboard Theme</string>
|
||||
<string name="anyclassic_keyboard_theme_name">AnyClassic Theme</string>
|
||||
<string name="anyclassic_keyboard_theme_description">AnySoftKeyboard theme looking like previous versions of AnySoftKeyboard</string>
|
||||
|
||||
</resources>
|
|
@ -0,0 +1,73 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (C) 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.
|
||||
-->
|
||||
<resources>
|
||||
<style name="AnyClassicKeyboardIconsTheme">
|
||||
<!-- should support normal, android:state_pressed, feedback, android:state_pressed+feedback, android:state_checked, state_checked+feedback -->
|
||||
<item name="iconKeyShift">@drawable/ics_key_shift_set</item>
|
||||
<!-- should support normal, feedback -->
|
||||
<item name="iconKeyBackspace">@drawable/ics_key_delete_set</item>
|
||||
<!-- should support normal, feedback -->
|
||||
<item name="iconKeySpace">@drawable/ics_key_space_set</item>
|
||||
<!-- should support normal, key_type_feedback, action_done, action_done+key_type_feedback, action_search, action_search+key_type_feedback, action_go, action_go+key_type_feedback -->
|
||||
<item name="iconKeyAction">@drawable/ics_key_action_set</item>
|
||||
<!-- should support normal, feedback -->
|
||||
<item name="iconKeyMic">@drawable/ics_key_mic_set</item>
|
||||
<!-- should support normal, feedback -->
|
||||
<item name="iconKeySettings">@drawable/ics_key_settings_set</item>
|
||||
</style>
|
||||
<style name="AnyClassicKeyboardTheme">
|
||||
<item name="android:background">@drawable/keyboard_background_holo</item>
|
||||
<item name="keyBackground">@drawable/btn_keyboard_key_trans</item>
|
||||
|
||||
<item name="keyTextSize">@dimen/key_text_size</item>
|
||||
<item name="keyTextStyle">normal</item>
|
||||
<item name="keyTextColor">#FFFFFFFF</item>
|
||||
<item name="hintTextColor">#FF999999</item>
|
||||
<item name="labelTextSize">@dimen/key_label_text_size</item>
|
||||
|
||||
<item name="shadowColor">#BB000000</item>
|
||||
<item name="shadowRadius">0px</item>
|
||||
<item name="shadowOffsetX">0px</item>
|
||||
<item name="shadowOffsetY">0px</item>
|
||||
<item name="backgroundDimAmount">0.5</item>
|
||||
|
||||
<!-- key preview (feeback) -->
|
||||
<item name="keyPreviewBackground">@drawable/keyboard_key_feedback_ics</item>
|
||||
<item name="keyPreviewTextColor">#FFFFFFFF</item>
|
||||
<item name="keyPreviewTextSize">32sp</item>
|
||||
<item name="keyPreviewLabelTextSize">22sp</item>
|
||||
|
||||
<!-- suggestion strip -->
|
||||
<item name="suggestionBackgroundImage">@drawable/keyboard_suggest_strip_holo</item>
|
||||
<item name="suggestionStripHeight">@dimen/candidate_strip_height</item>
|
||||
<item name="suggestionTextSize">@dimen/candidate_font_height</item>
|
||||
|
||||
<!-- key heights -->
|
||||
<item name="keyNormalHeight">@dimen/default_key_height</item>
|
||||
<item name="keySmallHeight">@dimen/default_key_half_height</item>
|
||||
<item name="keyLargeHeight">@dimen/default_key_tall_height</item>
|
||||
|
||||
<!-- key gaps -->
|
||||
<item name="keyHorizontalGap">@dimen/default_key_horizontal_gap</item>
|
||||
<item name="keyVerticalGap">@dimen/default_key_vertical_gap</item>
|
||||
</style>
|
||||
<style name="AnyClassicKeyboardPopupTheme" parent="@style/AnyClassicKeyboardTheme">
|
||||
<item name="android:background">@drawable/keyboard_popup_panel_background</item>
|
||||
<item name="keyBackground">@drawable/btn_keyboard_key_trans</item>
|
||||
<!-- this will say "no preview" -->
|
||||
<item name="keyPreviewTextSize">0px</item>
|
||||
</style>
|
||||
</resources>
|
|
@ -0,0 +1,12 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<KeyboardThemes>
|
||||
<KeyboardTheme
|
||||
id="ae78fed7-fba8-4025-9af6-999449d84d3d"
|
||||
nameResId="@string/anyclassic_keyboard_theme_name"
|
||||
themeRes="@style/AnyClassicKeyboardTheme"
|
||||
popupThemeRes="@style/AnyClassicKeyboardPopupTheme"
|
||||
iconsThemeRes="@style/AnyClassicKeyboardIconsTheme"
|
||||
description="@string/anyclassic_keyboard_theme_description"
|
||||
index="1"/>
|
||||
<!-- themeScreenshot="@drawable/anyclassic_theme_screenshot" -->
|
||||
</KeyboardThemes>
|