开发者

Decreasing the size of listitem?

开发者 https://www.devze.com 2023-04-09 01:06 出处:网络
I\'ve listed something in one listview using android.R.layout.simple_list_item_multiple_choice It takes core listview.

I've listed something in one listview using android.R.layout.simple_list_item_multiple_choice It takes core listview.

And, i can't 开发者_Go百科decrease the font size of their items. How can i decrease that? I've search the size element in XML files but, i've not found yet. Anyone know the answer for this? See my result here

Thanks in Advance.


If you are adding the textViews in the listItem, you can control the font Size , with

android:textSize

EDIT

i see you are using a standard list item. then copy the simple_list_item_multiple_choice.xml from android resources to your own custom xml, change the size attribute, and use it in the listAdapter.

you can get the resources from here

0

精彩评论

暂无评论...
验证码 换一张
取 消