Reader small image

You're reading from  Modern Android 13 Development Cookbook

Product typeBook
Published inJul 2023
Reading LevelIntermediate
PublisherPackt
ISBN-139781803235578
Edition1st Edition
Languages
Tools
Right arrow
Author (1)
Madona S. Wambua
Madona S. Wambua
author image
Madona S. Wambua

Madona S. Wambua is a Google Developer Expert in the Android category, an Android Engineer programming in Kotlin, and the founder and Chief Technology Officer of Jibu Labs. She is also a Women Tech Makers Ambassador and Co-Chair of AnitaB. She has over ten years of experience in the field and has worked on consumer-facing applications and building software development kits for developers. She has also worked on the famous Google Glass during her tenure at a startup and got an opportunity to work on interactive AR videos to transform lives through machine learning and computer vision. Madona is also a Keynote Speaker and the host of Tech Talks with Madona, a podcast geared towards supporting women and allies in tech.
Read more about Madona S. Wambua

Right arrow

Creating a FAB/extended FAB

A FAB is a circular button that appears to float above the UI of an Android application. It is often used to represent a primary action in the app and is placed in a visible location for easy access.

An extended FAB is a variation of a FAB in Android that provides users with more options and functionality. The extended FAB is a rectangular button that can display text and an icon and expands into a menu of related actions when pressed.

Getting ready

In this recipe, we will continue using the same project, so ensure you have completed previous recipes.

How to do it…

Using the same project, follow these steps to build a FAB and extended FAB:

  1. Let’s start by creating a Kotlin file and calling it ActionComponentsDemo.kt.
  2. Inside ActionComponentsDemo, create a composable function and call it ActionComponentsExample():
    @Composable
    fun RadioButtonExample() {...}
  3. Inside ActionComponentsDemo, create a composable function and...
lock icon
The rest of the page is locked
Previous PageNext Chapter
You have been reading a chapter from
Modern Android 13 Development Cookbook
Published in: Jul 2023Publisher: PacktISBN-13: 9781803235578

Author (1)

author image
Madona S. Wambua

Madona S. Wambua is a Google Developer Expert in the Android category, an Android Engineer programming in Kotlin, and the founder and Chief Technology Officer of Jibu Labs. She is also a Women Tech Makers Ambassador and Co-Chair of AnitaB. She has over ten years of experience in the field and has worked on consumer-facing applications and building software development kits for developers. She has also worked on the famous Google Glass during her tenure at a startup and got an opportunity to work on interactive AR videos to transform lives through machine learning and computer vision. Madona is also a Keynote Speaker and the host of Tech Talks with Madona, a podcast geared towards supporting women and allies in tech.
Read more about Madona S. Wambua