Commit 39f2df68 by Lee Jaebin

設定画面で操作説明書の選択欄を非表示

parent 5ed32776
...@@ -271,26 +271,27 @@ public class ABookSettingFragment extends PreferenceFragment { ...@@ -271,26 +271,27 @@ public class ABookSettingFragment extends PreferenceFragment {
} }
Preference abookCheckManual = findPreference(ABOOK_CHECK_MANUAL); Preference abookCheckManual = findPreference(ABOOK_CHECK_MANUAL);
// リソースパターンの適用 appInfo.removePreference(abookCheckManual);
abookCheckManual.setTitle(PatternStringUtil.patternToString(getActivity().getApplicationContext(), // // リソースパターンの適用
R.string.operation_manual, // abookCheckManual.setTitle(PatternStringUtil.patternToString(getActivity().getApplicationContext(),
getUserPref(getActivity().getApplicationContext(), AppDefType.UserPrefKey.RESOURCE_PATTERN_TYPE, 0))); // R.string.operation_manual,
abookCheckManual.setOnPreferenceClickListener(new Preference.OnPreferenceClickListener() { // getUserPref(getActivity().getApplicationContext(), AppDefType.UserPrefKey.RESOURCE_PATTERN_TYPE, 0)));
@Override // abookCheckManual.setOnPreferenceClickListener(new Preference.OnPreferenceClickListener() {
public boolean onPreferenceClick(Preference preference) { // @Override
try { // public boolean onPreferenceClick(Preference preference) {
Intent intent = new Intent(); // try {
intent.putExtra(ABookKeys.CONTENT_ID, 0L); // Intent intent = new Intent();
intent.putExtra("FILEPATH", ABVEnvironment.getInstance().getContentCacheDirectoryPath(0L)); // intent.putExtra(ABookKeys.CONTENT_ID, 0L);
intent.putExtra("page", 0); // intent.putExtra("FILEPATH", ABVEnvironment.getInstance().getContentCacheDirectoryPath(0L));
intent.setClass(getActivity(), GuideViewActivity.class); // intent.putExtra("page", 0);
startActivity(intent); // intent.setClass(getActivity(), GuideViewActivity.class);
} catch (Exception e) { // startActivity(intent);
Logger.e(TAG, e); // } catch (Exception e) {
} // Logger.e(TAG, e);
return true; // }
} // return true;
}); // }
// });
} }
private void showLicenseDialog() { private void showLicenseDialog() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment