diff options
Diffstat (limited to 'java/res/layout')
-rwxr-xr-x | java/res/layout/input_basic.xml (renamed from java/res/layout/input.xml) | 2 | ||||
-rwxr-xr-x | java/res/layout/input_basic_highcontrast.xml (renamed from java/res/layout/input2.xml) | 2 | ||||
-rwxr-xr-x | java/res/layout/input_stone_bold.xml | 38 | ||||
-rwxr-xr-x | java/res/layout/input_stone_normal.xml (renamed from java/res/layout/input7.xml) | 3 | ||||
-rwxr-xr-x | java/res/layout/input_stone_popup.xml (renamed from java/res/layout/input7_popup.xml) | 9 |
5 files changed, 46 insertions, 8 deletions
diff --git a/java/res/layout/input.xml b/java/res/layout/input_basic.xml index 039fdd8df..ffa59543b 100755 --- a/java/res/layout/input.xml +++ b/java/res/layout/input_basic.xml @@ -21,7 +21,7 @@ <com.android.inputmethod.latin.LatinKeyboardView xmlns:android="http://schemas.android.com/apk/res/android" xmlns:latin="http://schemas.android.com/apk/res/com.google.android.inputmethod.latin" - android:id="@android:id/keyboardView" + android:id="@+id/LatinkeyboardBaseView" android:layout_alignParentBottom="true" android:layout_width="match_parent" android:layout_height="wrap_content" diff --git a/java/res/layout/input2.xml b/java/res/layout/input_basic_highcontrast.xml index 3c9ec2fdf..dc4d09736 100755 --- a/java/res/layout/input2.xml +++ b/java/res/layout/input_basic_highcontrast.xml @@ -22,7 +22,7 @@ xmlns:android="http://schemas.android.com/apk/res/android" xmlns:latin="http://schemas.android.com/apk/res/com.google.android.inputmethod.latin" - android:id="@android:id/keyboardView" + android:id="@+id/LatinkeyboardBaseView" android:layout_alignParentBottom="true" android:layout_width="match_parent" android:layout_height="wrap_content" diff --git a/java/res/layout/input_stone_bold.xml b/java/res/layout/input_stone_bold.xml new file mode 100755 index 000000000..8cc082b5d --- /dev/null +++ b/java/res/layout/input_stone_bold.xml @@ -0,0 +1,38 @@ +<?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. +*/ +--> + +<com.android.inputmethod.latin.LatinKeyboardView + xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:latin="http://schemas.android.com/apk/res/com.google.android.inputmethod.latin" + android:id="@+id/LatinkeyboardBaseView" + android:layout_alignParentBottom="true" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:background="@drawable/keyboard_background" + android:textStyle="bold" + + latin:keyBackground="@drawable/btn_keyboard_key_ginger" + latin:keyTextSize="22dip" + latin:keyTextColor="@color/latinkeyboard_key_color_black" + latin:shadowColor="@color/latinkeyboard_key_color_white" + latin:keyTextStyle="bold" + latin:symbolColorScheme="black" + latin:popupLayout="@layout/input_stone_popup" + /> diff --git a/java/res/layout/input7.xml b/java/res/layout/input_stone_normal.xml index 1290eb8ca..51693502e 100755 --- a/java/res/layout/input7.xml +++ b/java/res/layout/input_stone_normal.xml @@ -31,5 +31,6 @@ latin:keyTextSize="22dip" latin:keyTextColor="@color/latinkeyboard_key_color_black" latin:shadowColor="@color/latinkeyboard_key_color_white" - latin:popupLayout="@layout/input7_popup" + latin:symbolColorScheme="black" + latin:popupLayout="@layout/input_stone_popup" /> diff --git a/java/res/layout/input7_popup.xml b/java/res/layout/input_stone_popup.xml index 2056757fa..e6eae5dad 100755 --- a/java/res/layout/input7_popup.xml +++ b/java/res/layout/input_stone_popup.xml @@ -25,10 +25,9 @@ android:orientation="horizontal" android:background="@drawable/keyboard_popup_panel_background" > - <com.android.inputmethod.latin.LatinKeyboardView - xmlns:android="http://schemas.android.com/apk/res/android" + <com.android.inputmethod.latin.LatinKeyboardBaseView xmlns:latin="http://schemas.android.com/apk/res/com.google.android.inputmethod.latin" - android:id="@android:id/keyboardView" + android:id="@+id/LatinKeyboardBaseView" android:layout_alignParentBottom="true" android:layout_width="match_parent" android:layout_height="wrap_content" @@ -38,9 +37,9 @@ latin:keyTextColor="@color/latinkeyboard_key_color_black" latin:shadowColor="@color/latinkeyboard_key_color_white" latin:keyTextSize="22dip" - latin:popupLayout="@layout/input7_popup" + latin:popupLayout="@layout/input_stone_popup" /> - <ImageButton android:id="@android:id/closeButton" + <ImageButton android:id="@+id/closeButton" android:background="@android:color/transparent" android:src="@drawable/btn_close" android:layout_width="wrap_content" |