<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Loveleen Kaur on Medium]]></title>
        <description><![CDATA[Stories by Loveleen Kaur on Medium]]></description>
        <link>https://medium.com/@loveleen.nancy?source=rss-6c52f937b86f------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*Uu53_zn3c5-IHnQyLB9FrQ.jpeg</url>
            <title>Stories by Loveleen Kaur on Medium</title>
            <link>https://medium.com/@loveleen.nancy?source=rss-6c52f937b86f------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 21:35:04 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@loveleen.nancy/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Say HELLO to Gemini in Android Studio]]></title>
            <link>https://medium.com/@loveleen.nancy/say-hello-to-gemini-in-android-studio-97aa0ccb90dd?source=rss-6c52f937b86f------2</link>
            <guid isPermaLink="false">https://medium.com/p/97aa0ccb90dd</guid>
            <category><![CDATA[gemini]]></category>
            <category><![CDATA[android]]></category>
            <category><![CDATA[android-studio]]></category>
            <dc:creator><![CDATA[Loveleen Kaur]]></dc:creator>
            <pubDate>Wed, 26 Feb 2025 17:40:29 GMT</pubDate>
            <atom:updated>2025-02-26T17:40:29.624Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IdsjGNDdEvo8u_l3ASu0PA.png" /></figure><p>Gemini in Android Studio is your coding companion for Android development. It’s powered by artificial intelligence and can understand natural language. It helps you be more productive by answering your Android development queries. Gemini can help Android developers generate code, find relevant resources, learn best practices, and save time.</p><p><strong>Here’s how to set up Gemini:</strong></p><ol><li>Download the latest canary version of <a href="https://developer.android.com/studio/preview">Android Studio</a>.</li><li>To launch Gemini, open or start an Android Studio project and click <strong>View &gt; Tool Windows &gt; Gemini</strong>.</li><li>Sign in to your Google account when asked, if you aren’t already signed in. The chat box appears and you can start using Gemini’s interactive, conversational interface.</li></ol><p><strong>Get answers from Gemini</strong></p><p>The main interface for interacting with Gemini is the chat window. You can use it to ask questions ranging from very simple and open-ended ones to specific problems that you need help with. Here are some examples of things you might ask; however, feel free to experiment with any topics related to Android development:</p><ul><li>How do I add camera support to my app?</li><li>I want to create a Room database.</li><li>Can you remind me of the format for javadocs?</li><li>What is dark theme?</li><li>What’s the best way to get location on Android?</li></ul><p><strong>Tips for engaging with Gemini</strong></p><ul><li>Be specific</li><li>Describe the structure of the desired answer</li><li>Break up complex requests into a series of simpler questions</li></ul><p>If you have any suggestions, feedback, or doubts, feel free to comment below, or you can connect with me on <a href="https://twitter.com/loveleen_nancy"><strong>Twitter</strong> </a>or <a href="https://www.linkedin.com/in/loveleen-kaur/"><strong>LinkedIn</strong></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=97aa0ccb90dd" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What’s new in Android at Google I/O 2023?]]></title>
            <link>https://medium.com/@loveleen.nancy/whats-new-in-android-at-google-i-o-2023-f66e10983f45?source=rss-6c52f937b86f------2</link>
            <guid isPermaLink="false">https://medium.com/p/f66e10983f45</guid>
            <dc:creator><![CDATA[Loveleen Kaur]]></dc:creator>
            <pubDate>Sun, 14 May 2023 18:29:25 GMT</pubDate>
            <atom:updated>2023-05-14T18:29:25.747Z</atom:updated>
            <content:encoded><![CDATA[<p>At I/O 2023, so many latest news from Android was announced, ranging from your phone to your watch to your tablet — and how we use AI to improve the experience.</p><p>Every year, it’s really exciting to see all the new technology from Google on stage at I/O. Android has always been about bringing the benefits of computing to as many people as possible. With more than 3 billion active devices worldwide, Android is king in Mobile Industry.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9y-maXBTI-KjI619eRGQFA.png" /></figure><h3>Experience the best of Android on your TV and in your car</h3><p>On the road, Android continues to bring new in-car experiences, whether it’s Android Auto or cars with Google built-in. Supported by nearly every major manufacturer, Android Auto will be available in 200 million cars this year. And the number of car models with Google built-in will more than double by the end of the year.</p><h3>Enjoy all your devices working better together</h3><ul><li>Fast Pair speeds up the setup process for pairing your favorite devices, including over 300 headphones.</li><li>Casting makes streaming video and audio to your devices simple, with support for over 3,000 apps.</li><li>Nearby Share is enabled on 3 billion devices, letting you easily share content with people and between your phone, tablet and Chromebook. It even works with <a href="https://blog.google/products/android/nearby-share-windows/">Windows PCs</a>, now available in Beta globally.</li></ul><h3>Use AI to make your Android device unique to you</h3><p>Powering this ecosystem of devices means Android can deliver the benefits of Google’s AI innovations at a huge scale. For example, this past year, Android used AI models to protect users from 100 billion suspected spam messages.</p><h3>Stay connected with friends and family</h3><p>Beyond connecting all these devices to each other and helping you do more with AI, Android connects people to each other too. When you are texting in a group chat, you shouldn’t have to worry about what kind of phone everyone is using — sharing high-quality images and video, seeing typing notifications and staying protected with end-to-end encryption should just work.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f66e10983f45" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Material Design 3 in Compose]]></title>
            <link>https://medium.com/@loveleen.nancy/material-design-3-in-compose-643f8ddc5374?source=rss-6c52f937b86f------2</link>
            <guid isPermaLink="false">https://medium.com/p/643f8ddc5374</guid>
            <dc:creator><![CDATA[Loveleen Kaur]]></dc:creator>
            <pubDate>Mon, 13 Feb 2023 17:47:33 GMT</pubDate>
            <atom:updated>2023-02-13T17:47:33.324Z</atom:updated>
            <content:encoded><![CDATA[<p>Jetpack Compose offers an implementation of Material Design 3, the next evolution of Material Design. Material 3 includes updated theming, components and Material You personalization features like dynamic color, and is designed to be cohesive with the new visual style and system UI on Android 12 and above.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*j_Gc0iQKBQn11WsE4-ROPw.png" /></figure><h3><strong>Dependency</strong></h3><p>To start using Material 3 in your Compose app, add the Compose Material 3 dependency to your build.gradle files:</p><pre>implementation &quot;androidx.compose.material3:material3:$material3_version&quot;</pre><h3><strong>Experimental APIs</strong></h3><p>Some M3 APIs are considered experimental. In such cases you need to opt in at the function or file level using the ExperimentalMaterial3Api annotation:</p><pre>import androidx.compose.material3.ExperimentalMaterial3Api<br><br>@OptIn(ExperimentalMaterial3Api::class)<br>@Composable<br>fun AppComposable() {<br>    // M3 composables<br>}</pre><h3>Material Theming</h3><p>Jetpack Compose implements these concepts with the M3 MaterialTheme composable:</p><pre>MaterialTheme(<br>  colorScheme = …,<br>  typography = …,<br>  shapes = …) {<br>    // M3 app content<br>}</pre><h3>Generating color schemes</h3><p>The foundation of a color scheme is the set of five key colors. Each of these colors relate to a tonal palette of 13 tones, which are used by Material 3 components.</p><p>While you can create a custom ColorScheme manually, it’s often easier to generate one using source colors from your brand. The Material Theme Builder tool allows you to do this, and optionally export Compose theming code. The following files are generated:</p><p>Color.kt contains the colors of your theme with all the roles defined for both light and dark theme colors.</p><pre>val md_theme_light_primary = Color(0xFF476810)<br>val md_theme_light_onPrimary = Color(0xFFFFFFFF)<br>val md_theme_light_primaryContainer = Color(0xFFC7F089)<br>// ..<br>// ..<br><br>val md_theme_dark_primary = Color(0xFFACD370)<br>val md_theme_dark_onPrimary = Color(0xFF213600)<br>val md_theme_dark_primaryContainer = Color(0xFF324F00)<br>// ..<br>// ..</pre><p>Theme.kt contains a setup for light and dark color schemes and the app theme.</p><pre>private val LightColors = lightColorScheme(<br>  primary = md_theme_light_primary,<br>  onPrimary = md_theme_light_onPrimary,<br>  primaryContainer = md_theme_light_primaryContainer,<br>  onPrimaryContainer = md_theme_light_onPrimaryContainer,<br>// ..<br>)<br>private val DarkColors = darkColorScheme(<br>  primary = md_theme_dark_primary,<br>  onPrimary = md_theme_dark_onPrimary,<br>  primaryContainer = md_theme_dark_primaryContainer,<br>  onPrimaryContainer = md_theme_dark_onPrimaryContainer,<br>// ..<br>)<br><br>@Composable<br>fun ReplyTheme(<br>    useDarkTheme: Boolean = isSystemInDarkTheme(),<br>    content: @Composable()() - &gt; Unit<br>) {<br>    val colorSchemecolors =<br>        if (!useDarkTheme) {<br>            LightColorsScheme<br>        } else {<br>            DarkColorsScheme<br>        }<br>    MaterialTheme(<br>        colorScheme = colorSchemecolors,<br>        content = content<br>    )<br>}</pre><p>If you have any suggestions, feedback, or doubts, feel free to comment below, or you can connect with me on <a href="https://twitter.com/loveleen_nancy"><strong>Twitter</strong> </a>or <a href="https://www.linkedin.com/in/loveleen-kaur/"><strong>LinkedIn</strong></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=643f8ddc5374" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Getting started with Jetpack Compose]]></title>
            <link>https://medium.com/@loveleen.nancy/getting-started-with-jetpack-compose-8edc6277f838?source=rss-6c52f937b86f------2</link>
            <guid isPermaLink="false">https://medium.com/p/8edc6277f838</guid>
            <category><![CDATA[androiddev]]></category>
            <category><![CDATA[android]]></category>
            <category><![CDATA[android-app-development]]></category>
            <category><![CDATA[compose]]></category>
            <category><![CDATA[jetpack-compose]]></category>
            <dc:creator><![CDATA[Loveleen Kaur]]></dc:creator>
            <pubDate>Wed, 16 Nov 2022 08:37:28 GMT</pubDate>
            <atom:updated>2023-02-13T17:40:56.271Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WVUBQsNgePqQxmrHjaID4g.png" /></figure><p>Jetpack Compose is Android’s recommended modern toolkit for building native UI. It simplifies and accelerates UI development on Android. Quickly bring your app to life with less code, powerful tools, and intuitive Kotlin APIs. It makes building Android UI faster and easier. While creating Compose we worked with different partners who experienced all of these benefits first hand and shared some of their takeaways with us.</p><h3><strong>Why adopt Compose?</strong>🤔</h3><h3>Less code ⚡</h3><p>Compose allows you to do more with less code, compared to using the Android View system: Buttons, lists or animation — whatever you need to build, now there’s less code to write. The code you’re writing is written only in Kotlin, rather than having it split between Kotlin and XML: “It’s much easier to trace through code when it’s all written in the same language and often the same file, rather than jumping back and forth between Kotlin and XML</p><h3>Intuitive 🎨</h3><p>Compose uses a declarative API, which means that all you need to do is describe your UI — Compose takes care of the rest. The APIs are intuitive — easy to discover and use. With Compose, you build small, stateless components that are not tied to a specific activity or fragment. That makes them easy to reuse and test.</p><h3>Accelerate development ⏩</h3><p>Compose is compatible with all your existing code: you can call Compose code from Views and Views from Compose. Most common libraries like Navigation, ViewModel and Kotlin coroutines work with Compose, so you can start adopting when and where you want.</p><h3>Powerful 🔋</h3><p>Compose enables you to create beautiful apps with direct access to the Android platform APIs and built-in support for Material Design, Dark theme, animations, and more: “Compose has also solved more than declarative UI — accessibility apis, layout, all kinds of stuff have been improved. There are fewer steps between the thing you want to make and actually making it”</p><h4>Define a composable function 👨‍💻👩‍💻</h4><p>To make a function composable, add the @Composable annotation. To try this out, define a MessageCard function which is passed a name, and uses it to configure the text element.</p><pre>@Composable<br>fun MessageCard(name: String) {<br>    Text(text = &quot;Hello $name!&quot;)<br>}</pre><p>In this article, we have seen what Jetpack Compose is and why we should use it. We have also seen some of the Pros of Jetpack compose.<br>Do you think you should use Jetpack Compose in your production environments? I definitely think that we should start using it in our small projects at least.</p><p>If you have any suggestions, feedback, or doubts, feel free to comment below, or you can connect with me on <a href="https://twitter.com/loveleen_nancy"><strong>Twitter</strong> </a>or <a href="https://www.linkedin.com/in/loveleen-kaur/"><strong>LinkedIn</strong></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8edc6277f838" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>