Making A View's Width Based On Screen Width
I am trying to let a View's width be based on the width of the screen. Depending on a value from 0 to 100, the width will be that percentage of the screen width. Here is how I am g
Solution 1:
The layout params will be set in pixels if set programmatically. You will have to convert the dp to pixels again and set the width
Post a Comment for "Making A View's Width Based On Screen Width"