Fixes #3679: Issues with new media details UI (#3697)

This commit is contained in:
Kshitij Bhardwaj 2020-04-25 05:34:28 -04:00 committed by GitHub
parent 707e3145c2
commit 82bf2d757f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 77 additions and 15 deletions

View file

@ -40,13 +40,24 @@
<!-- Placeholder. Height gets set at runtime based on container size; the initial value is a hack to keep
the detail info offscreen until it's placed properly. May be a better way to do this. -->
<LinearLayout
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="@dimen/dimen_250"
android:orientation="vertical"
android:background="@android:color/transparent"
android:id="@+id/mediaDetailImageViewSpacer"
/>
android:layout_height="wrap_content" >
<com.facebook.drawee.view.SimpleDraweeView
android:id="@+id/mediaDetailImageViewLandscape"
android:layout_width="match_parent"
android:layout_height="@dimen/dimen_250"
app:actualImageScaleType="none"
android:visibility="gone" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="@dimen/dimen_250"
android:orientation="vertical"
android:id="@+id/mediaDetailImageViewSpacer" />
</FrameLayout>
<LinearLayout
android:layout_width="match_parent"
@ -54,8 +65,6 @@
android:background="?attr/mainBackground"
android:orientation="vertical">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"