Git Product home page Git Product logo

Comments (7)

AriesHoo avatar AriesHoo commented on June 16, 2024



<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.

AriesHoo avatar AriesHoo commented on June 16, 2024

image

from uiwidget.

AriesHoo avatar AriesHoo commented on June 16, 2024

image

from uiwidget.

AriesHoo avatar AriesHoo commented on June 16, 2024

图片顶部全白色的为TitleBarView

from uiwidget.

sceneren avatar sceneren commented on June 16, 2024

image

我用FastLib的demo试了下没问题,但是自己写的就有问题 不知道原因

from uiwidget.

AriesHoo avatar AriesHoo commented on June 16, 2024

你检查下版本是否最新,想你那种整个titleBar都不见了的情况确实还没有遇到过,之前只出现过文字被遮住显示不全的问题

from uiwidget.

sceneren avatar sceneren commented on June 16, 2024

版本是最新的,已经替换为com.gyf.immersionbar:immersionbar 来实现沉浸式就正常了

from uiwidget.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.