Creating a Custom View in Android Step 1: Decide what to extend. ... Step 2: Create layout file. ... Step 3: Create a child class extending some view. ... Step 4a: Create Custom attributes. ... Step 4b: Create variables to dynamically update view in code. ... Step 5: Add custom view to our project. Nov 4, 2021