I'm very very new to Android Studio, and I can't understand how to use the Android Design Library, can someone help me guiding me in each passage? Please
Asked
Active
Viewed 2,275 times
1 Answers
0
in you build.gradle, add the dependency like:
dependencies {
...
compile 'com.android.support:design:25.1.0'
...
}
sync your project and start using it.
See here.

Abdul Wasae
- 3,614
- 4
- 34
- 56
-
So I write this code, I rebuild the project and I'm done, right? – Johnson Dec 18 '16 at 21:25
-
yes. comment here if u are stuck at a later point – Abdul Wasae Dec 18 '16 at 21:27
-
Thank you so much! – Johnson Dec 18 '16 at 21:29
-
Well I actually found a line saying: compile 'com.android.support:appcompat-v7:24.2.1', so I used 24.2.1 even for the design one, but a few lines before it says: buildToolsVersion "24.0.3". Am I doing it right? – Johnson Dec 18 '16 at 21:31
-
Yes sure. Just use the same versions for all ''com.android.support.*" type libraries. – Abdul Wasae Dec 18 '16 at 21:36
-
to actually use the theme I think I have to reference it into the styles.xml, isn't it? But even if I Re-Builded the project two times, I can only use AppCompact Styles, why? – Johnson Dec 18 '16 at 21:46