mirror of
https://github.com/beemdevelopment/Aegis.git
synced 2025-05-14 14:02:49 +00:00
Improve preference organization and add summaries to the sections
This commit is contained in:
parent
eae31ef94b
commit
d9d6733878
34 changed files with 259 additions and 220 deletions
|
@ -51,7 +51,7 @@ import java.util.List;
|
|||
|
||||
import javax.crypto.Cipher;
|
||||
|
||||
public class ToolsPreferencesFragment extends PreferencesFragment {
|
||||
public class ImportExportPreferencesFragment extends PreferencesFragment {
|
||||
// keep a reference to the type of database converter the user selected
|
||||
private Class<? extends DatabaseImporter> _importerType;
|
||||
private AegisImporter.State _importerState;
|
||||
|
@ -60,7 +60,7 @@ public class ToolsPreferencesFragment extends PreferencesFragment {
|
|||
@Override
|
||||
public void onCreatePreferences(Bundle savedInstanceState, String rootKey) {
|
||||
super.onCreatePreferences(savedInstanceState, rootKey);
|
||||
addPreferencesFromResource(R.xml.preferences_tools);
|
||||
addPreferencesFromResource(R.xml.preferences_import_export);
|
||||
|
||||
Preference importPreference = findPreference("pref_import");
|
||||
importPreference.setOnPreferenceClickListener(preference -> {
|
Loading…
Add table
Add a link
Reference in a new issue