# Android Compose Keyboard Visibility Detector This Kotlin file contains a simple implementation for detecting the visibility of the software keyboard in an Android app using Jetpack Compose. ## Overview The `MainActivity` class in this file demonstrates how to use `WindowInsets.isImeVisible` to check if the software keyboard is visible on the screen. The UI consists of a `TextField` for input and a `Text` that displays the keyboard visibility status. ## Usage 1. Include this Kotlin file in your Android Jetpack Compose project. 2. Run the app and focus on the TextField. The text will update to indicate whether the keyboard is visible. ## Features - Utilizes `WindowInsets.isImeVisible` for keyboard visibility detection. - Simple Compose layout with `Scaffold` and `Column`. - Dynamically updates the UI based on the keyboard's visibility state. ## Contributions Feel free to fork this gist and contribute to enhancing its functionality or addressing any issues. Suggestions and improvements are always welcome! --- Created by [Abdelraouf Sabri](https://github.com/abd3lraouf) - Senior Android Developer