Azhar has Published 721 Articles

How to send an email with a file attachment in Android using Kotlin?

Azhar

Azhar

Updated on 18-Aug-2020 09:00:11

2K+ Views

This example demonstrates how to send an email with a file attachment 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. ... Read More

How to change the Android Overflow menu icon programmatically using Kotlin?

Azhar

Azhar

Updated on 18-Aug-2020 08:55:55

844 Views

This example demonstrates how to change the Android Overflow menu icon 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 convert ISO 8601 String to Date/Time object in Android using Kotlin?

Azhar

Azhar

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

3K+ 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 background color of ListView items on Android using Kotlin?

Azhar

Azhar

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

569 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

830 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

189 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

443 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

1K+ 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

994 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

Advertisements