JKeyboardPanelSwitch icon indicating copy to clipboard operation
JKeyboardPanelSwitch copied to clipboard

Adapt the case of DialogFragment

Open anjiao opened this issue 9 years ago • 17 comments

因为不一定是聊天界面才有这样的布局 我想抽出来一个公用的评论空间 DialogFragment 这样的 不知道能不能使用??

anjiao avatar Oct 14 '16 03:10 anjiao

感谢你的demo
可以正常使用,我不是用在聊天界面或者评论界面,而是直接用于EditText获取焦点是直接把整个界面都置顶于软键盘之上。 目的是让EditText往下布局如Button等都能显示出来。

发自网易邮箱大师

在2016年10月14日 11:38, [email protected]写道:

因为不一定是聊天界面才有这样的布局 我想抽出来一个公用的评论空间 DialogFragment 这样的 不知道能不能使用??

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

tx16bing avatar Oct 14 '16 03:10 tx16bing

@anjiao 恩,是可以的。

Jacksgong avatar Oct 17 '16 02:10 Jacksgong

我试了下 好像不可以 KPSwitchRootLayoutHandler 我放在DialogFragment 中 报错了 强制转activity 报错了 final Activity activity = (Activity) rootView.getContext(); 这里

没有继续试下去

anjiao avatar Oct 17 '16 09:10 anjiao

好的,我抽空给适配一下,加到demo中。

Jacksgong avatar Oct 17 '16 09:10 Jacksgong

好的 期待大作

anjiao avatar Oct 22 '16 02:10 anjiao

大神 DialogFragment 什么时候能出个适配版 😆

anjiao avatar Nov 07 '16 04:11 anjiao

@anjiao 不好意思哈,这几天换工作,搬家,耽误了不少时间,这段时间过去了,一有时间,立马处理下。

Jacksgong avatar Nov 07 '16 13:11 Jacksgong

oK 谢谢回复

anjiao avatar Nov 08 '16 01:11 anjiao

大神 DialogFragment 什么时候能出个适配版 😆 哈哈 又来问一次

anjiao avatar Nov 22 '16 07:11 anjiao

我也想问下dialogFragment有没有适配的?

XiongKe94 avatar Mar 02 '17 07:03 XiongKe94

大神,求适配DialogFragment

justek-Wade avatar Mar 27 '17 04:03 justek-Wade

大神,求适配DialogFragment

club233 avatar May 23 '17 09:05 club233

大神,求适配DialogFragment

KeqingLI avatar Nov 06 '17 03:11 KeqingLI

大佬,跪求适配DialogFragment (T_T)

g19980115 avatar Nov 22 '17 11:11 g19980115

DialogFragment 有适配???

sophiebob avatar Nov 28 '18 11:11 sophiebob

DialogFragment的适配需要处理两个问题: 1、打开DialogFragment的时候需要手动去触发下依附的activity的layout动作; 2、在切换panel的时候需要手动干预显示panel和隐藏keyboard

Amon9527 avatar Aug 02 '19 09:08 Amon9527

@Amon9527 请教一下,具体你是怎么做到的?

belinwu avatar Aug 16 '19 12:08 belinwu