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.
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>