title: Android change PreferenceActivity layout float
body: <p>by default android <code>PreferenceActivity</code> layouts are left to right and i can not change <code>PreferenceActivity</code> widgets to right from left. for example see this screen shot please:</p>
  
  <p><img src="https://i.stack.imgur.com/VsySt.png" alt="enter image description here"></p>
  
  <p>i want to change this layout like with below screen shot</p>
  
  <p><img src="https://i.stack.imgur.com/cYi29.png" alt="enter image description here"></p>
  
  <p><code>PreferenceActivity</code> Activity:</p>
  
  <pre><code>public class ActivitySettings extends PreferenceActivity {
  
      @Override
      public void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
          addPreferencesFromResource(R.xml.app_settings);
  
      }
  }
  </code></pre>
  
  <p><code>PreferenceActivity</code> layout:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
      android:icon="@drawable/img_app_setting" &gt;
  
      &lt;PreferenceCategory android:title="@string/settings_alarm_title" &gt;
          &lt;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" /&gt;
          &lt;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" /&gt;
      &lt;/PreferenceCategory&gt;
  &lt;/PreferenceScreen&gt;
  </code></pre>