Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Material Design support library

Are there efforts underway to backport the new Material Design style and widgets to pre-L versions of Android, similar to the "HoloEverywhere"-library? The creator of that library has initialized an empty GitHub-repository, but it doesn't seem to be in active development. I know there is a backport of L-style dialogs and the floating action button, but there are obviously so many more widgets that have changed in Android L.

Has the Android team made any announcement whether they are working on a support library (exceeding what's currently available)?

like image 871
Nick Avatar asked Sep 21 '14 10:09

Nick


People also ask

What is design support library?

The Design Support library adds support for various material design components and patterns for app developers to build upon, such as navigation drawers, floating action buttons (FAB), snackbars, and tabs. The Gradle build script dependency identifier for this library is as follows: com. android. support:design:28.0.

Is Material Design a library?

Lastly, Material Design is open-source, which means you can customize the design library to match your brand and product requirements. The system is available for Android and iOS, allowing you to use one design library for both operating systems.

What are support libraries?

Support Libraries provide classes and methods that closely resemble APIs in the Android Framework. Upon discovering this, you may wonder if you should use the framework version of the API or the support library equivalent.

What is Material Design library Android?

Material design is a comprehensive guide for visual, motion, and interaction design across platforms and devices. To use material design in your Android apps, follow the guidelines defined in the material design specification and use the new components and styles available in the material design support library.


1 Answers

Here is complex answer for you

Material Design from Android 2.2 (API 8) to present 5.0 (API 21)

Here what you need:

  1. Toolbar
  2. Material Design Library for widgets (buttons, checkboxes, etc)

1. Toolbar

Just get the idea and you ready to go.

<android.support.v7.widget.Toolbar
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:id="@+id/toolbar"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:background="?attr/colorPrimaryDark"/>

Setup guide: http://antonioleiva.com/material-design-everywhere/

Source with example: https://github.com/antoniolg/MaterialEverywhere

To make Toolbar work lower API 11 use Theme.AppCompat.Light.NoActionBar (instead windowActionBar set to false)

<style name="NoActionBarTheme" parent="Theme.AppCompat.Light.NoActionBar">
     ...
</style>

2. Material Design Library

Here is Material Design Library for pretty buttons, etc.. Currently it's heavily developed.

Guide, code, example - https://github.com/navasmdc/MaterialDesignLibrary

Guide how to add library to Android Studio 1.0 - How do I import material design library to Android Studio?

.

Hope it helps :)

like image 153
Inoy Avatar answered Oct 13 '22 15:10

Inoy