Friday, August 7, 2015

Add Android Design Support Library to Android Studio Project

TO add Android Design Support Library to Android Studio Project, follow the steps here shown in the video:
- In Android Studio > File > Project Structure
- Select App -> Dependencies
- Select Design Support Library, 'com.android.support:design:22.2.1' currently.
- Click on the '+' symbol to add the libraries
- OK


Alternatively, you can also edit the file "build.gradle" manually.



Related:
- About Android Design Support Library
- Android Snackbar example of Android Design Support Library
Android FloatingActionButton example
CoordinatorLayout + FloatingActionButton + Snackbar
Set text and background color of Snackbar
Updated Android Studio now provide template of Blank Activity with FloatingActionButton and Snackbar


BottomSheet
BottomSheetDialog

No comments: