diff options
author | 2014-08-07 11:51:58 +0000 | |
---|---|---|
committer | 2014-08-07 11:51:58 +0000 | |
commit | c91c2d5e8a6473d6dbe384589b10b2d27ac02c6a (patch) | |
tree | 6b9348ff8d40c470b5c001044e4bd0ed0222e30c /java | |
parent | d4c4dc8751af7947e9e9a9592d4a68b27b3c73b4 (diff) | |
parent | cfaf75bb963b6186e1be1c7ba4e265d29cd0c7fb (diff) | |
download | latinime-c91c2d5e8a6473d6dbe384589b10b2d27ac02c6a.tar.gz latinime-c91c2d5e8a6473d6dbe384589b10b2d27ac02c6a.tar.xz latinime-c91c2d5e8a6473d6dbe384589b10b2d27ac02c6a.zip |
am cfaf75bb: am 0f2de75e: Merge "Revert "Remove unused animation resources"" into lmp-dev
* commit 'cfaf75bb963b6186e1be1c7ba4e265d29cd0c7fb':
Revert "Remove unused animation resources"
Diffstat (limited to 'java')
-rw-r--r-- | java/res/anim/more_keys_keyboard_fadein.xml | 29 | ||||
-rw-r--r-- | java/res/anim/more_keys_keyboard_fadeout.xml | 29 | ||||
-rw-r--r-- | java/res/values/themes-common.xml | 4 |
3 files changed, 62 insertions, 0 deletions
diff --git a/java/res/anim/more_keys_keyboard_fadein.xml b/java/res/anim/more_keys_keyboard_fadein.xml new file mode 100644 index 000000000..c781f36ad --- /dev/null +++ b/java/res/anim/more_keys_keyboard_fadein.xml @@ -0,0 +1,29 @@ +<?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. +*/ +--> + +<set + xmlns:android="http://schemas.android.com/apk/res/android" + android:interpolator="@android:anim/decelerate_interpolator" +> + <alpha + android:fromAlpha="0.5" + android:toAlpha="1.0" + android:duration="@integer/config_more_keys_keyboard_fadein_anim_time" /> +</set> diff --git a/java/res/anim/more_keys_keyboard_fadeout.xml b/java/res/anim/more_keys_keyboard_fadeout.xml new file mode 100644 index 000000000..32fae6bd8 --- /dev/null +++ b/java/res/anim/more_keys_keyboard_fadeout.xml @@ -0,0 +1,29 @@ +<?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. +*/ +--> + +<set + xmlns:android="http://schemas.android.com/apk/res/android" + android:interpolator="@android:anim/accelerate_interpolator" +> + <alpha + android:fromAlpha="1.0" + android:toAlpha="0.0" + android:duration="@integer/config_more_keys_keyboard_fadeout_anim_time" /> +</set> diff --git a/java/res/values/themes-common.xml b/java/res/values/themes-common.xml index cf7888ad6..be9a6cee0 100644 --- a/java/res/values/themes-common.xml +++ b/java/res/values/themes-common.xml @@ -135,4 +135,8 @@ <item name="android:singleLine">true</item> <item name="android:ellipsize">none</item> </style> + <style name="MoreKeysKeyboardAnimation"> + <item name="android:windowEnterAnimation">@anim/more_keys_keyboard_fadein</item> + <item name="android:windowExitAnimation">@anim/more_keys_keyboard_fadeout</item> + </style> </resources> |