hide dividers and improve category layout in preferences
This commit is contained in:
parent
2c5c229ee7
commit
f80a8e48b5
2 changed files with 2 additions and 3 deletions
|
|
@ -94,6 +94,7 @@ public class SettingsActivity extends AbsBaseActivity implements ColorChooserDia
|
|||
public void onViewCreated(@NonNull View view, Bundle savedInstanceState) {
|
||||
super.onViewCreated(view, savedInstanceState);
|
||||
getListView().setPadding(0, 0, 0, 0);
|
||||
setDivider(null);
|
||||
invalidateSettings();
|
||||
PreferenceUtil.getInstance(getActivity()).registerOnSharedPreferenceChangedListener(this);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -4,8 +4,6 @@
|
|||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingStart="16dp"
|
||||
android:paddingTop="16dp"
|
||||
android:paddingEnd="16dp"
|
||||
android:padding="16dp"
|
||||
android:textAppearance="@style/TextAppearance.AppCompat.Body1"
|
||||
android:textColor="?android:textColorSecondary" />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue