OSDN Git Service

Merge "Add new imeFullscreenBackground for Theme.InputMethod.Holo"
authorTadashi G. Takaoka <takaoka@google.com>
Tue, 24 May 2011 02:00:01 +0000 (19:00 -0700)
committerAndroid (Google) Code Review <android-gerrit@google.com>
Tue, 24 May 2011 02:00:01 +0000 (19:00 -0700)
core/res/res/drawable-hdpi/keyboard_textfield_selected.9.png [deleted file]
core/res/res/drawable-ldpi/keyboard_textfield_selected.9.png [deleted file]
core/res/res/drawable-mdpi/keyboard_textfield_selected.9.png [deleted file]
core/res/res/drawable/extract_edit_text.xml [deleted file]
core/res/res/layout/input_method_extract_view.xml
core/res/res/values/colors.xml
core/res/res/values/themes.xml

diff --git a/core/res/res/drawable-hdpi/keyboard_textfield_selected.9.png b/core/res/res/drawable-hdpi/keyboard_textfield_selected.9.png
deleted file mode 100644 (file)
index 61db22c..0000000
Binary files a/core/res/res/drawable-hdpi/keyboard_textfield_selected.9.png and /dev/null differ
diff --git a/core/res/res/drawable-ldpi/keyboard_textfield_selected.9.png b/core/res/res/drawable-ldpi/keyboard_textfield_selected.9.png
deleted file mode 100644 (file)
index d6478fb..0000000
Binary files a/core/res/res/drawable-ldpi/keyboard_textfield_selected.9.png and /dev/null differ
diff --git a/core/res/res/drawable-mdpi/keyboard_textfield_selected.9.png b/core/res/res/drawable-mdpi/keyboard_textfield_selected.9.png
deleted file mode 100644 (file)
index 6e703af..0000000
Binary files a/core/res/res/drawable-mdpi/keyboard_textfield_selected.9.png and /dev/null differ
diff --git a/core/res/res/drawable/extract_edit_text.xml b/core/res/res/drawable/extract_edit_text.xml
deleted file mode 100644 (file)
index c7f66f6..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Copyright (C) 2007 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_focused="true" android:drawable="@drawable/keyboard_textfield_selected" />
-    <item android:drawable="@drawable/textfield_disabled" />
-</selector>
-
index 689ba7b..7d59d02 100644 (file)
@@ -31,7 +31,6 @@
             android:gravity="top"
             android:minLines="1"
             android:inputType="text"
-            android:background="@android:drawable/extract_edit_text"
         >
     </android.inputmethodservice.ExtractEditText>
 
index 39d2329..6529fe1 100644 (file)
@@ -77,6 +77,7 @@
     <drawable name="dialog_holo_light_frame">@drawable/dialog_full_holo_light</drawable>
     
     <drawable name="input_method_fullscreen_background">#fff9f9f9</drawable>
+    <drawable name="input_method_fullscreen_background_holo">@drawable/screen_background_holo_dark</drawable>
 
     <!-- For date picker widget -->
     <drawable name="selected_day_background">#ff0092f4</drawable>
index aa9ddff..0a614b2 100644 (file)
          and a few custom attributes. -->
     <style name="Theme.Holo.InputMethod" parent="Theme.Holo.Panel">
         <item name="android:windowAnimationStyle">@android:style/Animation.InputMethod</item>
-        <item name="android:imeFullscreenBackground">@android:drawable/input_method_fullscreen_background</item>
+        <item name="android:imeFullscreenBackground">@android:drawable/input_method_fullscreen_background_holo</item>
         <item name="android:imeExtractEnterAnimation">@android:anim/input_method_extract_enter</item>
         <item name="android:imeExtractExitAnimation">@android:anim/input_method_extract_exit</item>
     </style>