by default android PreferenceActivity
layouts are left to right and i can not change PreferenceActivity
widgets to right from left. for example see this screen shot please:
i want to change this layout like with below screen shot
PreferenceActivity
Activity:
public class ActivitySettings extends PreferenceActivity {
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
addPreferencesFromResource(R.xml.app_settings);
}
}
PreferenceActivity
layout:
<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
android:icon="@drawable/img_app_setting" >
<PreferenceCategory android:title="@string/settings_alarm_title" >
<CheckBoxPreference
android:key="PLAY_SOUND"
android:summaryOff="@string/settings_summary_off_play_sound"
android:summaryOn="@string/settings_summary_on_play_sound"
android:title="@string/settings_play_sound" />
<CheckBoxPreference
android:key="SHOW_NOTIFICATION"
android:summaryOff="@string/settings_summary_off_show_notification"
android:summaryOn="@string/settings_summary_on_show_notification"
android:title="@string/settings_show_notification" />
</PreferenceCategory>
</PreferenceScreen>