Khiem-Kim Ho Xuan
Khiem-Kim Ho Xuan

Reputation: 1371

PreferenceFragmentCompat issues

There seems to be alot of issues using PreferenceFragmentCompat. I have set the PreferenceThemeOverlay. But however, it seems that the Titles are too big. The EditTextPreference tag can't understand inputType.

In general. It doesn't seem to have been solved with Android support version 23.1.

Maybe someone has a way to solve this problem? Thanks

Upvotes: 0

Views: 583

Answers (1)

cwiesner
cwiesner

Reputation: 952

experienced unexpected paddings in PreferenceFragmentCompat.

had to clear the paddings on the recyclerview:

@Override
public void onViewCreated(View view, Bundle savedInstanceState) {
    super.onViewCreated(view, savedInstanceState);
    // FIX padding
    if (getListView() != null) {
        getListView().setPadding(0, 0, 0, 0);
    }
}

Upvotes: 1

Related Questions