mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-23 18:15:22 +00:00
Fix non-collapsing layout when scrolled from horiz recyclerview
Fixes #7042 // FREEBIE
This commit is contained in:
parent
5a607918d2
commit
9fa4ba126b
@ -75,6 +75,7 @@
|
||||
android:padding="16dp"
|
||||
android:text="@string/recipient_preference_activity__shared_media"
|
||||
android:visibility="gone"
|
||||
android:focusableInTouchMode="true"
|
||||
style="?android:attr/preferenceCategoryStyle"
|
||||
android:textColor="@color/textsecure_primary"/>
|
||||
|
||||
|
@ -8,6 +8,6 @@
|
||||
android:paddingLeft="16dp"
|
||||
android:paddingStart="16dp"
|
||||
android:clipToPadding="false"
|
||||
android:nestedScrollingEnabled="true"
|
||||
android:nestedScrollingEnabled="false"
|
||||
android:scrollbars="none"/>
|
||||
</merge>
|
@ -51,7 +51,7 @@ public class ThreadPhotoRailView extends FrameLayout {
|
||||
this.recyclerView = ViewUtil.findById(this, R.id.photo_list);
|
||||
this.recyclerView.setLayoutManager(new LinearLayoutManager(context, LinearLayoutManager.HORIZONTAL, false));
|
||||
this.recyclerView.setItemAnimator(new DefaultItemAnimator());
|
||||
this.recyclerView.setNestedScrollingEnabled(true);
|
||||
this.recyclerView.setNestedScrollingEnabled(false);
|
||||
}
|
||||
|
||||
public void setListener(@Nullable OnItemClickedListener listener) {
|
||||
|
Loading…
Reference in New Issue
Block a user