123ArticleOnline Logo
Welcome to 123ArticleOnline.com!
ALL >> Others >> View Article

Material Design In Android

Profile Picture
By Author: SkyBridge Infotech
Total Articles: 6
Comment this article
Facebook ShareTwitter ShareGoogle+ ShareTwitter Share

An Introduction on Material Design:

Google introduced material design in last year’s I/O, labeling it as an interface that integrates “tactile surfaces, bold graphic design and fluid motion to create beautiful, intuitive experiences.” Material design is the new “user experience philosophy” for Android apps!!

To create a visual language that synthesizes classic principles of good design with the innovation and possibility of technology and science.

In Material Design, lots of new things were introduced like Material Theme, new widgets, custom shadows, vector drawables and custom animations.

Material Design for Android:

Material design is a comprehensive guide for visual, motion, and interaction design across platforms and devices. Android now includes support for material design apps.

Android provides the following elements for you to build material design apps:

1. A new Material Theme
2. New widgets for complex views
3. New APIs for custom shadows and animations

A) Material Theme:

The material theme provides a new style for your app, system ...
... widgets that let you set their color palette, and default animations for touch feedback and activity changeovers. The new material theme provides:

1. System widgets that let you set their color palette
2. Touch feedback animations for the system widgets
3. Activity transition animations

B) Lists and Cards:

Android provides two new widgets for displaying cards and lists with material design styles and animations. To create complex lists and cards with material design styles in your apps, you can use the Recycler View and Card View widgets.

The RecyclerView class simplifies the display and handling of large data sets by providing:

1. Layout managers for positioning items
2. Default animations for common item operations,
such as removal or addition of items

CardView extends the FrameLayout class and lets you show information inside cards that have a consistent look across the platform. CardView widgets can have shadows and rounded corners.

C) View Shadows:

In addition to the X and Y properties, views in Android now have a Z property. This new property represents the elevation of a view, which determines:

1. The size of the shadow: views with higher Z values cast bigger shadows.
2. The drawing order: views with higher Z values appear on top of other views.

The elevation of a view, represented by the Z property, determines the visual appearance of its shadow: views with higher Z values cast larger, softer shadows. Views with higher Z values occlude views with lower Z values; however, the Z value of a view does not affect the view's size.

Shadows are drawn by the parent of the raised view, and thus subject to standard view clipping, clipped by the parent by default.

Elevation is also useful to create animations where widgets temporarily rise above the view plane when performing some action.

D) Animations:

The new animation APIs let you create custom animations for touch feedback in UI controls, changes in view state, and activity transitions.
These APIs let you:

1. Respond to touch events in your views with touch feedback animations.
2. Hide and show views with circular reveal animations.
3. Switch between activities with custom activity transition animations.
4. Create more natural animations with curved motion.
5. Animate changes in one or more view properties with view state change animations.
6. Show animations in state list drawables between view state changes.

Touch feedback animations are built into several standard views, such as buttons. The new APIs let you customize these animations and add them to your custom views.

E) Drawables:

These new abilities for drawables help you implement material design apps:

1. Vector drawables are scalable without losing definition and are perfect for single-color in-app icons.
2. Drawable tinting lets you define bitmaps as an alpha mask and tint them with a color at runtime.
3.
3. Color extraction lets you automatically extract prominent colors from a bitmap image.

The following capabilities for drawables help you implement material design in your apps:
1. Drawable tinting
2. Prominent color extraction
3. Vector drawables

Total Views: 365Word Count: 615See All articles From Author

Add Comment

Others Articles

1. Salesforce Launches Zero Copy Partner Network For Secure Integration
Author: Orson Amiri

2. New Cps Protection Platform: Txone Networks Presents Sageone In Hannover
Author: Orson Amiri

3. Serial Killer Suspense Novel – How To Choose The Best Novel
Author: Julie Bergman is a retired military veteran

4. An Amazing Ottoman Stools For Your Kids @ Moon Kids Home
Author: Farheen

5. Exploring The Top Vape Devices Of All Time: A Comprehensive Guide
Author: BoomBVaping

6. Personalized Higher Education Solutions: Horizon Scholar
Author: Receive personalized solutions tailored to your ne

7. Sudhir Generator 160 Kva Price In Delhi | Diesel Generators (united Power)
Author: unitedpower

8. Xaira Therapeutics Utilizes Ai For Drug Discovery And Transformative Medicines
Author: Orson Amiri

9. Business Process Engineering Services | Yantra Inc
Author: Yantra Inc

10. Manhattan Associates Leads 2024 Gartner Magic Quadrant In Transportation Systems
Author: Orson Amiri

11. The Advantages And Applications Of Laser Welding, Cleaning, And Rust Removal Machines
Author: baremetallaser

12. Unlocking Celestial Secrets: Astrology Insights From New Jersey’s Finest Astrologers
Author: astrologer ganeshji

13. The Definitive Guide To Heat Pump Hot Water In Newcastle
Author: HiTech Hot Water

14. Learn Some Top Facts About The Gestational Carrier Packages
Author: IVY Surrogacy

15. Why You Might Need Cad Conversion Services - Shalin Designs
Author: Shalin Designs

Login To Account
Login Email:
Password:
Forgot Password?
New User?
Sign Up Newsletter
Email Address: