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: 434Word Count: 615See All articles From Author

Add Comment

Others Articles

1. Jaisalmer Desert Safari Camp– Choose Among The Best
Author: Safari Desert Camp Jaisalmer

2. Vashikaran Specialist In Perth
Author: Astrology050

3. Silica Nanoparticles And Its Most Hidden Benefits
Author: Alpha Nanotech Inc.

4. Why Hire The Best Wedding Planners In Delhi Ncr?
Author: sumit

5. A Guide To Finding Stunning Lingerie In Australia For Style And Comfort
Author: Jaime Murphy

6. Sleeveless Denim Dresses: The Perfect Mix Of Comfort And Trendsetting Fashion
Author: Boss Luxe

7. Cakes Online The Perfect Solution For Every Occasion
Author: MyFlowerTree

8. Efficient Cargo Solutions: The Role Of Transport Trucks In Dubai
Author: Ahsan Sher

9. Spiritual Cleansing In Austin: Understanding The Role Of Exorcists And Prayers To Cast Out Demons
Author: Exorcism Demon Casting

10. Cut Your Payments: Ultimate Guide To Refinancing Car Title Loans | Loancheetah
Author: loancheetah

11. Marketing Mastery: Strategies And Insights To Drive Success
Author: adlerconway

12. Pandit In Hyderabad – Your Guide To Finding The Best Ritual Services
Author: vaibhav

13. Auckland House Movers Knowledge You Can Rely On
Author: Accurate Movers

14. De Ce Planurile Flexibile De închiriere A Imprimantelor Sunt Soluția Ideală Pentru Companiile Dinamice Din București
Author: Mihai Filip

15. Best Astrologer In Hoskote
Author: Astrology56

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