Fix artist detail activity and a landscape bug

This commit is contained in:
Karim Abou Zeid 2018-04-28 00:55:27 +02:00
commit 55146753f2
4 changed files with 10 additions and 5 deletions

View file

@ -157,7 +157,10 @@ public class AlbumDetailActivity extends AbsSlidingMusicPanelActivity implements
private void setUpObservableListViewParams() {
toolbarColor = DialogUtils.resolveColor(this, R.attr.defaultFooterColor);
headerViewHeight = getResources().getDimensionPixelSize(R.dimen.title_view_height);
headerViewHeight = getResources().getDimensionPixelSize(R.dimen.detail_header_height);
if (headerViewHeight == 0) {
albumArtImageView.setVisibility(View.GONE);
}
}
private void setUpViews() {