diff options
author | 2014-09-13 03:18:14 +0000 | |
---|---|---|
committer | 2014-09-13 03:18:14 +0000 | |
commit | cad1e0095303a360d70c733549e43f31469aae3a (patch) | |
tree | 13d82ea82ce6f95873aa4d41fc9b6332c8256d98 /java/src/com/android/inputmethod/latin/settings/AppearanceSettingsFragment.java | |
parent | 38920098b288c8da99029c6e584ec98b666b21cf (diff) | |
parent | 034769fcbcffa097e5145d9697a84ada95734c59 (diff) | |
download | latinime-cad1e0095303a360d70c733549e43f31469aae3a.tar.gz latinime-cad1e0095303a360d70c733549e43f31469aae3a.tar.xz latinime-cad1e0095303a360d70c733549e43f31469aae3a.zip |
am 034769fc: am d07f7c53: am d0d8f90a: Merge "Reorganize settings in Google Keyboard" into lmp-dev
* commit '034769fcbcffa097e5145d9697a84ada95734c59':
Reorganize settings in Google Keyboard
Diffstat (limited to 'java/src/com/android/inputmethod/latin/settings/AppearanceSettingsFragment.java')
-rw-r--r-- | java/src/com/android/inputmethod/latin/settings/AppearanceSettingsFragment.java | 41 |
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)); + } +} |