# Smoothly reacting to keyboard visibility changes in Android

DevFeed: [Smoothly reacting to keyboard visibility changes in Android](<https://devfeed.tech/articles/smoothly-reacting-to-keyboard-visibility-changes-in-android-29037.md>)

Original publisher: [Read original article](<https://saket.me/smoothly-reacting-to-keyboard/>)

Author: Saket Narayan

Published: 2018-10-05T19:05:52Z

Content type: tutorial

Language: en

Sources: [Saket Narayan](<https://devfeed.tech/sources/saket-narayan.md>)

Topics: [Android](<https://devfeed.tech/topics/android.md>), [App](<https://devfeed.tech/topics/app.md>)

Tags: [android](<https://devfeed.tech/tags/android.md>), [animation](<https://devfeed.tech/tags/animation.md>), [changes](<https://devfeed.tech/tags/changes.md>), [keyboard](<https://devfeed.tech/tags/keyboard.md>), [layout](<https://devfeed.tech/tags/layout.md>)

## AI overview

The article explains how Dank smoothly animates content resizing when Android's soft keyboard appears. It describes observing the resized content layout, restoring full height, and manually resizing it with an animator as a workaround for abrupt layout changes.

## Source excerpt

When people use Dank, one of the terms they use to describe it is fluid. The app makes a good use of motion to indicate changes on the screen, but I think one of my favorite reasons why the app feels fluid is because it handles keyboard changes smoothly. When the soft keyboard is shown, [...] The post Smoothly reacting to keyboard visibility changes in Android appeared first on Saket Narayan.