I've defined a class MarkerView which extends ImageView and to use this View, I have to reference it like this:
<PACKAGE_NAME.MarkerView android:id="@+id/startmarker" android:contentDescription="@string/start_marker" />
I'd like to define my XML files without the need of the PACKAGE_NAME. Is this possible? I've tried
<.MarkerView android:id="@+id/startmarker" android:contentDescription="@string/start_marker" />
but this didn't work.
Thanks!
No i dont think its possible in xml file. if it was class files we can have import option but in xml we dont have any such option.