I would like to do something like
<TextViewPlus
android:id="@+id/settings_title_text"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:text="@string/settings />
instead of
<com.my.really.super.long.package.name.that.wont.autocomplete.TextViewPlus
android:id="@+id/settings_title_text"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:text="@string/settings />
I figure I could just put custom Views in the (default) package, but that seems like a bad idea. (EDIT: And upon testing this, it doesn't work anyway) Is there a "good" way to do this?
No, AFAIK you will have to go with the full name.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With