Android design-style (1)

Source: Internet
Author: User
Document directory
  • Flexibility
  • Optimize Layout
  • Global benefits
  • Statement
  • Communication
  • Boundary

This section describes how to build an application that runs on any device.

Device and display

Now there are more than one million Android devices, including mobile phones, tablets, and other devices. They come from different manufacturers and have different screen resolutions. You can create an application that is compatible and runs on it.

Flexibility

Stretch or compress your layout to adapt to different heights and widths.

Optimize Layout

To avoid wasting extra space on large screen devices, use the navigation bar and view combination to achieve different effects.

Global benefits

Use different resource files for different devices for better display.

Policy

Have you figured out how to design an application that supports multiple screen resolutions? One is to design only the mdpi resolution so that it can automatically zoom in or out to adapt to the screen. The other is to design only the highest resolution, and then scale it on a low-resolution device.

Topic

Holo light)

Setting dark theme (holo dark)

Use a light-colored theme and a dark titlebar for talk.

A topic is a mechanism that allows Android apps or activities to maintain a consistent style. You can specify the following styles: color, height, fill, and font size. The theme style can make your applications look more harmonious. From android4.0, the system provides three theme sets for you:

  • Holo light
  • Holo dark
  • Holo light with dark action bars

We recommend that you use the theme provided by the system. If you need a custom theme, make custom modifications based on the existing theme of the system.

Touch feedback

Use color and light to respond to touch, enhance the effect of the action, and tell the user which controls can be used. When you touch an area in your application, provide a clear response to let the user know that the object has been clicked and that your application is listening.

Statement

Communication

Your response results make it easier for users to understand the operation intent. For example, moving the thumbnail left or right in a recent application makes it transparent, this helps users understand that they are about to remove the task.

Boundary

When the user slides to the end of the control, a boundary display is required to show that the user has reached the boundary.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.