this is an abuse of the recycler view, which is designed to show only a
suitable subset of the list, but (1) nested scrolling is ugly, and worse
in landscape, and (2) we aren't supposed to have thousands of profiles
profileListHeadArrow.startAnimation(AnimationUtils.loadAnimation(this, R.anim.rotate_180));
profileListHeadMore.setVisibility(View.VISIBLE);
profileListHeadMore.startAnimation(AnimationUtils.loadAnimation(this, R.anim.fade_in));
+ findViewById(R.id.nav_profile_list).setMinimumHeight(
+ (int) (getResources().getDimension(R.dimen.thumb_row_height) *
+ Data.profiles.size()));
}
private void collapseProfileList() {
profileListExpanded = false;
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:animateLayoutChanges="true"
- android:isScrollContainer="false"
+ android:nestedScrollingEnabled="false"
android:orientation="vertical"
android:visibility="gone">