I want to make this simple horizontal line view within Java using the API. How would I do that?
I have this:
..but I'm not sure how to set layout_width to fill_parent and layout_height to 1dp.
Which layout r u using?
To set layout params use "LayoutParams" class,
Each layout having corresponding LayoutParams class,
e.g. LinearLayout.LayoutParams: http://developer.android.com/reference/ ... arams.html
Users browsing this forum: No registered users and 8 guests