Android Studio Creating Magic Buttons

In this Android Studio article we are going to learn about Creating Magic Buttons. so for creating 

of Magic Button in Android Studio we are going to use third party library.

 

 

 

Also you can read more android development articles

1: Android Development Articles

 

 

 

 

First of all open your Android Studio , After that create New Project in Android Studio and

choose Empty Activity.

 

 

 

OK after creating your project in Android Studio, you need to open your build.gradle(Moduel:App)

and add this library to your Module Gradle in the dependencies section. because for creating of the 

Magic Button in Android Studio we are using third party library.

 

 

 

 

 

When you are going to add a new module in Android Studio, you need to sync your project.

Android Studio Magic

 

 

 

 

 

After that you need to add two icons in your drawable folder, iam using these two icons and i

have already added these icons in the drawable folder.

Facebook Icon
Facebook Icon
Twitter Icon
Twitter Icon

 

 

 

 

 

 

So after adding the icons, you need to open your Layout Folder and choose  main_activity.xml

and in here we have added our two magic buttons and this is the complete design you can copy.

 

 

 

 

 

 

At the top of the design these are the two magic button for Twitter and Facebook.

 

 

 

 

 

 

So run your complete project in Android Studio and this will be the result 

Android Studio Creating Magic Buttons
Android Studio Creating Magic Buttons

 

 

 

 

 

 

Also you can watch the complete video for this article 

Subscribe and Get Free Video Courses & Articles in your Email

 

Comments are closed.

Codeloop
Share via
Copy link
Powered by Social Snap
×