Google introduced new design guidelines for android application and others which is called Material Design with the release of android lollipop 5.0 and also introduced the Android Design Support Library for android developers. With this library, we can easily implement lots of component in our android application. This library includes Floating Action Button (FAB), Navigation View, Floating Labels for EditText, Snackbar, Tabs, etc. Here, you will learn to use these components in android apps using design support library.

Android Material Design with Design Support Library

Adding Android Design Support Library Dependencies

Let’s start by adding design and appcompat support dependencies in android project build.gradle file. After adding support library dependencies build.gradle file looks like this.

Android Material Design Tutorial with Design Support Library

Following are the android material design tutorials using design support library. Practice them one by one.

1. Android Navigation Drawer View: Material Design Support Library

2. Floating Action Button (FAB) Using Android Design Support Library

3. Android Floating Labels for EditText Using Design Support Library

4. Android Snackbar Using Design Support Library

5. Navigation View - Android Sliding Menu with WebView

6. Android CardView Example

7. Animated Android Toolbar With Appbar Background Image

8. Adding Floating Action Button (FAB) Between Two Widgets or Layouts

9. Animated Android Toolbar (Expanding and Collapsing)

10. How to Hide Toolbar/AppBarLayout When Content Scroll

11. Android Material Design Tabs Using TabLayout

12. DrawerLayout/ Navigation Drawer View Over Android ActionBar/ToolBar

13. Adding Ripple Effect/Animation on Android Image View

14. Dashboard UI Design for Android App

15. Android Material Design Login Form XML UI Design

16. How to Implement Ripple Effect in Android

In this example, I am going to show how to create a ListView in android. To create lists you have to add ListView in your xml layout and create a new layout and add TextView.

Android Material Design with Design Support Library
Android WebView Tutorial with Example
How to Share Android Studio Project on GitHub

Create a new Android Project

Application Name: Android ListView Example
Company Domain: viralandroid.com
Package Name: com.viralandroid.androidlistviewexample
Minimum SDK: Android 2.2 (API 8 Froyo)

XML Main Layout File

In your main layout add ListView which looks like this.

XML ListView Row Layout File

Following is the xml code of listview_row.xml file.

Java Activity File

Following is the modified java code of MainActivity.java file.

Strings.xml File


Now, run your application which looks like this.

Android ListView Example
Android ListView

Download Complete Example Project

Download complete Android ListView Example project source code from GitHub.

In android, there are many layouts provided for developers. These layouts are used in almost all the android applications and each layout has different attributes. In this post, you will learn to use android linear layout, relative layout, table layout, frame layout, absolute layout and list view. Android allows you to create these layouts using xml and all the layouts file must be placed in res/layout directory.

Android Layouts Tutorial

Following are the android layouts tutorial.

1. Android Linear Layout Example

2. Android Relative Layout Example

3. Android Table Layout Example

4. Android Frame Layout Example

5. Android Absolute Layout Example

6. Simple Android ListView Example

7. Android ListView Example

8. Android Relative Layout – Views Position in Android

9. Android ScrollView Example

10. Make Rounded Corners in Android Layout

ImageView allow you to display images in android application. By default, android doesn’t allow you to add border color in ImageView, but you can add border color according to your wish by using drawable file. So, in this tutorial I will show how to add border color to android ImageView.

How to Make Rounded Corners(Boarder Radius) of ImageView in Android
How to Rotate an Image in Android
Android Material Design with Design Support Library

Android Example: Adding Border Color to Android ImageView

Drawable Resource File
Create a new drawable file called image_border.xml in your res/drawable/ directory and add following content.

XML Layout File
Following is the simple android xml layout with a LinearLayout and an ImageView.

Java Activity File
Following is the default content of MainActivity.java file.

Following is the default content of strings.xml file.


How to Add Border to Android ImageView
Android ImageView Border Color

In this tutorial, you will learn to use Android ScrollView component in application. ScrollView is a different kind of layout than LinearLayout, RelativeLayout, etc. which is designed to view larger than its actual size. If the views inside ScrollView are more than the views that can be hold/contained within ScrollView then a scrollbar is automatically added.

Android Custom Vertical ScrollView Example
Android Custom Horizontal ScrollView Example
Android WebView Tutorial with Example

Android Example: How to use Android ScrollView Component

Create a new Android Project
Let’s start by creating a new android project with following information

Application Name: Android ScrollView Example
Company Domain: viralandroid.com
Package Name: com.viralandroid.androidscrollviewexample
Minimum SDK: Android 2.2 (API 8 Froyo)

XML Layout File

After creating the project, open the activity_maiinn.xml file of your application from res/layout directory and replace the content with the content given below.

Now, run your ScrollView application and scroll down the screen. It will look exactly like the output given below.


Android ScrollView Example

In this example, I will show how to get (display) current date in android application programmatically. To get current date(today's date) in android application, we use Calendar class Calendar calendar = Calendar.getInstance();.

Get Current Time in Android Programmatically
How to Make a Phone Call in Android
Android Material Design with Design Support Library

Android Example: How to Get (display) Current Date in Android Programmatically

XML Layout File

Java Activity File

Now, run your application and click the Get Current Date button to get today’s date.


Get Current Date in Android Programmatically
Current Date in Android 

Hiring is always associated with a headache for most of the people. And, when it comes to online hiring, the problem is twice as big as offline hiring. Because, in offline hiring, you meet the candidate in person and this gives you a confidence that you can easily evaluate his/her skills. But, in online hiring, you will not meet the developer in person. So, there will always be a question in your mind regarding the ability of the developer.

Again, when it comes to Android developers, your doubts increase. This is because, there are many android developers in the online marketplace who do not possess the required skills needed by an android developer. Therefore, in order to trust an android developer, you need to see his/her qualifications or past record.

Top 7 Best Place to Hire Android Developer

Top 7 Best Place to Hire Android Developer

Now, there are some online platforms that make it easy for you to find the perfect Android developer. Here, we will look into the top 7 platforms to hire android developers.

10 Best Places to Find Freelance Android Jobs


Toptal is one of the freelancing platforms that strictly focus on the quality. Here, you will get access to the top 3% of the developers around the globe. Toptal’s selection criterion is very different from rest of the platforms. No freelancer can just register and start accepting orders. Each and every members have to pass through a rigorous screening test before being eligible to accept orders.

Consequently, the top talents get filtered from the rest. If you want an app for your business or enterprise, you can prefer Toptal. Coming to the downside, it does not provide a mobile app for you to access Toptal.



Gigster is very similar to Toptal. It has developers who have had got a chance to attend some of the top universities of the world like MIT and Stanford or worked in tech giants like Google and Microsoft. Now you can guess the quality of work you can get from the developers. Another point where it is different from rest of the platforms is its interaction with developers.

Here, you will not interact directly with the developers, instead, you will interact with product managers who act as bridge between you and Gigster developers.



Upwork is one of the largest marketplaces for android developers.  Here, lakhs of android developers around the globe are brought closer to you. This is a great platform that also assists you with the recruitment process.

It gives you complete relief form the glitches you face while selecting an android developer. In its pro user pack, it packs an HR for you. This will automatically select an android developer who is best for your project. So, forget all the worries and stay relaxed.


If you are looking for a budget friendly android developer for your app, you should prefer Freelancer. There are a very large number of android developers already working on Freelancer. Here, you will get a wide category of android developers starting from simple app developers providing personal solutions to professional developers providing generic apps.

Although it is a very good platform, it also has some downsides. First, there are many android developers with a fake profile. Second, good quality android developers are a bit overpriced.


Guru also has a large global network of freelancers. With over 1.5 million Gurus, it becomes easy for you to choose the best android guru who can perfectly complete your project in time. Whether, it is your college project or an app for your blog, you can easily find a guru for it.

Even though Guru is a very reputed marketplace, it is also vulnerable to quality issues. You will have to examine the developer yourself.

People Per Hour

People Per Hour is almost similar to Upwork. Here, freelance developers get paid at an hourly rate. The feature that makes it different is, it holds contests. This platform is known for its ease of posting jobs, contacting freelancers and paying for hours worked through a safe and secure payment system.

The main advantage of People Per Hour is that, it not only finds remote freelancer, but also, it finds local freelancers for you. This can improve your trust on the freelancer.

Linkedin Profinder

It is the freelancing platform provided by LinkedIn. Not to mention, LinkedIn is the best platform for displaying your qualifications to the whole world. Now, when you see the complete qualifications of a developer, you can easily decide whether to choose him/her or not.
Linkedin Profinder

These were the top 7 platforms upon which you can rely for your android development projects. Whether you app is a personal app limited to your usage or a generic app like an app for your website which will be used by the people around the globe, you can always get developers ready to complete your project. Finally, you have to choose an android developer with all your active senses and your eyes open. Best of Luck for your new app. Thank You.

Powered by Blogger.