Azhar has Published 721 Articles

How to change the Text color of Menu item in Android using Kotlin?

Azhar

Azhar

Updated on 18-Aug-2020 11:24:37

1K+ Views

This example demonstrates how to change the Text color of Menu item 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 make a specific text on TextView bold in Android using Kotlin?

Azhar

Azhar

Updated on 18-Aug-2020 11:20:39

2K+ Views

This example demonstrates how to make a specific text on TextView bold 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 validate Email Address in Android on EditText using Kotlin?

Azhar

Azhar

Updated on 18-Aug-2020 11:18:26

840 Views

This example demonstrates how to validate Email Address in Android on EditText 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 projectStep 2 − Add the following code to res/layout/activity_main.xml.     ... Read More

How to play YouTube videos in my Android application using Kotlin?

Azhar

Azhar

Updated on 18-Aug-2020 11:16:40

785 Views

This example demonstrates how to play YouTube videos in my Android application 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 detect swipe direction between left/right and up/down in Android using Kotlin?

Azhar

Azhar

Updated on 18-Aug-2020 11:11:34

541 Views

This example demonstrates how to detect swipe direction between left/right and up/down 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 take a screenshot programmatically in Android using Kotlin?

Azhar

Azhar

Updated on 18-Aug-2020 11:06:34

2K+ Views

This example demonstrates how to take a screenshot 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.       ... Read More

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

Azhar

Azhar

Updated on 18-Aug-2020 11:04:05

274 Views

This example demonstrates how to display progress dialog before starting an activity 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 permanently hide the Navigation Bar in an Android activity using Kotlin?

Azhar

Azhar

Updated on 18-Aug-2020 11:01:29

1K+ Views

This example demonstrates how to permanently hide the Navigation Bar in an Android activity 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 convert milliseconds to date format in Android using Kotlin?

Azhar

Azhar

Updated on 18-Aug-2020 10:55:44

5K+ Views

This example demonstrates how to convert milliseconds to date format 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 hide status bar in Android using Kotlin?

Azhar

Azhar

Updated on 18-Aug-2020 09:30:12

823 Views

This example demonstrates how to hide status bar 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.         Step 3 ... Read More

Advertisements