Saturday, September 17, 2016

Android Studio Dependencies

gradle vitra build.gradle (Module App)
for image library Git
dependencies {
    compile 'com.github.bumptech.glide:glide:3.5.2'
}



this dependency is needed for tapping into
android.support.design.widget.TabLayout;
dependencies {
    compile 'com.android.support:design:24.0.0-alpha1'
}

which allows the use of:
<android.support.design.widget.TabLayout
        android:id="@+id/tab_layout"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:background="@color/twittercolor"
        android:elevation="6dp"
        android:minHeight="?attr/actionBarSize"
        android:theme="@style/ThemeOverlay.AppCompat.Dark">
</android.support.design.widget.TabLayout>

Another such dependency, for google maps
dependencies {
    compile 'com.google.android.gms:play-services-maps:8.4.0'
}
*Ofcourse, you have to setup the API and everything yourself. This is just a dependency

0 comments

Post a Comment