Set the category sheet's height according to its content. am: ffc2c9b81a am: 524c5663ad

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/WallpaperPicker2/+/11805458

Change-Id: Iea76da3b08257fd411e1d12ce23951d6822570a3