E
E
Egor Kazantsev2015-03-02 09:56:11
Java
Egor Kazantsev, 2015-03-02 09:56:11

How to create xml PreferenceFragment visually?

public static class PrefsFragment extends PreferenceFragment {
 
                        @Override
                        public void onCreate(Bundle savedInstanceState) {
                                    super.onCreate(savedInstanceState);
                                    addPreferencesFromResource(R.xml.preferences);
                        }
            }

I would like to be lazy with R.xml.preferences =) and get it based on the analysis of existing code and visually. Who will tell you what?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question