
Search In
In the below example I have created draggable panel function. This will works like a notification bar up and down. Here first I have added slidinguppanel support library in build.gradle file. Then in next step i have added SlidingUpPanelLayout, Butto
In the below code I have created a spinner, when you add your name or text in edit text box and press Add Button your text data will be save on Spinner. Here first I have added a EditText, Button and Spinner with in activity_main.xml layout. In
In the below example code I have created Full-screen Navigation Drawer layout with the help of FullDrawerLayout class.
Step(1)-activity_main.xml -Here I have added package name with FullDrawerLayout class name
<?xml version="1.0
HI Guys,
Some times we want to know that what SQL operation is running on a particular page or a event, then we have to debug our code base and we get the result, but it's time taking process to debug code line by line and as well as some time w
If you are looking for the code in android to create database and insert data in SQLite then follow the steps mentioned below:-
1) Create a layout in which the data will be filled that will be inserted into database.
activity_signup_form.xml
<
This blog is about how to create water reflection image.
1. Create android Project.
2. Activity layout file is look like :-
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
This tutorial will guide you to use EmojIcon keyboard in your app like WhatsApp by using a library code. This is a very easy tutorial to integrated EmojIcon keyboard.
Step 1- Set library project in your application
To set library project a
To attain such Dialogue box please go through the steps mentioned below:-
1) Declare a button/ImageView in your Activity xml file, you can place this button on top right corner or left corner or in center wherever you wish you can place it. Here in
In android there is no default text clear button functionality in EditText so here is a simple example of implementing text clear button in edit-text, You just have to follow instruction given below to make it in your edit-text.
1)- First you have
In the below example I have created set wallpaper app. Here I have added two button and ImageView in activity_main.xml layout. In MainActivity I have used setOnClickListener method , displayWallpaper() and Toast function, and I have also used BitMap