Comments (7)
<androidx.core.widget.NestedScrollView
android:layout_width="match_parent"
android:layout_height="match_parent">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:padding="@dimen/dp_margin_item">
<Button
android:id="@+id/btnTab"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="中间凸出的TabLayout"
android:textColor="@color/white" />
<Button
android:id="@+id/btnTest"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="测试RecyclerView" />
<Button
android:id="@+id/btnRecyclerViewStickyHeader"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="吸顶的RecyclerView" />
<Button
android:id="@+id/btnMvpRecyclerView"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="MVP RecyclerView"
android:textAllCaps="false" />
<Button
android:id="@+id/btn_choose_image"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="选择图片"
android:textAllCaps="false" />
<EditText
android:id="@+id/et_text"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="200dp"
android:hint="请输入内容" />
</LinearLayout>
</androidx.core.widget.NestedScrollView>
fast_layout_title_bar.xml 如下
<com.aries.ui.view.title.TitleBarView
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/titleBar_headFastLib"
android:layout_width="match_parent"
android:layout_height="@dimen/dp_title_height"
android:background="@color/colorTitleBackground"
app:title_actionTextColor="@color/colorTitleText"
app:title_dividerBackground="@color/colorTitleDivider"
app:title_dividerHeight="@dimen/dp_line_size"
app:title_leftTextColor="@color/colorTitleText"
app:title_rightTextColor="@color/colorTitleText"
app:title_titleMainTextColor="@color/colorTitleText"
app:title_titleSubTextColor="@color/colorTitleText"/>
我按照这个xml布局未出现你说的titleBar 被这遮住情况,不知你include 的layout如何的
from uiwidget.
from uiwidget.
from uiwidget.
图片顶部全白色的为TitleBarView
from uiwidget.
我用FastLib的demo试了下没问题,但是自己写的就有问题 不知道原因
from uiwidget.
你检查下版本是否最新,想你那种整个titleBar都不见了的情况确实还没有遇到过,之前只出现过文字被遮住显示不全的问题
from uiwidget.
版本是最新的,已经替换为com.gyf.immersionbar:immersionbar 来实现沉浸式就正常了
from uiwidget.
Related Issues (20)
- 混淆 HOT 1
- TitleBarView 横竖屏切换刘海屏适配问题 HOT 6
- 蒲公英扫描下载打开崩了 HOT 2
- 提一个小小的建议,关于UIActionSheetDialog的。
- CommonTabLayout的选中状态再点击onTabReselect 事件有误 HOT 1
- titlebarView能否考虑加入一个红点提示的功能 HOT 1
- 希望能支持Gradient背景渐变
- RadiusRelativeLayout滑动冲突 HOT 5
- RadiusTextView 在adapter里面动态设置背景色会出现复用问题 HOT 1
- RadiusTextView 支持ripple点击效果? HOT 4
- TitleBarView添加一个自定义视图后,没有办法删除 HOT 4
- SlidingTabLayout 点选 Tab 时并不会平滑滚动? HOT 2
- 选中字体大小变大后指示器不居中问题
- 关于字体选中放大缩小 向右滑动代码修正
- CommonTabLayout Indicator显示错误
- SlidingTabLayout 手势滑动很快下划线会出现问题
- Android10上底部有间距,不填充 HOT 2
- LoadingActivity问题 HOT 4
- loading内存泄漏
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from uiwidget.