mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2024-11-26 17:53:14 +00:00
Stringリソースからタイトルを取得するように
This commit is contained in:
parent
4d5d02c794
commit
457e58264b
|
@ -48,8 +48,8 @@ public class SettingTopFragment extends Fragment {
|
||||||
ArrayList<SettingListItem> settingListItems = new ArrayList<>();
|
ArrayList<SettingListItem> settingListItems = new ArrayList<>();
|
||||||
settingListItems.add(
|
settingListItems.add(
|
||||||
new SettingListItem(
|
new SettingListItem(
|
||||||
"Display",
|
getResources().getString(one.nem.lacerta.shared.ui.R.string.setting_top_display_title),
|
||||||
"Display settings",
|
getResources().getString(one.nem.lacerta.shared.ui.R.string.setting_top_display_description),
|
||||||
ContextCompat.getDrawable(getContext(), one.nem.lacerta.shared.ui.R.drawable.palette_24px),
|
ContextCompat.getDrawable(getContext(), one.nem.lacerta.shared.ui.R.drawable.palette_24px),
|
||||||
R.id.action_settingTopFragment_to_settingDisplayPageFragment
|
R.id.action_settingTopFragment_to_settingDisplayPageFragment
|
||||||
)
|
)
|
||||||
|
@ -57,8 +57,8 @@ public class SettingTopFragment extends Fragment {
|
||||||
|
|
||||||
settingListItems.add(
|
settingListItems.add(
|
||||||
new SettingListItem(
|
new SettingListItem(
|
||||||
"Data",
|
getResources().getString(one.nem.lacerta.shared.ui.R.string.setting_top_data_title),
|
||||||
"Data settings",
|
getResources().getString(one.nem.lacerta.shared.ui.R.string.setting_top_data_description),
|
||||||
ContextCompat.getDrawable(getContext(), one.nem.lacerta.shared.ui.R.drawable.settings_backup_restore_24px),
|
ContextCompat.getDrawable(getContext(), one.nem.lacerta.shared.ui.R.drawable.settings_backup_restore_24px),
|
||||||
R.id.action_settingTopFragment_to_settingDataPageFragment
|
R.id.action_settingTopFragment_to_settingDataPageFragment
|
||||||
)
|
)
|
||||||
|
@ -66,8 +66,8 @@ public class SettingTopFragment extends Fragment {
|
||||||
|
|
||||||
settingListItems.add(
|
settingListItems.add(
|
||||||
new SettingListItem(
|
new SettingListItem(
|
||||||
"Scan",
|
getResources().getString(one.nem.lacerta.shared.ui.R.string.setting_top_scan_title),
|
||||||
"Scan settings",
|
getResources().getString(one.nem.lacerta.shared.ui.R.string.setting_top_scan_description),
|
||||||
ContextCompat.getDrawable(getContext(), one.nem.lacerta.shared.ui.R.drawable.document_scanner_24px),
|
ContextCompat.getDrawable(getContext(), one.nem.lacerta.shared.ui.R.drawable.document_scanner_24px),
|
||||||
R.id.action_settingTopFragment_to_settingScanPageFragment
|
R.id.action_settingTopFragment_to_settingScanPageFragment
|
||||||
)
|
)
|
||||||
|
@ -75,8 +75,8 @@ public class SettingTopFragment extends Fragment {
|
||||||
|
|
||||||
settingListItems.add(
|
settingListItems.add(
|
||||||
new SettingListItem(
|
new SettingListItem(
|
||||||
"About",
|
getResources().getString(one.nem.lacerta.shared.ui.R.string.setting_top_about_title),
|
||||||
"About this app",
|
getResources().getString(one.nem.lacerta.shared.ui.R.string.setting_top_about_description),
|
||||||
ContextCompat.getDrawable(getContext(), one.nem.lacerta.shared.ui.R.drawable.info_24px),
|
ContextCompat.getDrawable(getContext(), one.nem.lacerta.shared.ui.R.drawable.info_24px),
|
||||||
R.id.action_settingTopFragment_to_settingAboutPageFragment
|
R.id.action_settingTopFragment_to_settingAboutPageFragment
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user