. f 2021 ~ Android Developers Blog

Thursday, 21 October 2021

Splash Screen API in Android 12 | Android 12 Splash Screen Example | Splash screens in Android 12 | Splash screen demo Using Splash Screen API | Splash Screen API Example

 Hi All,         Today I am going to share a tutotial and a sample demo of Android 12 Splash Screen Api.  Android 12 Splash screen api introduce in Android 12.Android 12 adds the SplashScreen API, which enables a new app launch animationfor all apps when running on...

Tuesday, 28 September 2021

Android Jetpack Compose Toolbar example | Jetpack Compose TopAppBar

Hi Friends,              Many of us looking for Toolbar example in Jetpack Compose orTopAppBar example in Jetpack compose. Today I am going to share  you a sample which helps you in creating Toolbar in Jetpack compose.Also in this tutoriail I am providing you how...

Android Jetpack Compose Dropdown menu Example | Dropdown menu using DropdownMenu Composable

Dropdown menu:       We are going to use DropdownMenu Composable for creating dropdown menu.fun DropdownMenu( expanded: Boolean, onDismissRequest: () -> Unit, modifier: Modifier = Modifier, offset: DpOffset = DpOffset(0.dp, 0.dp), properties: PopupProperties = PopupProperties(focusable = true), content: @Composable ColumnScope.() -> Unit)In Above code if expanded is true, the popup...

Friday, 24 September 2021

Android Jetpack Compose Button Example | How to center a button in jetpack Compose | How to onclick listener on button in Jetpack Compose

Hi Friends,             Today I am sharing a Sample of Jetpack Compose Button view. I will show you howto set onclick listener on button in Jetpack Compose. How to style on Button inJetpack Compse , how to set height and width of button in Jetpack...

Android Jetpack compose- Android Listview using Jetpack compose | Jetpack compose listview clicklistener

 Hello all,         Today I am going to share my anothere Android Jetpack Compose tutoria.How to set clicklistener on listview in android Jetpack Compses, how to set clicklistener on button using Jetpack Compse.I am sharing below code where I am handling list item click in jetpack compose. This file...

Android Jetpack Compose Alert Dialog Sample | Jetpack Compose Dialog

 Hi Friends,                 Today I am sharing the Jetpack Compse Alert Dialog Sample.What is Alert Dialog?- Alert dialog is a Dialog which interrupts the user with urgent information, details or actions.Code: This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode...

Thursday, 23 September 2021

How to get Context in Jetpack Compose

Hello All,            Many of us facing issue in using/getting context in JetPack Compose.Here I am sharing a composbale function where I am using context for showing toast message.  This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below....

Android Jetpack Compose- An easy way to RecyclerView | How to create a RecyclerView in Jetpack Compose | LazyColumn-JetPack Compose

 Hello Friends,        Today I am going to share a my another JetPack Compose tutorial.Here I am going to share you the creation of listview/recyclerview using Compose.Creating a listview/recyclerview in Compose:                                            Creating a listview/recyclerview in Compose is easy.No...

Wednesday, 22 September 2021

Android Jetpack- Jetpack cardview sample

 Hi All,         Today I am going to share Jetpack CardView sample. Here I am going to create a simple android cardview UI  withoutt using the android Xml and layout editor.We are going to build the UI using Composable funtion(i.e: using Jetpack Compse).Column :  We are going...

Tuesday, 21 September 2021

Android Jetpack- Composable functions

Jetpack Compose is built around composable functions. These functions let you define your app's UI programmatically by describing how itshould look and providing data dependencies, rather than focusing on the process of the UI's construction (initializing an element, attaching it to a parent, etc.).To create a composable function, just add the @Composable annotationto the function name. This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters Show hidden characters package com.example.composesample import android.os.Bundle import...

Saturday, 4 September 2021

Android Jetpack Compose-Android Gradle plugin requires Java 11 to run. You are currently using Java 1.8

 Hi All,             Many of us facing below issue  while running the Android Jetpack Compose Project.> Failed to apply plugin 'com.android.internal.application'. > Android Gradle plugin requires Java 11 to run. You are currently using Java 1.8. You can try some of the following options: - changing...

Wednesday, 1 September 2021

Android Jetpack Compose- Android Studio with Jetpack Compose Getting Started | Jetpack Compose Tutoria

Hi All,  Today I am going to share my first JetPack Compose Tutorial. Here we learn how\nto setup android compose in android studio. We see the rquired dependency and other settings.Step 1: Installation:  First we have to download Android Studio Arctic Fox. That’s because when we use Android Studio to...

 

Copyright @ 2013 Android Developers Blog.