Skip to content

Latest commit

 

History

History
15 lines (9 loc) · 427 Bytes

create-custom-views.md

File metadata and controls

15 lines (9 loc) · 427 Bytes

How to create a custom View

Here are the steps :

  1. create the custom view xml.
  2. Now add the <declare-styleable... tags just like in the photo
  3. Create a class and extend from Linear Layout , Relative Layout
  4. Use the custom view in your xml layout.

More details inside the article.

Credits

Original article here .