官术网_书友最值得收藏!

Examples on the market

We all probably use great apps that are built only using the standard Android UI widgets and layouts, but there are many others that have some custom views that we don't know or we haven't really noticed. The custom views or layouts can sometimes be very subtle and hard to spot.

We'd not be the first ones to have a custom view or layout in our application. In fact, many popular apps have some custom elements in them. Let's show some examples:

The first example will be the Etsy application. The Etsy application had a custom layout called StaggeredGridView. It was even published as open source in GitHub. It has been deprecated since 2015 in favor of Google's own StaggeredGridLayoutManager used together with RecyclerView.

You can check it yourself by downloading the Etsy application from Google Play, but just to have a quick preview, the following screenshot is actually from the Etsy application showing the StaggeredGrid layout:

There are many other potential examples, but a second good example might be the electronic programming guide of Ziggo, one of the largest cable operators in the Netherlands. The electronic programming guide is a custom view rendering different boxes for the TV shows and changing color for what's ahead and behind current time.

It can be downloaded from the Dutch Google Play only, but anyway, the following screenshot shows how the application is rendering the electronic programming guide:

Finally, a third example and a more recently published application is Lottie from Airbnb. Lottie is a sample application that renders Adobe After Effects animations in real time.

Lottie can be downloaded directly from Google Play, but the following screenshot shows a quick preview of the application:

The rendering view and the custom font are examples of custom rendering. For more information about Lottie refer to:
http://airbnb.design/introducing-lottie/.

We've just seen some examples, but there are many more available. A good site to discover them or to see what is available is Android Arsenal:
https://android-arsenal.com/.

主站蜘蛛池模板: 敖汉旗| 西平县| 巴东县| 莆田市| 潜山县| 东兰县| 溧阳市| 兰坪| 从化市| 报价| 清丰县| 苗栗县| 临海市| 宽城| 长沙市| 正定县| 灵宝市| 汉中市| 顺义区| 克东县| 慈利县| 江陵县| 丁青县| 鹤岗市| 金山区| 曲沃县| 富裕县| 石林| 吉隆县| 屏边| 马关县| 广安市| 新源县| 西峡县| 连州市| 博白县| 长兴县| 呼伦贝尔市| 肇源县| 徐水县| 焉耆|