KO
|
EN
gitlite — search
Search
#python
#java
#python3
#arduino
#golang
#machine-learning
#rust
#html
#flask
#javascript
#seismology
#nodejs
InputView
★ 16
Open GitHub ↗
InputView是一个通用的输入控件
Download README (.md)
Explore Similar Repositories
json-table
:
Set of tools for converting JSON data into tables (HTML, XLSX, ASCII).
providers
:
Provider protocol, provider SDK and 1st party providers
python-module
:
A general quizbowl library and wrapper for the qbreader API, written in Python.
Notebooks-to-Packages
:
course material for the "Notebooks to Scripts to Packages" workshop as part of Princeton Wintersession 2023
SystematicReviewer
:
AI tools for doing systematic reviews of scientific literature
// repository documentation
Was this content helpful?
★ 0
(0 ratings)
Select Rating:
★
★
★
★
★
Submit Feedback
Recent Feedback
×
Download README
Do you want to download the
README.md
file for
InputView
?
Download (.md)
InputView是一个通用的输入控件 * 支持Activity和Dialog。 * 调整IME高度后运行动画。 * 可自定义编辑器的切换动画。 * 可自定义编辑器的View或Fragment。 * 实现Edge-to-Edge并提供相关的扩展函数。 * 解决EditText水滴状指示器导致动画卡顿的问题。 * 修改Android 11及以上IME动画的时长和插值器。 > IME的全称是Input Method Editors(输入法编辑器),因此将IME和底部视图统一称为Editor(编辑器)。 [InputView - 使用文档](https://www.yuque.com/u12192380/khwdgb/pi0b7rdhvr16z7gm) [InputView - transform](https://www.yuque.com/u12192380/zl0316/aviy1ird40pcc0u5) [InputView - 常见问题](https://www.yuque.com/u12192380/zl0316/ggq72wvpocdempds) <br/> <br/> 1. 在根目录的settings.gradle添加 ``` dependencyResolutionManagement { repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS) repositories { mavenCentral() maven { url 'https://jitpack.io' } } } ``` 2. 在module的build.gradle添加 ``` dependencies { // 修改IME动画的属性、调用FLAG_FULLSCREEN的兼容方案,需要依赖inputview-compat def version = "1.3.8" implementation "com.github.xiaocydx.InputView:inputview:${version}" implementation "com.github.xiaocydx.InputView:inputview-compat:${version}" implementation "com.github.xiaocydx.InputView:inputview-transform:${version}" } ``` #### 切换编辑器和调整IME高度 https://user-images.githubusercontent.com/43429149/213995075-bfdf23a0-e758-4230-bca4-97701cb9a234.mp4 #### 手势导航栏Edge-to-Edge 当前是手势导航栏时,对Emoji编辑器添加paddingBottom和增加高度,滚动时内容绘制在paddingBottom区域,滚动到底部时留出paddingBottom区域,内容不会被手势导航栏遮挡。 https://user-images.githubusercontent.com/43429149/213995177-2b7cc060-d44a-463c-856b-2aaa28c44dcf.mp4 #### 复杂的切换场景 InputView可用于编辑类页面的复杂切换。 https://github.com/xiaocydx/InputView/assets/43429149/bb74c0ba-b1bc-4a4d-9c3a-d6c67c7752c9