Tuesday, April 7, 2015

Android: PreferenceActivity: dual pane

I have a tablet which has usable width of ~700 pixels, I want PreferenceActivity to show as dual pane which shows only for sw720dp, to do so I override following method:

@Overridepublic boolean onIsMultiPane() {
return true;
}