sumsang phone custom setting style
<p>i have a  custom setting style ,the style is run well in the htc iphone but in the sumsang phone run mistake like:ERROR/AndroidRuntime(726): java.lang.RuntimeException: Binary XML file line #18: You must supply a layout_width attribute.  </p>

<p>my xml:</p>

<pre><code>&lt;style name="PreferencesTheme" parent="@android:style/Theme.Light"&gt;
    &lt;item name="android:windowBackground"&gt;@drawable/screen_background_light&lt;/item&gt;
  &lt;item name="android:listSeparatorTextViewStyle"&gt;@style/ListSeparator&lt;/item&gt;
   &lt;item name="android:windowContentOverlay"&gt;@null&lt;/item&gt;
  &lt;item name="android:windowFullscreen"&gt;true&lt;/item&gt;
   &lt;item name="android:windowNoTitle"&gt;true&lt;/item&gt;
&lt;/style&gt;
</code></pre>

<p>my style is used at :</p>

<pre><code>    &lt;activity android:name=".Setting.MainSettingActivity"   
              android:theme="@style/PreferencesTheme"    
               android:screenOrientation="portrait" &gt;&lt;/activity&gt;  
</code></pre>

<p>it run mistake.so i modify my code ,i add style use code :</p>

<pre><code>   protected void onCreate(Bundle savedInstanceState) {
    setTheme(R.style.PreferencesTheme);
    super.onCreate(savedInstanceState);

    addPreferencesFromResource(R.xml.preferences);......
</code></pre>

<p>but also have same mistake. the activity is a SettingActivity,but in htc iphone is very well.</p>
