Re:Twitter: It's time to open source your Android app
by nutjob123 on Thursday December 15, 2011 @10:36AM
(#3356524)
Yeah i can think of a number of ways to do this with padding or layout margins and then setting a shape drawable or 9 patch for as the backround of the list or its container. In fact i just checked and i have done this for a couple published apps. The pull to refresh feature is interesting. I would be tempted to mess with the sliding door class for a solution.
Re:Twitter: It's time to open source your Android app
by RobAtticus on Thursday December 15, 2011 @11:28AM
(#3356752)
I don't see it either. There is nothing in that layout that I don't know how to implement, so unless I'm missing something more subtle, I don't think it's anything new.
Re:Twitter: It's time to open source your Android app
by chuinard on Thursday December 15, 2011 @09:51AM
(#3356326)
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.
Re:Twitter: It's time to open source your Android app
by nekgrim on Thursday December 15, 2011 @09:58AM
(#3356352)
I've made this app : https://market.android.com/details?id=com.cardiweb.carrefour...
See the third screenshot : 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...
Re:Twitter: It's time to open source your Android app
by estel on Thursday December 15, 2011 @10:36AM
(#3356523)
I'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.
Re:Twitter: It's time to open source your Android app
by Pewpewarrows on Thursday December 15, 2011 @11:34AM
(#3356790)
I'm sure that's how you'd go about doing it using ListView. But isn't the new Twitter app just a wrapper around their mobile browser UI?
A ListView with some layout_margin ? Am I missing something special ?