Android: How to adjust Margin/Padding in Preference?

前端 未结 5 1542
长情又很酷
长情又很酷 2020-12-08 22:26

Before I asked to remove the padding of the PreferenceActivity/PreferenceFragment:

Android: How to maximize PreferenceFragment width (or get rid of margin)?

5条回答
  •  被撕碎了的回忆
    2020-12-08 23:18

    The custom_checkbox_preference_layout.xml described by user1482130 work also without modifications for other types of preferences such as listpreferences ! Very usefull

    android:layout="@layout/custom_checkbox_preference_layout">
    

提交回复
热议问题