我想做点什么
<TextViewPlus android:id="@+id/settings_title_text" android:layout_width="wrap_content" android:layout_height="match_parent" android:text="@string/settings />
代替
<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 />
我想我可以把自定义视图放在(默认)包中,但这似乎是一个坏主意. (编辑:经过测试,它无论如何都不起作用)是否有“好”的方法来做到这一点?
解决方法
不,AFAIK你必须使用全名.