Skip to content Skip to sidebar Skip to footer

How To Set Preferencescreen Into Other Layout In Android

I want use PreferenceScreen in my application, and create XML layout for this activity in res/xml/setting_preference.xml. but this XML layout is very simple, i want use this layout

Solution 1:

Add a frameLayout where you want to load your xml preference file in the layout xml file and implement PreferenceFragment in that activity.


Post a Comment for "How To Set Preferencescreen Into Other Layout In Android"