StepViewAndroid
StepViewAndroid copied to clipboard
Can't set an ID in XML
Hi, I noticed that if I use the StatusView like this (without the Scroller, basically):
<params.com.statusView.StatusViewScroller
android:id="@+id/myid"
android:layout_width="wrap_content"
android:layout_height="wrap_content"/>
At runtime that ID doesn't exist because the following line:
https://github.com/params-ing/StepViewAndroid/blob/722ccb391100881ea32e695edc33aa3025176a5e/stepview/src/main/java/params/com/stepview/StatusView.kt#L420
Overwrites it.
I think that line could simply be removed but probably you know best. If you don't have time to fix it, please let me know how you would like it to be fixed and I'll open a PR for you.
Thanks a lot.