Azhar has Published 721 Articles

How ListView's recycling mechanism works on Android?

Azhar

Azhar

Updated on 15-Nov-2019 10:28:16

76 Views

This example demonstrates how ListView's recycling mechanism works on Android.Step 1 − Create a new project in Android Studio, go to File ⇒ New Project and fill all required details to create a new project.Step 2 − Add the following code to res/layout/activity_main.xml.     Step 3 − Add ... Read More

How to answer in incoming call programmatically in Android?

Azhar

Azhar

Updated on 15-Nov-2019 10:20:59

2K+ Views

This example demonstrates how to answer in incoming call programmatically in Android.Step 1 − Create a new project in Android Studio, go to File ⇒ New Project and fill all required details to create a new project.Step 2 − Add the following code to res/layout/activity_main.xml.     Step 3 ... Read More

How to create custom notification layouts and text colors in Android?

Azhar

Azhar

Updated on 15-Nov-2019 10:15:00

2K+ Views

This example demonstrates how to create custom notification layouts and text colors in Android .Step 1 − Create a new project in Android Studio, go to File ⇒ New Project and fill all required details to create a new project.Step 2 − Add the following code to res/layout/activity_main.xml.   ... Read More

How to make an alert dialog fill 50% of screen size on Android device?

Azhar

Azhar

Updated on 15-Nov-2019 10:01:48

2K+ Views

This example demonstrates how to make an alert dialog to fill 50% of screen size on an Android device.Step 1 − Create a new project in Android Studio, go to File ⇒ New Project and fill all required details to create a new project.Step 2 − Add the following code ... Read More

How to detect shake event in Android app?

Azhar

Azhar

Updated on 15-Nov-2019 09:56:19

2K+ Views

This example demonstrates how to do I in android.Step 1 − Create a new project in Android Studio, go to File ⇒ New Project and fill all required details to create a new project.Step 2 − Add the following code to res/layout/activity_main.xml.     Step 3 − Add the ... Read More

How to use search functionality in custom list view in Android?

Azhar

Azhar

Updated on 15-Nov-2019 09:51:56

2K+ Views

This example demonstrates how do I use the search functionality in custom listview in android.Step 1 − Create a new project in Android Studio, go to File ⇒ New Project and fill all required details to create a new project.Step 2 − Add the following code to res/layout/activity_main.xml.   ... Read More

How to hide status bar in Android?

Azhar

Azhar

Updated on 15-Nov-2019 09:46:35

2K+ Views

This example demonstrates how to do I in android.Step 1 − Create a new project in Android Studio, go to File ⇒ New Project and fill all required details to create a new project.Step 2 − Add the following code to res/layout/activity_main.xml.     Step 3 − Add the ... Read More

How to permanently hide Navigation Bar in an Android Activity?

Azhar

Azhar

Updated on 15-Nov-2019 09:41:31

2K+ Views

This example demonstrates how do I permanently hide Navigation Bar in an Android Activity in android.Step 1 − Create a new project in Android Studio, go to File ⇒ New Project and fill all required details to create a new project.Step 2 − Add the following code to res/layout/activity_main.xml. ... Read More

How can I get the current Android SDK version programmatically?

Azhar

Azhar

Updated on 15-Nov-2019 09:36:01

619 Views

This example demonstrates how do I get the current SDK version programmatically.Step 1 − Create a new project in Android Studio, go to File ⇒ New Project and fill all required details to create a new project.Step 2 − Add the following code to res/layout/activity_main.xml.     Step 3 ... Read More

How to display progress dialog before starting an activity in Android?

Azhar

Azhar

Updated on 15-Nov-2019 07:16:31

792 Views

This example demonstrates how do I to display progress dialog before starting an activity in android.Step 1 − Create a new project in Android Studio, go to File ⇒ New Project and fill all required details to create a new project.Step 2 − Add the following code to res/layout/activity_main.xml. ... Read More

Advertisements