简体   繁体   中英

Android ListActivity: Title and SubTitle row

Is there a SDK provided UI element to display a Title and Subtitle in a List's row? I can do it manually 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.

您可能需要android.R.layout.simple_list_item_2布局,该布局以大文本显示第一项,以小文本显示第二项。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM