Skip to content

=> 提 Issues 前阅读须知 <= (功能讨论前往隔壁 Discussions) #51

Open

Description

@YummyLau

针对 API 的使用疑惑统一使用以下模版:

  • 场景: 比如 “在直播间使用评论功能”,必要时可提供贴图等
  • 问题: 比如 “如何使用xxxx/ 为什么xxxx / 等等”,必要时可提供代码等
  • 期望: 比如 “希望能够能后像抖音一样的场景”,必要时可提供贴图等

针对 Bug 的反馈:

  • Androidx版本:是/否
  • PanelSwitchHelper版本:v1.3.2
  • 手机型号: 小米5x
  • 手机系统版本: Android 5.0
  • 问题描述:比如 “在xxx场景下输入法无法顶起底部布局”,必要时可提供代码,贴图等。
  • Log提供:过滤 PanelSwitchLayout,提供异常场景下的 log 信息

由于机型反馈的问题很多都是机型兼容/开发者API使用不当导致的,定位问题比较难。
希望反馈者能针对上述要求提供对应信息,否则很难帮助您定位到具体问题,望理解。

update 2022/01/19 :
大家的问题反馈多数是文字表达,框架接入业务之后出现的缺陷希望能够附带缺陷场景视频及业务实现逻辑,以方便协助定位问题。

Activity

  1. pinned this issue on Jun 28, 2020
  2. added
    Issue须知提 Issue 前阅读规范
    and removed
    help wantedExtra attention is needed
    on Jul 6, 2020
  3. YummyLau commented on Nov 9, 2020

    @YummyLau
    CollaboratorAuthor

    提供的 log 至少包含

    2020-11-09 15:18:53.712 27328-27328/com.example.demo D/LogTracker: PanelSwitchLayout(194659349)#onLayout => 界面每一次 layout 的信息回调 
        layoutInfo                                         = onLayout(changed : false , l : 0  , t : 0 , r : 1440 , b : 2873) ===================&&&&================= 
        currentPanelState                                  = 收起所有输入源 
        isPad                                              = false 
        isFullScreen                                       = false 
        isPortrait                                         = true 
        isNavigationShown                                  = true 
        screenH (static,include SystemUI)                  = 3040 
        screenH (static,exclude SystemUI)                  = 2874 
        screenH (dynamic,exclude SystemUI)                 = 2873 
        localLocation[y]                                   = 114 
        toolbarH                                           = 0 
        StatusBarH                                         = 114 
        NavigationBarH                                     = 53 
        layout Location                                    = (0,114) 
        paddingTop                                         = 0 
        keyboardH                                          = 1285 
        ContentContainerTop                                = 0 
        ContentContainerH                                  = 2873 
        PanelContainerTop                                  = 2873 
        PanelContainerH                                    = 1285 
        changeBounds                                       = true 
        reverseResetState                                  = true 
        contentContainer Layout                            = (0,0,1440,2873) 
        panelContainer Layout                              = (0,2873,1440,4158) 
    
    2020-11-09 15:18:53.714 27328-27328/com.example.demo D/LogTracker: PanelSwitchLayout(194659349)#onGlobalLayout => 界面每一次变化的信息回调 
        windowSoftInputMode                                = 19 
        currentPanelSwitchLayoutVisible                    = true 
        screenHeight                                       = 3040 
        contentHeight                                      = 2873 
        isFullScreen                                       = false 
        isNavigationBarShown                               = true 
        deviceStatusBarH                                   = 114 
        deviceNavigationBarH                               = 53 
        systemInset                                        = left(114) top(0) right(0) bottom(53) 
        inset                                              = left(0) top(114) right(0) bottom(53) 
        currentSystemInfo                                  = statusBarH : 114, navigationBarH : 53 全面屏手势虚拟栏H : 0 
        currentSystemH                                     = 167 
        minLimitCloseKeyboardH                             = 53 
        minLimitOpenKeyboardH                              = 300 
        lastKeyboardH                                      = 0 
        currentKeyboardInfo                                = keyboardH : 0, realKeyboardH : 0, isShown : false 
    
    
  4. changed the title [-]=> 提 Issues 前阅读须知 <=[/-] [+]=> 提 Issues 前阅读须知 <= (功能讨论前往隔壁 Discussions)[/+] on Dec 11, 2020
  5. chenciyaun commented on Jun 20, 2023

    @chenciyaun

    当采用今日头条的兼容适配方案时,底部的虚拟返回键会挡住部分输入框的布局。原因是计算虚拟键的高度计算错误,建议采用系统的资源的API Resources.getSystem() 来获取虚拟返回键的高度,而不是当前的上下文。这个坑很浪费时间定位呀,恳请兼容一下。

  6. zhangzhen1129 commented on May 30, 2024

    @zhangzhen1129

    版本更新 能否 updatelog 说明那

  7. 15359947959 commented on May 30, 2024

    @15359947959
  8. mlp1995 commented on Oct 20, 2025

    @mlp1995

    页面有很多个输入框应该如何处理

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue须知提 Issue 前阅读规范

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions