3

Android Studio allows to design the GUI with widgets like Radiobutton, small button, checkbox etc, which has its own properties.

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

I know that I can create custom views by xml for the app. But I want to add that in android studio.

5
  • Check this link to know about creating widgets...developer.android.com/guide/topics/appwidgets/index.html Commented May 6, 2015 at 15:42
  • I want to add widget in android studio, its different than the android app widget. Commented May 6, 2015 at 15:43
  • RadioButton is not a Widget, it is a View (even if it is in the widget package). You want to know how to devlop a custom View, or you want to know how to add the drag and drop button to add your custom View in Android Studio GUI ? Commented May 6, 2015 at 15:47
  • 1
    I have made a custom view here. It might give you an basic idea on how to make a custom view and how to add it to your xml stackoverflow.com/questions/29929075/… Commented May 6, 2015 at 15:50
  • @Blusky You got it exactly. I want to know, how to add the drag and drop button to my custom View in Android Studio GUI. Commented May 6, 2015 at 15:52

1 Answer 1

1

On the "View Editor" screen, on the "Palette" tab, go to "Custom" section and select "CustomView". Then, select your Custom View, and drag and drop it to your user interface.

Sign up to request clarification or add additional context in comments.

1 Comment

Thanks, I am checking it now.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.