4 ms·
I always felt the ListView needed to expand the screen. I could be wrong though, this might just be a layout_marginLeft or layout_paddingLeft attribute. Eithe
by chuinard 15y ago
I always felt the ListView needed to expand the screen. I could be wrong though, this might just be a layout_marginLeft or layout_paddingLeft attribute. Either way, it is a very new pattern for Android apps. You'll also notice the rounded corners, which I don't think come naturally with a ListView margin.
- nt_mark 15y agohttp://stackoverflow.com/questions/1683185/android-listview-with-rounded-corners http://stackoverflow.com/questions/1683185/android-listview-...
- nekgrim 15y agoI've made this app : https://market.android.com/details?id=com.cardiweb.carrefour.spectacles https://market.android.com/details?id=com.cardiweb.carrefour... See the third screenshot : https://lh6.ggpht.com/FOyDJtPGapRpBk0zSpFcXVUu45zHEY5OTaHftoTphUYl0IT0GziQ6avugg4dRzApPQ https://lh6.ggpht.com/FOyDJtPGapRpBk0zSpFcXVUu45zHEY5OTaHfto... The list at the bottom is just a RelativeLayout, with some rounded corners. Wrap this in a ScrollView, and voila. See http://developer.android.com/guide/topics/resources/drawable-resource.html#Shape http://developer.android.com/guide/topics/resources/drawable...
- estel 15y agoI've seen it a few times (though I can't recall any examples immediately) in the market, and implemented it once or twice. Usually it's in apps that are ported from iOS with minimal consideration for Android user interface expectations, because it's a much more standard design pattern there.