|
[p style="text-align: center;"][span style="font-weight: bold;"][br][/span][p style="text-align: center;"]
[span style="font-weight: bold;"][br][/span][p style="text-align: center;"][span style="font-weight: bold;"] Hey Xclubers, [/span][p style="text-align: center;"] Widgets are an essential aspect of home screen customization. You can imagine them as "at-a-glance" views of an app's most important data and functionality that is accessible right from the user's home screen. Users can move widgets across their home screen panels, and, if supported, resize them to tailor the amount of information within a widget to their preference. [p style="text-align: center;"][br][p style="text-align: center;"] This page provides an introduction to the different types of widgets you might want to create and some design principles to follow. To start building an app widget, read Build an App Widget.[p style="text-align: center;"][br][p style="text-align: center;"][span style="font-weight: bold;"]Widget types[/span][p style="text-align: center;"] As you begin planning your widget, think about what kind of widget you're trying to build. Widgets typically fall into one of the following categories:[br][p style="text-align: center;"][br][h3 id="info-widgets" is-upgraded="" style="text-align: center;"]Information widgets[/h3][p style="text-align: center;"]
[br][p style="text-align: center;"]Information widgets typically display a few crucial information elements that are important to a user and track how that information changes over time. Good examples for information widgets are weather widgets, clock widgets or sports score trackers. Touching information widgets typically launches the associated app and opens a detail view of the widget information.[p style="text-align: center;"][br][p style="text-align: center;"][span style="font-weight: bold;"]Collection widgets[/span][p style="text-align: center;"] As the name implies, collection widgets specialize in displaying multitude elements of the same type, such as a collection of pictures from a gallery app, a collection of articles from a news app or a collection of emails/messages from a communication app. Collection widgets typically focus on two use cases: browsing the collection, and opening an element of the collection to its detail view for consumption. Collection widgets can scroll vertically.[p style="text-align: center;"]ListView widget[p style="text-align: center;"]
[br][p style="text-align: center;"][span style="font-weight: bold;"]GridView widget [/span][br][p style="text-align: center;"]
[br][p style="text-align: center;"][br][p style="text-align: center;"][span style="font-weight: bold;"]Control widgets [/span][p][div style="text-align: center;"]The main purpose of a control widget is to display often used functions that the user can trigger right from the home screen without having to open the app first. Think of them as remote controls for an app. A typical example of control widgets are music app widgets that allow the user to play, pause or skip music tracks from outside the actual music app.[/div][div style="text-align: center;"][br][/div][p style="text-align: center;"]
[br][p style="text-align: center;"] Interacting with control widgets may or may not progress to an associated detail view depending on if the control widget's function generated a data set, such as in the case of a search widget.[p style="text-align: center;"]
[br][p style="text-align: center;"][span style="font-weight: bold;"]Hybrid widgets[/span][p style="text-align: center;"]While all widgets tend to gravitate towards one of the three types described above, many widgets in reality are hybrids that combine elements of different types[p style="text-align: center;"]For the purpose of your widget planning, center your widget around one of the base types and add elements of other types if needed.[br][p style="text-align: center;"]A music player widget is primarily a control widget, but also keeps the user informed about what track is currently playing. It essentially combines a control widget with elements of an information widget type.[p style="text-align: center;"][br][p style="text-align: center;"][span style="font-weight: bold;"]Adding a widget[/span][p style="text-align: center;"]1. On the home screen, tap and hold on an available space.[p style="text-align: center;"][br][p style="text-align: center;"]
[br][p style="text-align: center;"][br][p style="text-align: center;"]2[span style="font-weight: 700;"]. Tap Widgets [/span][p style="text-align: center;"]
[p style="text-align: center;"][br][p style="text-align: center;"][span style="font-weight: bold;"]Thanks[/span][p style="text-align: center;"][span style="font-weight: bold;"]Infinix Official Team [/span][p style="text-align: center;"][br] |
|