Skip to content
This repository has been archived by the owner on Apr 19, 2023. It is now read-only.

Adding a padding to the top of the RecyclerView adds another header #4

Open
pianomar opened this issue May 14, 2019 · 0 comments
Open
Assignees
Labels
bug Something isn't working

Comments

@pianomar
Copy link

pianomar commented May 14, 2019

I have a RecyclerView that uses the library, adding a paddingTop and clipToPadding = false, adds an unwanted header to the top

<androidx.recyclerview.widget.RecyclerView
            android:id="@+id/countriesList"
            android:layout_width="0dp"
            android:layout_height="0dp"
            android:paddingTop="30dp"
            android:clipToPadding="false"
            app:layout_constraintBottom_toBottomOf="parent"
            app:layout_constraintEnd_toEndOf="parent"
            app:layout_constraintStart_toStartOf="parent"
            app:layout_constraintTop_toTopOf="parent"
            tools:listitem="@layout/country_list_item">
</androidx.recyclerview.widget.RecyclerView>

Screen Shot 2019-05-14 at 14 00 59

@shuhart shuhart self-assigned this May 16, 2019
@shuhart shuhart added the bug Something isn't working label May 16, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants