diff --git a/main/src/main/java/com/yunbao/main/activity/EditUserHobbyActivity.java b/main/src/main/java/com/yunbao/main/activity/EditUserHobbyActivity.java index c34982a..d6ceed3 100644 --- a/main/src/main/java/com/yunbao/main/activity/EditUserHobbyActivity.java +++ b/main/src/main/java/com/yunbao/main/activity/EditUserHobbyActivity.java @@ -44,6 +44,7 @@ public class EditUserHobbyActivity extends AbsActivity { mCancel = findViewById(R.id.btn_cancel); adapter = new EditUserHobbyAdapter(); recyclerView.setAdapter(adapter); + recyclerView.setNestedScrollingEnabled(false); adapter.setOnItemClickListener(new OnItemClickListener>() { @Override public void onItemClick(List bean, int position) { diff --git a/main/src/main/res/layout/activity_edit_user_hobby.xml b/main/src/main/res/layout/activity_edit_user_hobby.xml index ebdbb9c..b010e82 100644 --- a/main/src/main/res/layout/activity_edit_user_hobby.xml +++ b/main/src/main/res/layout/activity_edit_user_hobby.xml @@ -34,45 +34,63 @@ app:layout_constraintStart_toStartOf="@+id/titleView" app:layout_constraintTop_toBottomOf="@+id/titleView" /> - + app:layout_constraintTop_toBottomOf="@+id/number"> + + + + + + +