How do you set height of any component in building extension?

Go to top of the docs and see whether it is for View or ListView ...

1 Like

See my code

In view I set listview to get view

1 Like

still v is View ...
You'venot set v as listView anywhere

That's why i am saying

1 Like

ListView v = (ListView) listView;

3 Likes

When I set public ListView listView;
and listView.setDivider(new ColorDrawable(Color.parseColor(color)));
It works thank you all of you

3 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.