开发者

Android ListActivity: Title and SubTitle row

开发者 https://www.devze.com 2023-03-29 17:16 出处:网络
Is there a SDK provided UI element to display a Title and Subtitle in a List\'s row? I can do it manually 开发者_JS百科by creating a row XML, but want to do it so often in so may apps that wondered if

Is there a SDK provided UI element to display a Title and Subtitle in a List's row? I can do it manually 开发者_JS百科by creating a row XML, but want to do it so often in so may apps that wondered if there is a built-in way.


The android.R.layout.simple_list_item_2 layout, which shows the first item in large text and the second item in smaller text, is probably what you need.

0

精彩评论

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