2. * Early we have seen slide share on following topics:
1. Learn how to use RecyclerView with CardView
2. Create Collapsing Toolbar Layout like Whatsapp in Android
Application
3. Create Circular Reveal Animation And Ripple Effect like
Whatsapp
http://pulse7.net/
3. * Google +1 : Google +1 button will
help you to recommend your
android app.
* Do you want to add Google+1
button into your android
application? Today I am going to
show you how to add
native Google +1 button in
Android Application.
http://pulse7.net/
4. * I will tell you steps for how to create Collapsing Toolbar
Layout like Whatsapp in Android Application Follow steps:
1. First of all create project
2. Add latest Google play service dependency in your app
gradle. Here I have addedcompile
‘com.google.android.gms:play-services:7.8.0’
3. Now add Internet permission in your project’s
AndroidManifest.xml
http://pulse7.net/
5. 4. Now add google play service version meta-data in
AndroidManifest.xml
5. Add native +1 button (PlusOneButton) to your app
Add PlusOneButton in you layout xml file.
http://pulse7.net/
6. * Please add below line without fail in control.
6. Now assign PlusOneButton to a member variable in your
activity’s onCreate method.
http://pulse7.net/
7. 7. Now add lines to your Activity’s onResume method to
refresh PlusOneButton’s state each time the activity
receives focus.
8. You can use different type of size of PlusOneButton in
layout xml like
http://pulse7.net/
8. 9. Also can use different annotation for PlusOneButton like
plus:annotation=“inline” or plus:annotation=“bubble”
or plus:annotation=“none” options.
I hope you like this article. Share your views to to improve
content. Happy Coding !!!
http://pulse7.net/