Azhar has Published 721 Articles

How to set only numeric values for edittext in Android using Kotlin?

Azhar

Azhar

Updated on 18-Aug-2020 11:30:08

2K+ Views

This example demonstrates how to set only numeric values for edittext 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 create a Dialog Box without a title in Android using Kotlin?

Azhar

Azhar

Updated on 18-Aug-2020 11:27:56

429 Views

This example demonstrates how to create a Dialog Box without a title 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 Text color of Menu item in Android using Kotlin?

Azhar

Azhar

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

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

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

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

962 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

821 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

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

376 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

Advertisements