Java Code Examples for android.support.v4.content.res.TypedArrayUtils#getAttr()

The following examples show how to use android.support.v4.content.res.TypedArrayUtils#getAttr() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: RadioButtonPreference.java    From android_external_MicroGUiTools with Apache License 2.0 4 votes vote down vote up
@SuppressLint("RestrictedApi")
public RadioButtonPreference(Context context, AttributeSet attrs) {
    this(context, attrs, TypedArrayUtils.getAttr(context, R.attr.checkBoxPreferenceStyle,
            android.R.attr.checkBoxPreferenceStyle));
}
 
Example 2
Source File: ColorPickerPreference.java    From Silence with GNU General Public License v3.0 4 votes vote down vote up
@SuppressLint("RestrictedApi")
public ColorPickerPreference(Context context, AttributeSet attrs) {
  this(context, attrs, TypedArrayUtils.getAttr(context, R.attr.dialogPreferenceStyle,
                                               android.R.attr.dialogPreferenceStyle));
}
 
Example 3
Source File: RingtonePreference.java    From Silence with GNU General Public License v3.0 4 votes vote down vote up
@SuppressLint("RestrictedApi")
public RingtonePreference(Context context, AttributeSet attrs) {
  this(context, attrs, TypedArrayUtils.getAttr(context, R.attr.dialogPreferenceStyle,
                                               android.R.attr.dialogPreferenceStyle));
}