10

i made custom view which extend textView with this constractors :

// Default constructor override
public AutoResizeTextView(Context context) {
    this(context, null);
}

// Default constructor when inflating from XML file
public AutoResizeTextView(Context context, AttributeSet attrs) {
    this(context, attrs, 0);
}

how to i add it to my palette in android studio ?

i saw button that allows to to chose custom view but after i click on it nothing happen :

enter image description here

after i click on the class that i want the window is closed and nothing happen ...

Jesus Dimrix
  • 4,378
  • 4
  • 28
  • 62

1 Answers1

0

I found this official guide to add custom views in the palette.

Muhammad Hannan
  • 2,389
  • 19
  • 28