Azhar has Published 721 Articles

How to work with Camera in an Android App using Kotlin?

Azhar

Azhar

Updated on 21-Jul-2020 08:53:38

5K+ Views

This example demonstrates how to work with Camera in an 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 Step ... Read More

How to create animation using XML file in an Android App using Kotlin?

Azhar

Azhar

Updated on 21-Jul-2020 08:39:40

384 Views

This example demonstrates how to create animation using XML files in an 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 create GridView Layout in an Android App using Kotlin?

Azhar

Azhar

Updated on 21-Jul-2020 08:32:37

3K+ Views

This example demonstrates how to create GridView Layout in an 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 Step 3 ... Read More

How to switch between different Activities in Android using Kotlin?

Azhar

Azhar

Updated on 21-Jul-2020 08:25:27

8K+ Views

This example demonstrates how to switch between different Activities 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 3 ... Read More

How to create Tab Layout in an Android App using Kotlin?

Azhar

Azhar

Updated on 21-Jul-2020 08:18:37

3K+ Views

This example demonstrates how to create Tab Layout in an 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 Step ... Read More

How do you format date and time in Android using Kotlin?

Azhar

Azhar

Updated on 21-Jul-2020 08:10:24

2K+ Views

This example demonstrates how to format date and time 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 3 ... Read More

How to get the screen DPI programmatically in Android using Kotlin?

Azhar

Azhar

Updated on 21-Jul-2020 08:04:31

635 Views

This example demonstrates how to get the screen DPI 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 ... Read More

How to detect if a user is using an Android tablet or a phone using Kotlin?

Azhar

Azhar

Updated on 21-Jul-2020 07:59:31

756 Views

This example demonstrates how to detect if a user is using an Android tablet or a phone 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 ... Read More

How to change the font face of Webview in Android using Kotlin?

Azhar

Azhar

Updated on 21-Jul-2020 07:55:30

795 Views

This example demonstrates how to change the font face of Webview 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 to change the language of an app when the user selects language using Kotlin?

Azhar

Azhar

Updated on 21-Jul-2020 07:46:34

2K+ Views

This example demonstrates how to change the language of an app when the user selects language 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 ... Read More

Advertisements