[英]Layout resize on keyboard open in fullscreen mode only
I'd been trying to maintain consistency in layout
whether keyboard is open or not. 无论键盘是否打开,我都试图保持
layout
一致性。 These issue is generated in FULLSCREEN
Mode (hiding top notification bar) only. 这些问题仅在
FULLSCREEN
模式(隐藏在顶部的通知栏)中生成。 It works like a charm without Fullscreen
. 没有
Fullscreen
它就像是一种魅力。
Tried: 尝试过:
android:softWindowMode="adjustResize"
and android:softWindowMode="adjustPan"
inside <activity>
of Manifest File. <activity>
中添加了android:softWindowMode="adjustResize"
和android:softWindowMode="adjustPan"
。 android:isScrollableContainer="false"
inside by top layout with blue background
having first
, next
, prev
, last
symbol. android:isScrollableContainer="false"
,其中blue background
具有first
, next
, prev
和last
符号。 Desired Layout: 所需布局:
Blue Background
should never get hide whether keyboard is open or not. Blue Background
都不应隐藏。 These issue get resolved with ActionBar
but it requires a lot of turn work which I don't intent to. 这些问题可以通过
ActionBar
解决,但需要很多回合工作,而我并不是故意这样做的。
.
。
Is there any way other than ActionBar
which resolve my issue? 除了
ActionBar
,还有其他方法可以解决我的问题吗?
尝试为蓝色背景布局创建固定的标题布局,并在此蓝色布局下方为ScrollView
其他字段创建布局...这样,当键盘出现时,它将不会隐藏标题蓝色布局...
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.