roundedbitmapdrawable

How to mimic the listView stickey-items like on Lollipop's contacts app?

本秂侑毒 提交于 2019-11-28 07:33:09
Background Google has recently published a new version of Android, which has a contact app that look like this : The problem I need to mimic this kind of list, but I can't find out how to do it well. This consists of 3 main components: the stickey titles, which stay as long as the top contact has the name that starts with this letter. The circular photos or circle+letter (for contacts that don't have photos) the PagerTitleStrip, which has uniform spacing between the items, and tries to show them all on the screen (or allow to scroll if needed). What I've found There are plenty of third party

How to mimic the listView stickey-items like on Lollipop's contacts app?

五迷三道 提交于 2019-11-27 01:56:32
问题 Background Google has recently published a new version of Android, which has a contact app that look like this : The problem I need to mimic this kind of list, but I can't find out how to do it well. This consists of 3 main components: the stickey titles, which stay as long as the top contact has the name that starts with this letter. The circular photos or circle+letter (for contacts that don't have photos) the PagerTitleStrip, which has uniform spacing between the items, and tries to show