aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/settings/AppearanceSettingsFragment.java
diff options
context:
space:
mode:
authorBudi Kusmiantoro <budi@google.com>2014-09-15 17:53:23 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-09-15 17:53:23 +0000
commit106706ced9bde3b31fffcb2acaa642e7bf00208a (patch)
tree611310b3ee31117b436f4a606ac5a9c858e62370 /java/src/com/android/inputmethod/latin/settings/AppearanceSettingsFragment.java
parentf5901b6e2ddbfbf4b9949688858f8461c3d7a1e5 (diff)
parentadd816610b0d2978c5bd2653e53444f65d812ecf (diff)
downloadlatinime-106706ced9bde3b31fffcb2acaa642e7bf00208a.tar.gz
latinime-106706ced9bde3b31fffcb2acaa642e7bf00208a.tar.xz
latinime-106706ced9bde3b31fffcb2acaa642e7bf00208a.zip
Merge branch 'lmp-mr1-dev-plus-aosp' of https://googleplex-android.googlesource.com/_direct/platform/packages/inputmethods/LatinIME into lmp-mr1-dev-plus-aosp
Diffstat (limited to 'java/src/com/android/inputmethod/latin/settings/AppearanceSettingsFragment.java')
-rw-r--r--java/src/com/android/inputmethod/latin/settings/AppearanceSettingsFragment.java41
1 files changed, 41 insertions, 0 deletions
diff --git a/java/src/com/android/inputmethod/latin/settings/AppearanceSettingsFragment.java b/java/src/com/android/inputmethod/latin/settings/AppearanceSettingsFragment.java
new file mode 100644
index 000000000..f5e4d33a2
--- /dev/null
+++ b/java/src/com/android/inputmethod/latin/settings/AppearanceSettingsFragment.java
@@ -0,0 +1,41 @@
+/*
+ * Copyright (C) 2014 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.
+ */
+
+package com.android.inputmethod.latin.settings;
+
+import android.os.Bundle;
+
+import com.android.inputmethod.latin.R;
+
+
+/**
+ * "Appearance" settings sub screen.
+ */
+public final class AppearanceSettingsFragment extends SubScreenFragment {
+ @Override
+ public void onCreate(final Bundle icicle) {
+ super.onCreate(icicle);
+ addPreferencesFromResource(R.xml.prefs_screen_appearance);
+ }
+
+ @Override
+ public void onResume() {
+ super.onResume();
+ CustomInputStyleSettingsFragment.updateCustomInputStylesSummary(
+ findPreference(Settings.PREF_CUSTOM_INPUT_STYLES));
+ ThemeSettingsFragment.updateKeyboardThemeSummary(findPreference(Settings.SCREEN_THEME));
+ }
+}