Search in sources :

Example 1 with LayoutPreference

use of org.cyanogenmod.cmparts.widget.LayoutPreference in project android_packages_apps_CMParts by LineageOS.

the class SettingsPreferenceFragment method setHeaderView.

protected void setHeaderView(View view) {
    mHeader = new LayoutPreference(getPrefContext(), view);
    addPreferenceToTop(mHeader);
}
Also used : LayoutPreference(org.cyanogenmod.cmparts.widget.LayoutPreference)

Example 2 with LayoutPreference

use of org.cyanogenmod.cmparts.widget.LayoutPreference in project android_packages_apps_CMParts by LineageOS.

the class SettingsPreferenceFragment method setHeaderView.

protected void setHeaderView(int resource) {
    mHeader = new LayoutPreference(getPrefContext(), resource);
    addPreferenceToTop(mHeader);
}
Also used : LayoutPreference(org.cyanogenmod.cmparts.widget.LayoutPreference)

Aggregations

LayoutPreference (org.cyanogenmod.cmparts.widget.LayoutPreference)2