After updating Android Studio, PreferenceScreen stopped displaying correctly.
It does not occupy the entire screen anymore, and the elements have a margin on the left.
Incorrect display In the code did not notice anything unusual ..

<?xml version="1.0" encoding="utf-8"?> <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"> <PreferenceCategory android:title="@string/app"> <SwitchPreference android:layout_width="match_parent" android:defaultValue="true" android:key="check_conn" android:title="@string/check_conn" /> ........ </PreferenceCategory> </PreferenceScreen> 
  • if everything is in order on the testing device, then another studio bug, you can write a bug report and wait for it to be fixed - pavlofff

0