Skip to content Skip to sidebar Skip to footer

How To Use A Custom Textview In Axml?

I created a custom text view, but I couldn't find a way to use it I only found examples for java. But com.yournamespace.RotatedTextView, com.yournamespace.RotatedTextView and Rotat

Solution 1:

You should use something like the following code in the .axml file:

<First_android.RotatedTextView
    android:layout_height="wrap_content"
    android:layout_width="match_parent"
    android:text="Test"  />

Post a Comment for "How To Use A Custom Textview In Axml?"