Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ActionBar goes out of the screen when keyboard shows up

How to keep the ActionBar at its place? Look at the screenshot. Activity label is half-hidden.

enter image description here

like image 452
Maksim Dmitriev Avatar asked Nov 26 '12 13:11

Maksim Dmitriev


People also ask

What is action bar in phone?

Android ActionBar is a menu bar that runs across the top of the activity screen in android. Android ActionBar can contain menu items which become visible when the user clicks the “menu” button.

What is action bar icon?

The ActionBar, now known as the App Bar, is a consistent navigation element that is standard throughout modern Android applications. The ActionBar can consist of: An application icon. An "upward" navigation to logical parent. An application or activity-specific title.


1 Answers

try to use android:windowSoftInputMode="adjustResize" in your manifest for your 'activity' element

like image 128
Berťák Avatar answered Oct 07 '22 05:10

Berťák