mirror of
https://github.com/szkolny-eu/szkolny-android.git
synced 2024-11-24 10:54:36 -06:00
[UI] Fix attachments view cut off on API 30+.
This commit is contained in:
parent
b9aca981e5
commit
83f84de019
@ -80,6 +80,7 @@ class AttachmentsView @JvmOverloads constructor(
|
||||
list.adapter = adapter
|
||||
list.apply {
|
||||
setHasFixedSize(false)
|
||||
isNestedScrollingEnabled = false
|
||||
layoutManager = LinearLayoutManager(context)
|
||||
addItemDecoration(SimpleDividerItemDecoration(context))
|
||||
}
|
||||
|
@ -57,7 +57,7 @@
|
||||
android:visibility="visible"
|
||||
tools:visibility="gone"/>
|
||||
|
||||
<ScrollView
|
||||
<androidx.core.widget.NestedScrollView
|
||||
android:id="@+id/content"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0dp"
|
||||
@ -306,6 +306,6 @@
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
</ScrollView>
|
||||
</androidx.core.widget.NestedScrollView>
|
||||
</LinearLayout>
|
||||
</layout>
|
||||
|
Loading…
Reference in New Issue
Block a user