Azhar has Published 721 Articles

How to convert ISO 8601 String to Date/Time object in Android using Kotlin?

Azhar

Azhar

Updated on 21-Jul-2020 13:57:04

2K+ Views

This example demonstrates how to convert an ISO 8601 String to Date/Time object in Android using Kotlin.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.Example ... Read More

How to change the color and font of Android ListView using Kotlin?

Azhar

Azhar

Updated on 21-Jul-2020 13:53:35

633 Views

This example demonstrates how to change the color and font of Android ListView using Kotlin.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.Example Step ... Read More

How to change the background color of ListView items on Android using Kotlin?

Azhar

Azhar

Updated on 21-Jul-2020 13:50:02

391 Views

This example demonstrates how to change the background color of ListView items 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.Example Step 3 ... Read More

How to find the currently running applications programmatically in Android using Kotlin?

Azhar

Azhar

Updated on 21-Jul-2020 13:45:58

583 Views

This example demonstrates how to find the currently running applications programmatically in Android using Kotlin.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.Example Step ... Read More

How do I remove lines between ListViews on Android using Kotlin?

Azhar

Azhar

Updated on 21-Jul-2020 13:42:16

122 Views

This example demonstrates how to remove lines between ListViews on Android using Kotlin.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.Example Step 3 − ... Read More

How to copy text programmatically (Ctrl+C) in my Android app using Kotlin?

Azhar

Azhar

Updated on 21-Jul-2020 13:38:36

319 Views

This example demonstrates how to copy text programmatically (Ctrl+C) in my Android app using Kotlin.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.Example ... Read More

How to change status bar color to match app Android using Kotlin?

Azhar

Azhar

Updated on 21-Jul-2020 13:34:48

915 Views

This example demonstrates how to change status bar color to match app Android using Kotlin.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.Example ... Read More

How to set the layout weight of a TextView programmatically in Android using Kotlin?

Azhar

Azhar

Updated on 21-Jul-2020 13:30:47

797 Views

This example demonstrates how to set the layout weight of a TextView 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. ... Read More

How to set dialog to show with full screen in Android using Kotlin?

Azhar

Azhar

Updated on 21-Jul-2020 13:26:23

1K+ Views

This example demonstrates how to set dialog to show with full screen in Android using Kotlin.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.Example ... Read More

How to set a particular font for a button text in Android using Kotlin?

Azhar

Azhar

Updated on 21-Jul-2020 13:23:28

430 Views

This example demonstrates how to set a particular font for a button text in Android using KotlinStep 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.Example ... Read More

Advertisements