Add Footer and Header View in ListView

Step 1: Create a layout xml for the header and footer as per your requirement. header.xml <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent"...

How To Show Images In Android

Place This Code To droidface.xml <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"     xmlns:tools="http://schemas.android.com/tools"     xmlns:app="http://schemas.android.com/apk/res-auto"     android:id="@+id/droidface"    ...

Interpolator Bounce Button OnClick Java

1) Implement the bounce interpolator Next, we write the code that adds the bounce effect to the scale animation. Create a new Java Class file in your app module and name it MyBounceInterpolator. Open the Java file that was created and replace the class code with the...

Make Bubble Button Animation

1) Add a button view We begin by placing a button in the activity layout file res/layout/activity_main.xml. <?xml version=”1.0″ encoding=”utf-8″?> <RelativeLayout xmlns:android=”http://schemas.android.com/apk/res/android”...

Create ListView How To Make It Simple

Droid Face ListView – The ListView and GridView are subclasses of AdapterView and they can be populated by binding them to an Adapter, which retrieves data from an external source and creates a View that represents each data entry. Android provides several...