예제 #1
0
  public void __constructor__(Context context, AttributeSet attributeSet, int defStyle) {
    this.context = context;
    this.attributeSet = attributeSet;

    if (attributeSet != null) {
      applyAttributes();
    }
  }
예제 #2
0
 @Override
 public void applyAttributes() {
   super.applyAttributes();
   applyTextAttribute();
   applyTextColorAttribute();
   applyHintAttribute();
   applyHintColorAttribute();
   applyCompoundDrawablesWithIntrinsicBoundsAttributes();
 }