aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--java/res/drawable/keyboard_background_4.pngbin11964 -> 0 bytes
-rw-r--r--java/res/drawable/keyboard_background_5.pngbin12227 -> 0 bytes
-rwxr-xr-xjava/res/layout/input3.xml31
-rwxr-xr-xjava/res/layout/input4.xml31
-rwxr-xr-xjava/res/layout/input5.xml31
-rwxr-xr-xjava/res/layout/input6.xml31
-rw-r--r--java/res/values/strings.xml12
-rw-r--r--java/src/com/android/inputmethod/latin/KeyboardSwitcher.java6
-rw-r--r--java/src/com/android/inputmethod/latin/LatinImeLogger.java4
9 files changed, 6 insertions, 140 deletions
diff --git a/java/res/drawable/keyboard_background_4.png b/java/res/drawable/keyboard_background_4.png
deleted file mode 100644
index 74fc2e762..000000000
--- a/java/res/drawable/keyboard_background_4.png
+++ /dev/null
Binary files differ
diff --git a/java/res/drawable/keyboard_background_5.png b/java/res/drawable/keyboard_background_5.png
deleted file mode 100644
index 2e0fb289f..000000000
--- a/java/res/drawable/keyboard_background_5.png
+++ /dev/null
Binary files differ
diff --git a/java/res/layout/input3.xml b/java/res/layout/input3.xml
deleted file mode 100755
index a4295f7f4..000000000
--- a/java/res/layout/input3.xml
+++ /dev/null
@@ -1,31 +0,0 @@
-<?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="@android:id/keyboardView"
- android:layout_alignParentBottom="true"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:background="@drawable/keyboard_background_4"
-
- latin:keyBackground="@drawable/btn_keyboard_key2"
- />
diff --git a/java/res/layout/input4.xml b/java/res/layout/input4.xml
deleted file mode 100755
index b5da9d48f..000000000
--- a/java/res/layout/input4.xml
+++ /dev/null
@@ -1,31 +0,0 @@
-<?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="@android:id/keyboardView"
- android:layout_alignParentBottom="true"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:background="@drawable/keyboard_background_4"
-
- latin:keyBackground="@drawable/btn_keyboard_key3"
- />
diff --git a/java/res/layout/input5.xml b/java/res/layout/input5.xml
deleted file mode 100755
index 2de11dfff..000000000
--- a/java/res/layout/input5.xml
+++ /dev/null
@@ -1,31 +0,0 @@
-<?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="@android:id/keyboardView"
- android:layout_alignParentBottom="true"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:background="@drawable/keyboard_background_5"
-
- latin:keyBackground="@drawable/btn_keyboard_key2"
- />
diff --git a/java/res/layout/input6.xml b/java/res/layout/input6.xml
deleted file mode 100755
index 54f31044f..000000000
--- a/java/res/layout/input6.xml
+++ /dev/null
@@ -1,31 +0,0 @@
-<?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="@android:id/keyboardView"
- android:layout_alignParentBottom="true"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:background="@drawable/keyboard_background_5"
-
- latin:keyBackground="@drawable/btn_keyboard_key3"
- />
diff --git a/java/res/values/strings.xml b/java/res/values/strings.xml
index e310da7f6..64b8dbe59 100644
--- a/java/res/values/strings.xml
+++ b/java/res/values/strings.xml
@@ -332,19 +332,11 @@
<string name="keyboard_layout">Keyboard Theme</string>
<string name="layout_basic" translatable="false">Basic</string>
<string name="layout_high_contrast" translatable="false">Basic (High Contrast)</string>
- <string name="layout_blue_ribbon" translatable="false">Blue Ribbon</string>
- <string name="layout_dazzle" translatable="false">Dazzle</string>
- <string name="layout_blue_ribbon_high" translatable="false">Blue Ribbon (High Contrast)</string>
- <string name="layout_dazzle_high" translatable="false">Dazzle (High Contrast)</string>
<string name="layout_stone" translatable="false">Default</string>
<string-array name="keyboard_layout_modes" translatable="false">
<item>@string/layout_basic</item>
<item>@string/layout_high_contrast</item>
- <item>@string/layout_blue_ribbon</item>
- <item>@string/layout_blue_ribbon_high</item>
- <item>@string/layout_dazzle</item>
- <item>@string/layout_dazzle_high</item>
<item>@string/layout_stone</item>
</string-array>
@@ -352,10 +344,6 @@
<item>0</item>
<item>1</item>
<item>2</item>
- <item>3</item>
- <item>4</item>
- <item>5</item>
- <item>6</item>
</string-array>
<string name="prefs_debug_mode">Debug (Temporary)</string>
diff --git a/java/src/com/android/inputmethod/latin/KeyboardSwitcher.java b/java/src/com/android/inputmethod/latin/KeyboardSwitcher.java
index 3c0ab5a4e..665e16aec 100644
--- a/java/src/com/android/inputmethod/latin/KeyboardSwitcher.java
+++ b/java/src/com/android/inputmethod/latin/KeyboardSwitcher.java
@@ -48,12 +48,10 @@ public class KeyboardSwitcher implements SharedPreferences.OnSharedPreferenceCha
public static final int KEYBOARDMODE_IM = R.id.mode_im;
public static final int KEYBOARDMODE_WEB = R.id.mode_webentry;
- public static final String DEFAULT_LAYOUT_ID = "6";
+ public static final String DEFAULT_LAYOUT_ID = "2";
public static final String PREF_KEYBOARD_LAYOUT = "keyboard_layout";
private static final int[] LAYOUTS = new int [] {
- R.layout.input, R.layout.input2, R.layout.input3, R.layout.input4, R.layout.input5,
- R.layout.input6, R.layout.input7
- };
+ R.layout.input, R.layout.input2, R.layout.input7};
private static final int SYMBOLS_MODE_STATE_NONE = 0;
private static final int SYMBOLS_MODE_STATE_BEGIN = 1;
diff --git a/java/src/com/android/inputmethod/latin/LatinImeLogger.java b/java/src/com/android/inputmethod/latin/LatinImeLogger.java
index 1e467d9a6..42d5689d2 100644
--- a/java/src/com/android/inputmethod/latin/LatinImeLogger.java
+++ b/java/src/com/android/inputmethod/latin/LatinImeLogger.java
@@ -263,6 +263,10 @@ public class LatinImeLogger implements SharedPreferences.OnSharedPreferenceChang
if (sLOGPRINT) {
Log.d(TAG, "Log theme Id. (1)");
}
+ // TODO: Not to convert theme ID here. Currently "2" is treated as "6" in a log server.
+ if (mThemeId == "2") {
+ mThemeId = "6";
+ }
mLogBuffer.add(new LogEntry (time, ID_THEME_ID,
new String[] {mThemeId}));
}