Add a functionality to disable the spell checker

Change-Id: I2c2663e8232c5ba4b7499fd17a173c8c65252cf3
This commit is contained in:
satok
2011-08-31 21:15:53 +09:00
parent 8ff6222a91
commit 14413a02e3
2 changed files with 14 additions and 2 deletions

View File

@@ -52,7 +52,7 @@ public class CheckBoxAndSettingsPreference extends CheckBoxPreference {
new OnClickListener() {
@Override
public void onClick(View arg0) {
onCheckBoxClicked(arg0);
onCheckBoxClicked();
}
});
mSetingsButton = (ImageView)view.findViewById(R.id.inputmethod_settings);
@@ -80,7 +80,7 @@ public class CheckBoxAndSettingsPreference extends CheckBoxPreference {
mSettingsIntent = intent;
}
protected void onCheckBoxClicked(View view) {
protected void onCheckBoxClicked() {
if (isChecked()) {
setChecked(false);
} else {