chari sharma
chari sharma

Reputation: 482

How to draw custom lines on view

somebody help me guys,
I made this design using relative and linear layout and after i need this custom lines to indicate total members so please give me any resources to complete this task.

zoom and see this grey lines on image

Upvotes: 0

Views: 73

Answers (2)

chari sharma
chari sharma

Reputation: 482

I tried by many resources, after i completed this issues using constraint layout , i think this is new concept which i handled very well and i would like to advise to go on that because their are many features for modification of UI.

enter image description here

Upvotes: 0

global_warming
global_warming

Reputation: 843

 <View
    android:layout_width="match_parent"
    android:layout_height="2dp"
    android:layout_marginTop="20dp"
    android:background="#00000f"
    android:rotation="109"
    />

You can use View to draw lines, to rotate it use, rotation: rotation of the view, in degrees.

Upvotes: 1

Related Questions