Azhar has Published 721 Articles

How do you animate the change of background color of a view on Android?

Azhar

Azhar

Updated on 03-Jul-2020 13:22:59

1K+ Views

This example demonstrates how do I animate the change of background color of a View 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. ... Read More

How to change font face of Webview in Android?

Azhar

Azhar

Updated on 03-Jul-2020 13:22:13

2K+ Views

This example demonstrates how do I change font face of WebView 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 ... Read More

How to develop a soft keyboard for Android?

Azhar

Azhar

Updated on 03-Jul-2020 13:18:14

974 Views

This example demonstrates how do I develop a soft keyboard for 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 get the web page contents from a WebView in Android?

Azhar

Azhar

Updated on 03-Jul-2020 13:17:33

936 Views

This example demonstrates how do I get the web page contents from a webView 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 stop screen recording in Android?

Azhar

Azhar

Updated on 03-Jul-2020 13:16:55

906 Views

This example demonstrates about How to stop screen recording 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 following ... Read More

Create Left to Right slide animation in Android?

Azhar

Azhar

Updated on 03-Jul-2020 13:16:09

3K+ Views

This example demonstrates how do I create left to right side animation 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 make a horizontal ListView in Android?

Azhar

Azhar

Updated on 03-Jul-2020 13:15:26

3K+ Views

This example demonstrates about How can I make a horizontal 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.     Step ... Read More

Android, How to crop circular area from bitmap

Azhar

Azhar

Updated on 03-Jul-2020 13:13:37

1K+ Views

This example demonstrates how to crop circular area from bitmap 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 create shadow in Android Buttons?

Azhar

Azhar

Updated on 03-Jul-2020 13:12:56

9K+ Views

This example demonstrates how How to create shadow in Android Buttons.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 ... Read More

How to fix android.os.NetworkOnMainThreadException?

Azhar

Azhar

Updated on 03-Jul-2020 13:11:21

3K+ Views

The exception that is thrown when an application attempts to perform a networking operation on its main thread.This is only thrown for applications targeting the Honeycomb SDK or higher. Applications targeting earlier SDK versions are allowed to do networking on their main event loop threads, but it's heavily discouraged.Kindly refer ... Read More

Advertisements