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

Designing Form Screens

Form screens are an essential part of user interface design in many ways because their history is a lesson in how not to do things. Most applications need to capture input from their users at some point, and you need input widgets for that, but you should always consider the minimum amount of information you need to ask the user for, rather than try to get all the information you may need in the future. This approach will keep the user focused on the task they are trying to carry out. Presenting them with a wall of input fields is overwhelming to most users and breaks their focus, which in turn can lead to them abandoning what they were trying to do with your application.

This chapter is focused on form screens, and will walk you through a bit of their history before ping into a method for actually designing form screens. This approach can and should be reused whenever you need to design a screen for an app. It's always important to take a step back from your code work and consider how things will look and fit together for the user; it's often the difference between a successful app and failure.

In this chapter, we'll develop a practical form screen using Android Studio and the layout editor. Starting from an empty template in a new project, you'll learn the following:

  • How to break up and then arrange a form layout to be most effective for your users
  • How to use resources to keep your user interface consistent
  • How to style widgets to help the user understand what the widget should be used for
  • How to build drawable resources that respond to state changes
主站蜘蛛池模板: 象州县| 盐城市| 陈巴尔虎旗| 崇文区| 共和县| 定边县| 太白县| 石棉县| 阳新县| 普陀区| 特克斯县| 双流县| 沙河市| 加查县| 五原县| 库尔勒市| 西平县| 长丰县| 韩城市| 南安市| 黑水县| 洪洞县| 雅江县| 治多县| 北京市| 清徐县| 茶陵县| 河东区| 婺源县| 兴隆县| 咸宁市| 武鸣县| 华亭县| 广灵县| 津南区| 久治县| 噶尔县| 大姚县| 镇雄县| 澄城县| 尖扎县|