Introduction
How to Use the Layouts ?
Dependencies
Go to app / build.gradle and add dependencies listed below:
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'androidx.multidex:multidex:2.0.1'
// google support library ---------------------------------------------------------------------
implementation 'androidx.appcompat:appcompat:1.2.0'
implementation 'com.google.android.material:material:1.3.0'
implementation 'androidx.cardview:cardview:1.0.0'
implementation 'androidx.recyclerview:recyclerview:1.1.0'
implementation 'androidx.legacy:legacy-support-v13:1.0.0'
implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
implementation 'androidx.vectordrawable:vectordrawable:1.1.0'
// google maps library ------------------------------------------------------------------------
implementation 'com.google.android.gms:play-services-maps:17.0.0'
implementation('com.google.android.libraries.places:places:1.0.0') {
exclude module: 'glide'
}
// google gson --------------------------------------------------------------------------------
implementation 'com.google.code.gson:gson:2.8.4'
// third party dependencies -------------------------------------------------------------------
implementation 'com.balysv:material-ripple:1.0.2' // ripple effect
implementation 'com.github.bumptech.glide:glide:3.7.0' // image loader
implementation 'com.wdullaer:materialdatetimepicker:3.2.0' // date & time picker
implementation 'com.mikhaellopez:circularimageview:3.2.0' // circle image view
implementation 'com.github.pchmn:MaterialChipsInput:1.0.5' // material chip
implementation 'com.hootsuite.android:nachos:1.1.1' // material chips
implementation 'com.google.android:flexbox:0.3.2' // google flexible box
implementation 'com.crystal:crystalrangeseekbar:1.1.3' // range seek bar
// database
implementation 'androidx.room:room-runtime:2.2.3'
implementation 'androidx.navigation:navigation-fragment:2.2.2'
implementation 'androidx.navigation:navigation-ui:2.2.2'
annotationProcessor 'androidx.room:room-compiler:2.2.3'
}
Color Values
you can find all the color codes used in the layouts at this link :https://androidlayouts.com/res/values/colors.xml
Drawables
you can download all the drawables used in the layouts from this link :https://androidlayouts.com/res/drawable.rar
Dimensions
Here is all the Dimensions values we used in the layouts, you can implement them by editing app / src / main / res / values / dimens.xml
Third Party Plugins
We have used some third party open source plugins:
Plugin Name | More Details |
---|---|
Material Ripple Layout | https://github.com/balysv/material-ripple |
Material DateTime Picker | https://github.com/wdullaer/MaterialDateTimePicker |
CircularImageView | https://github.com/lopspower/CircularImageView |
MaterialChipsInput | https://github.com/pchmn/MaterialChipsInput |
Material Chips for Android | https://github.com/hootsuite/nachos |
Crystal Range Seekbar | https://github.com/syedowaisali/crystal-range-seekbar |