Giter VIP home page Giter VIP logo

Comments (5)

MickaelRomaniello avatar MickaelRomaniello commented on July 19, 2024 4

Hello, so I fiexed it like this:

NestedScrollView with:
android:clipToPadding="true"
android:fillViewport="true"
android:fitsSystemWindows="true"

Inside constraint layout:
<androidx.constraintlayout.widget.ConstraintLayout
android:id="@+id/constraint"
android:layout_width="match_parent"
android:layout_height="wrap_content">

RecyclerView inside of ConstraintLayout
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/recyclerView"
android:layout_width="match_parent"
android:layout_height="0dp"
android:background="@color/colorWhite"
android:layout_marginTop="8dp"
app:layout_constraintBottom_toBottomOf="@+id/constraint"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/viewInTopOfRecycler" />

I did it like this and using this version of gradle.

implementation 'androidx.constraintlayout:constraintlayout:2.0.0-alpha4'

Hope it is useful!

from views-widgets-samples.

MickaelRomaniello avatar MickaelRomaniello commented on July 19, 2024

Have you fixed this issue? @DilipSinghPanwar cause I have the same.

Tried with:
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'

and

implementation 'androidx.constraintlayout:constraintlayout:2.0.0-beta1'

And this also because I know that there was an issue with it before.

Anyone knows how to fix it ?

from views-widgets-samples.

lainguyen92 avatar lainguyen92 commented on July 19, 2024

I got same issue. Anyone can help?

from views-widgets-samples.

fc9734ygn avatar fc9734ygn commented on July 19, 2024

I don't think you should set the android:layout_height of NestedScrollView child to match_parent it should be wrap_content

from views-widgets-samples.

raghunandankavi2010 avatar raghunandankavi2010 commented on July 19, 2024

Any update on this?

from views-widgets-samples.

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.