Пример #1
0
 public YearPickerView(Context context, AttributeSet attrs, int defStyleAttr) {
   super(
       SUtils.createThemeWrapper(
           context,
           R.attr.sublimePickerStyle,
           R.style.SublimePickerStyleLight,
           R.attr.spYearPickerStyle,
           R.style.YearPickerViewStyle),
       attrs,
       defStyleAttr);
   initialize();
 }
Пример #2
0
 @TargetApi(Build.VERSION_CODES.LOLLIPOP)
 public YearPickerView(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) {
   super(
       SUtils.createThemeWrapper(
           context,
           R.attr.sublimePickerStyle,
           R.style.SublimePickerStyleLight,
           R.attr.spYearPickerStyle,
           defStyleRes),
       attrs,
       defStyleAttr,
       defStyleRes);
   initialize();
 }