Esempio n. 1
0
 @Override
 public List<CssMetaData<? extends Styleable, ?>> getCssMetaData() {
   if (STYLEABLES == null) {
     final List<CssMetaData<? extends Styleable, ?>> styleables =
         new ArrayList<CssMetaData<? extends Styleable, ?>>(Parent.getClassCssMetaData());
     styleables.addAll(getClassCssMetaData());
     styleables.addAll(super.getClassCssMetaData());
     STYLEABLES = Collections.unmodifiableList(styleables);
   }
   return STYLEABLES;
 }
Esempio n. 2
0
 static {
   final List<CssMetaData<? extends Styleable, ?>> styleables =
       new ArrayList<CssMetaData<? extends Styleable, ?>>(Parent.getClassCssMetaData());
   Collections.addAll(styleables, DIALOG_TRANSITION);
   CHILD_STYLEABLES = Collections.unmodifiableList(styleables);
 }