there are many questions regarding this but not even single helped me.
So please tell me how to enable material design features in eclipse.
i have also impo
There are some points you should check:
android-support-v7-appcompat
project. You should update via SDK Manager, and import project from {your_path_to_android_sdk}/extras/android/support/v7/appcompat
In styles.xml
use Theme.AppCompat.Light
or Theme.AppCompat
:
style name="AppTheme" parent="@style/Theme.AppCompat.Light"
A simple guideline:
<style name="Theme.MyTheme" parent="Theme.AppCompat.Light">
values-vXY
folders are used to add specific resources for a specific platform. For example you might add a style (in a values-v21
folder) that inherits some of the material styles that are built-in and available only one api level 21+. These folders are created manually and are only used if you want an alternative resource for a specific platform level. They are used when you want your app to fit better in all/many android versions. More info - at the android developers portal