[Experience Summary] material design results and Development Summary, materialdesign

Source: Internet
Author: User

[Experience Summary] material design results and Development Summary, materialdesign

First, post a reference article, which is well written: implement the Material design application on the android system of a lower version.


The following is a summary of the work, which lists some common styles of material design on <5.0 devices.

  • Big Element
    • Other obvious big elements to be added]
    • Pull-down refresh [can be implemented, similar to the Gmail pull-down refresh style]
      • SwipeRefreshLayoutDemo]
      • Android-Ultra-Pull-To-Refresh
    • Action Bar [implemented]
      • Google's own support v7 r21 class, mainly Theme. AppCompat
    • Floating action button [implemented]
      • The open-source project futuresimple/android-floating-action-button is suitable. The only drawback is that it supports the system version of API 14 or later.
    • Scrolling techniques (scroll) [implemented]
      • Open-source project NotBoringActionBar
    • Navigation drawer (Navigation drawer) [implemented]
      • Class provided by Google's support v7 r21 (see AppCompat → Action Bar → Navigation Drawer Toggle in the latest version of Support v7 demo)
      • Open-source project kanytu/android-material-drawer-template has a Gmail-style Navigation Drawer (cover the ActionBar when expanding)
    • Navigational transitions (navigation conversion) [Possible, but not found]
      • There are two types: Parent to child, Sibling to sibling
    • Tabs (navigation label) [implemented, but not found]
    • Bottom sheets (Bottom window) [Yes, but not found]
  • Other small elements
    • Other obvious small elements to be supplemented]
    • Ripple Effects [implemented]
      • RippleEffect open-source projects have the best results
    • SnackBar [implemented]
      • The open-source project MrEngineer13/SnackBar can already meet your needs.
      • Open-source project MaterialDesignLibrary
    • ColorSelector [implemented]
      • The MaterialDesignLibrary open-source project has this control.
    • Typography [can be implemented. We recommend that you do not use it first]
      • Actually there are two fonts: Robot-Latin, Greek, and Cyrillic scripts; Noto-all other ages
    • Color (large Color block) [implemented]
      • Development is related to the use of colors. In Support v7 r21, only a material_blue color series is defined, and 20 colors are not all defined in the project. In actual development, you only need to define the color according to the google example.
    • Layout: Metrics and Keylines (margin/spacing) [implemented]
      • Mainly designed to achieve no problems
    • Tooltips (tooltip) [implemented]
      • For touch screens, A tooltip is displayed when you press a graphic button (without text ).
      • ActionBar has implemented this mechanism. I strongly recommend using Google's ActionBar instead of drawing an ActionBar that looks like ActionBar.
    • Text fields (Text input) [partial implementation]
      • The Theme. AppCompat topic provided by Support v7 r21 already covers the EditText control, but I guess there are no small features such as the number of texts and color changes (no debugging is available). This will be added later.
    • Buttons [can be implemented, to be debugged]
      • There are four types of buttons: Floating action button, Raised button, Flat button, Pulldown button
      • Floating action button can be found at the top,
      • Raised button finds another open-source project, adding an edge shadow in essence.
      • Flat button is mainly used for confirmation and cancellation buttons of the dialog box. This is already available in the open-source project of the relevant dialog box (not available separately currently)
      • The Pulldown button is the same as that of the previous Spinner.
    • Switches [implemented, to be debugged]
      • There are three types: Checkbox, Radio button, and Switch.
      • In Support v7 r21, Theme. AppCompat already covers the style of the above three controls, but the color is only Light/Drak
      • Open-source third-party projects also have flexible controls (re-write by yourself), that is, you can easily change the color

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.