Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[功能建议] 新增隐藏关注按钮功能、全屏沉浸和定时退出功能调整 #57

Open
meolunr opened this issue Mar 18, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@meolunr
Copy link

meolunr commented Mar 18, 2024

功能建议

新功能建议/旧功能调整

功能描述

  1. 建议新增隐藏右侧控件栏中头像下方的「关注」按钮的功能;隐藏底部控件栏中类似「挑战」「相关搜索」「热榜」等控件的功能。(图1)
  2. 建议调整 定时退出 功能不在直播界面中生效。
  3. 建议调整 全屏沉浸 功能在首页滑动时可在状态栏和底部 Tab 栏上透明。(图2)

1
2

需要理由

1.头像下方的关注按钮易误触关注。「挑战」「相关搜索」「热榜」等均为引流,评论区界面顶部也有「相关搜索」这个控件。
关注按钮: com.ss.android.ugc.aweme.feed.quick.presenter.FeedAvatarPresenter # mFollowContainerView
挑战 / 相关搜索 / 热榜: com.ss.android.ugc.aweme.feed.adapter.VideoViewHolder # mBottomView & mBottomActionGroupContainer

2./3. 全屏沉浸定时退出 功能本质上还是为了避免烧屏。直播本身就是让用户不点击屏幕长时间观看的, 闲时退出 容易在用户长时间不点击屏幕观看直播时自动退出,将倒计时设置的过长又会影响在视频界面退出功能。

目前的 全屏沉浸 功能易造成视频裁剪,因此一个更好的方案应该是让视频页面滑动时可在状态栏和底部 Tab 栏上透明,这样既不影响视频裁剪,也避免状态栏和底部 Tab 栏长时间显示黑色,造成烧屏。
可参见 DestinyImm,推测是将状态栏和底部 Tab 栏的背景设置为透明后,在首页 ViewPager 每个页面的顶部和底部分别添加一个与状态栏高度和底部 Tab 栏同样高度的黑色 View,达到原本的显示效果,同时 ViewPager 在上下滑动时会在状态栏和底部 Tab 栏上透明,但似乎 DestinyImm 的细节做的不是很好。

@GangJust GangJust added the enhancement New feature or request label Apr 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants