Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 

Search In

How to create fragment In android

In the below example I have created a simple fragment app code. Here, first I have created two new fragment xml layouts and neamed them fragmentone and fragmenttwo then in this I have added TextView and backgraund image. Now In activity_main.xml I ha

How to make Tabs ViewPager with the using Fragments in android

In the below example I have created a Tabs ViewPager by using three fragments. Before creating layout firstly I have added design libraries in the dependencies section of build.gradle file. Then I have created three fragments layout, in this I have a

Implementing Fragment in Android

In this example we are using two fragments Fragment1 and Fragment2 where Fragment1 consist of a button named click, this button will show the Fragment2 on clicking the Click button. To implement Fragment in Android follow the steps mentioned below:-

Material Design ActionBar

These days android came up with new material design so lets get updated with one of the many features ie. Action Bar which is also special type of tool bar. Before we start make sure you have these requirements fulfilled. Android Studio. Appcombat

How to make Action Bar in Android?

Here I have created Action Bar in android. In android Action Bar is used to provide navigation and perform some actions. In this blog I have implement a Action Bar in my Android project and perform actions such as switching fragment. Below example

How to implement Expansion Library in Android

Android has some of its policies due to which it don't allow you to upload apk more than the size of 50 MB. Many Apps contains too many media files that may increase the size leading to the exceeding the limit of 50 MB. So if your App's apk is exce

Easy methods of incorporating Google maps for Android

First create a layout for Map Activity. The name of layout is activity_main.xml <fragment xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/map" class="com.google.android.

Adding Card View Alternatively Within RecyclerView

In the below example code I have Created a RecyclerView. In RecyclerView I have  added CardView Item Alternatively like Chat app . First Item is on left, second is on Right. In Adapter class  I have used boolean type, variables(changeLayou

How to drag and drop View in android from one position to another position?

In this tutorial, we will learn to move layout view from one position to another position. We are using Draggable Layout, its a user interface which elements can rearrange from one position to another position. To drag an element just press over the

How to make menuItem visible and invisible

If you are looking how to create menuItem and make them visible or invisible on certain condition, here is way to create menuItems:- Step 1:- Create items on menu.xml:- <menu xmlns:android="http://schemas.android.com/apk/res/android" xmlns:c

1 7 30
Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: