Add popup layout for theme of gingerbread

Change-Id: I464dc6cef4ca8cfd3c2fdb2fe99b2dc7d4e7988d
main
satok 2010-09-13 17:39:15 +09:00
parent 0edddce011
commit fe5a49ed0d
3 changed files with 23 additions and 1 deletions

View File

@ -0,0 +1,21 @@
<?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.
-->
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_pressed="true"
android:drawable="@drawable/btn_keyboard_key_light_popup_selected" />
<item android:drawable="@drawable/btn_keyboard_key_light_popup_normal" />
</selector>

View File

@ -29,5 +29,6 @@
android:textStyle="bold"
latin:keyBackground="@drawable/btn_keyboard_key_gingerbread"
latin:popupLayout="@layout/input_gingerbread_popup"
latin:keyTextStyle="bold"
/>

View File

@ -33,7 +33,7 @@
android:layout_height="wrap_content"
android:background="@drawable/keyboard_dark_background"
latin:keyBackground="@drawable/btn_keyboard_key_gingerbread"
latin:keyBackground="@drawable/btn_keyboard_key_gingerbread_popup"
latin:popupLayout="@layout/input_gingerbread_popup"
/>
</LinearLayout>