开发者

Android - How would it be possible to make a ListView to mimic the android notifications ListView programmatically?

I am looking to build a ListView开发者_Go百科 that looks identical to Android notifications, programmatically. I am not sure how to customize every row of the list. Should it be a list of WebViews?

ArrayAdapter<String> modeAdapter = new ArrayAdapter<String>(this, android.R.layout.simple_list_item_1, android.R.id.text1, stringArray);
    modeList.setAdapter(modeAdapter);

In the above code, what do I need to replace the stringArray with?


you can see the examples for listveiw

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜