CMPartsPreference: Update PreferenceScreen theme

Use the same base theme used for Settings so that our preference
tiles look like the default ones (e.g. add ripple effect).

Change-Id: I27a5569535d8d614a0c0d26dd5b9fcd12f2af1e4
This commit is contained in:
Gabriele M
2017-03-01 12:32:25 +01:00
parent d9c544a2b0
commit 3e2e540498

View File

@@ -51,7 +51,7 @@ public class CMPartsPreference extends RemotePreference {
}
public CMPartsPreference(Context context, AttributeSet attrs) {
this(context, attrs, com.android.internal.R.attr.preferenceScreenStyle);
this(context, attrs, android.support.v7.preference.R.attr.preferenceScreenStyle);
}
@Override