ALL >> Others >> View Article
Material Design In Android
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
Add Comment
Others Articles
1. Prayer Against Evil Spirits And Powers: A Spiritual Shield Against DarknessAuthor: Exorcism Demon Casting
2. Top Safety Tips For Operating Benchtop Catering Equipment In Sydney & Brisbane
Author: Leading Catering
3. Fighting Demonic Attacks: Understanding And Overcoming Spiritual Warfare
Author: Exorcism Demon Casting
4. Top 5 Reasons To Pursue A Weld Inspection Certification For Career Growth
Author: Bradly Franklin
5. Vashikaran Astrologer In Kolhapur
Author: astrology53
6. Symptoms Of Demonic Possession: Understanding The Unseen
Author: Exorcism Demon Casting
7. 6.6 Kw Solar System: Why It’s A Game-changer For Small To Medium Homes
Author: Solar Junction
8. Monoline Lenders Vancouver – Why Should You Choose Them
Author: Dominion Lending Centres Ratefair
9. Step-by-step Ghost Mannequin Photo Editing Tutorial For Stunning Apparel Images
Author: Robert Charles
10. Key Hospitality Technology Innovations You Should Be Ready For In 2025
Author: Orson Amiri
11. Emerging Media And Entertainment Tech: Are You Ready For The Future
Author: Orson Amiri
12. Window Tinting Auckland: Add A Feeling Of Comfort And Privateness To Your Home
Author: Tinting Experts
13. Top 10 Welding Rod Electrodes Manufacturers In India
Author: SUPERON is one of India’s largest manufacturers of
14. Know About The Future Of Cnc Machining
Author: Ryan
15. Best Astrologer In Tirunelveli
Author: srivaishnavimatha