Mehvish Ali
Mehvish Ali

Reputation: 752

Adding padding start to a LinearLayout

Is it possible to add paddingStart to a view? right now I know to add padding view.addPadding(left,Top,Right,Bottom);

Upvotes: 2

Views: 683

Answers (1)

Faisal Naseer
Faisal Naseer

Reputation: 4248

You may try

view.setPaddingRelative(start,top,end,bottom);

Upvotes: 1

Related Questions