Android, custom component design -
in application need have image below. have experience of creating custom components , know how it. however, have no idea how create kind of component. need when designing custom rating bar?
anyway, many way can achieve this.
one way seeing using radio group , radio button, vertical lines , text view can achieve this. put inside layout of choice , inflate layout ever need. after need set radio button radio1.setchecked(true)
.this simple solution may not a optimal one.
alternatively can create custom view extending view class or of subclass, whatever feel suitable work override ondraw method entire thing manually.
Comments
Post a Comment