Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
abook_check
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abook_android
abook_check
Commits
39f2df68
Commit
39f2df68
authored
Sep 04, 2019
by
Lee Jaebin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
設定画面で操作説明書の選択欄を非表示
parent
5ed32776
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
20 deletions
+21
-20
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/home/activity/ABookSettingFragment.java
+21
-20
No files found.
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/home/activity/ABookSettingFragment.java
View file @
39f2df68
...
...
@@ -271,26 +271,27 @@ public class ABookSettingFragment extends PreferenceFragment {
}
Preference
abookCheckManual
=
findPreference
(
ABOOK_CHECK_MANUAL
);
// リソースパターンの適用
abookCheckManual
.
setTitle
(
PatternStringUtil
.
patternToString
(
getActivity
().
getApplicationContext
(),
R
.
string
.
operation_manual
,
getUserPref
(
getActivity
().
getApplicationContext
(),
AppDefType
.
UserPrefKey
.
RESOURCE_PATTERN_TYPE
,
0
)));
abookCheckManual
.
setOnPreferenceClickListener
(
new
Preference
.
OnPreferenceClickListener
()
{
@Override
public
boolean
onPreferenceClick
(
Preference
preference
)
{
try
{
Intent
intent
=
new
Intent
();
intent
.
putExtra
(
ABookKeys
.
CONTENT_ID
,
0L
);
intent
.
putExtra
(
"FILEPATH"
,
ABVEnvironment
.
getInstance
().
getContentCacheDirectoryPath
(
0L
));
intent
.
putExtra
(
"page"
,
0
);
intent
.
setClass
(
getActivity
(),
GuideViewActivity
.
class
);
startActivity
(
intent
);
}
catch
(
Exception
e
)
{
Logger
.
e
(
TAG
,
e
);
}
return
true
;
}
});
appInfo
.
removePreference
(
abookCheckManual
);
// // リソースパターンの適用
// abookCheckManual.setTitle(PatternStringUtil.patternToString(getActivity().getApplicationContext(),
// R.string.operation_manual,
// getUserPref(getActivity().getApplicationContext(), AppDefType.UserPrefKey.RESOURCE_PATTERN_TYPE, 0)));
// abookCheckManual.setOnPreferenceClickListener(new Preference.OnPreferenceClickListener() {
// @Override
// public boolean onPreferenceClick(Preference preference) {
// try {
// Intent intent = new Intent();
// intent.putExtra(ABookKeys.CONTENT_ID, 0L);
// intent.putExtra("FILEPATH", ABVEnvironment.getInstance().getContentCacheDirectoryPath(0L));
// intent.putExtra("page", 0);
// intent.setClass(getActivity(), GuideViewActivity.class);
// startActivity(intent);
// } catch (Exception e) {
// Logger.e(TAG, e);
// }
// return true;
// }
// });
}
private
void
showLicenseDialog
()
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment