Creating custom widgets in android studio?

Android Studio allows you to create a GUI with widgets like Radiobutton, small button, checkbox, etc. that have their own properties.

I am very new to Android and I want to add new widgets to android studio by extending the current widgets / views (for example adding new settings for the Seekbar) (if possible). Any idea how I can implement it?

I know that I can create custom xml views for the application. But I want to add this to android studio.

+3


source to share


1 answer


On the View Editor screen, on the Palette tab, go to the Custom section and select CustomView. Then select your custom view and drag it to your UI.



+1


source







All Articles