sliding-panel

项目地址:PierfrancescoSoffritti/sliding-panel 

简介:Android sliding panel that is part of the view hierarchy, not above it.

更多:作者   提 Bug

标签:

 

A ViewGroup that implements a sliding panel that is part of the view hierarchy, not above it.

Difference from other libraries

All other implementations of the bottom sheet pattern and sliding panel patternimplement a panel that sits above all the other Views of the app. When the panel is collapsed (but visible) the only way to set its position is by using a peek factor (its distance from the bottom of the screen).

With this library the sliding panel is placed exactly where it is supposed to be in the view hierarchy, just like it would be in a vertical (or horizontal) LinearLayout. It doesn't sit above other Views.

Overview

SlidingPanel is a ViewGroup exending FrameLayout.

It has exacly two children: a non sliding view and a sliding view.

  • The non sliding view is just a view that doesn't move, positioned as if SlidingPanel was a LinearLayout.
  • The sliding view is a View that can be dragged by the user. It slides over the non sliding view, both vertically and horizontally.

The sliding view can be collapsed or expanded.

  • When collapsed, the sliding view is exactly where it would be if SlidingPanel was a LinearLayout.
  • When expanded, the sliding view is positioned to exactly cover the non sliding view. (Therefore the maximum amount of movement allowed to the sliding view is equal to the height (or width) of the non sliding view)

sliding-panel相关推荐

  1. 好用的侧边栏菜单/面板jQuery插件

    我想大家都用过一些APP应用,它们的菜单展示是以侧边栏滑动方式展现,感觉很新鲜,而现在网页设计也是如此,不少网站也效仿这样的方式来设计.使用侧边栏的好处就是可以节约空间,对于一些内容多或者喜欢简约的网 ...

  2. Android 7.0 SystemUI 之启动和状态栏和导航栏简介

    Android 7.0 SystemUI 之启动和状态栏和导航栏简介 一.SystemUI 是什么 首先SystemUI 是一个系统应用,apk路径位于/system/priv-app 源码路径位于: ...

  3. SystemUI(一)基于Android9.0SystemUI的启动与定制化

    众所周知SystemUI包含基本的StatusBar.VolumeBar.NavigationBar等部分,在手机开机时就已经为我们加载好,但是有时候会出现对StatusBar,DropList等进行 ...

  4. SystemUI架构分析学习

    目录 1.SystemUI路径及概念介绍 2.SystemUI主要功能 2.1Status bars详解 2.2Notification流程 2.3Navigation bars详解 1.System ...

  5. jquery带缩略图轮播_带有jQuery和PHP的新鲜滑动缩略图库

    jquery带缩略图轮播 View demo 查看演示Download Source 下载源 In this tutorial we are going to create another full ...

  6. SystemUI系列之StatusBar

    在上一篇(https://blog.csdn.net/u011164827/article/details/102998091)分析到SystemUI的启动过程,现在分析StatusBar. 启动分析 ...

  7. 推荐:50个加强表单的jQuery插件

    Here we present some useful plugins and tutorials that will let you create awesome forms for your we ...

  8. 译 10 个 Flutter 组件推荐 – 4

    译 10 个 Flutter 组件推荐 – 4 原文 https://tomicriedel.medium.com/10-flutter-tips-season-2-part-2-10-4914084 ...

  9. 系统服务-SystemUI9.0(1)

    SystemUI总结 https://www.jianshu.com/p/1a1c53cc44c3 android 下拉状态栏(SystemUI)常见修改记录 https://blog.csdn.ne ...

最新文章

  1. 定制CentOS (Redhat AS 5.1)安装盘
  2. php fatal class ziparchive not found,php中Fatal error: Class ZipArchive not found的解决办法
  3. 构造函数 Create 与 析构函数 Destroy
  4. CodeForces - 1092F Tree with Maximum Cost(树形dp+树根转移)
  5. mongodb在aggregate lookup 进行分页查询,获得记录总数
  6. mysql按升序创建索引_MySQL 降序索引
  7. 浅说深度学习(4):增强学习
  8. python查找指定文件夹_python实现在目录中查找指定文件的方法
  9. c# 跨线程访问窗体UI
  10. ORACLE DELETE数据慢的案例
  11. 解决西门子Step 7 basic 找不到许可证问题
  12. sku mysql_MySQL-THINKPHP 商城系统二 商品模块的展示
  13. javaScript、PHP连接外卖小票机打印机方案(佳博、芯烨等)
  14. 如何才能提高团队工作效率
  15. 黑苹果系统的优化与问题解决(一)
  16. Spss-系统聚类手算实操
  17. python网上下载视频,音乐
  18. matlab如何画双x坐标,matlab画双坐标图
  19. Photoshop中的填充功能
  20. python读取图像的几种方法

热门文章

  1. PHP官方网站,php官方论坛,中文函数手册下载
  2. ThinkPad E14 原装 win11系统没有声音
  3. 多层数据包结构及TCP三次握手
  4. 不可用来编辑html的文件,没法设置和编辑版块、在首页不能编辑文章?
  5. 使用Eviews做简单线性回归
  6. 打造完美可随意安装的WinXP镜像
  7. 此计算机中未配置默认浏览器,电脑默认浏览器如何设置
  8. EMNLP2020 | 神经机器翻译精选论文解读
  9. 《电脑音乐制作实战指南:伴奏、录歌、MTV全攻略》——1.8 MIDI音乐录音前的音量设置...
  10. 2022年西式面点师(中级)报名考试及西式面点师(中级)免费试题