fix ViewKeyActivity layout issue

This commit is contained in:
Vincent Breitmoser
2018-02-12 18:05:38 +01:00
parent 84d652be8b
commit 70590ad421

View File

@@ -6,21 +6,20 @@
android:id="@+id/main_content"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:fitsSystemWindows="true">
android:fitsSystemWindows="true"
>
<android.support.design.widget.AppBarLayout
android:id="@+id/app_bar_layout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/primary"
android:fitsSystemWindows="true"
android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar">
<android.support.design.widget.CollapsingToolbarLayout
android:id="@+id/collapsing_toolbar"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:fitsSystemWindows="true"
app:contentScrim="@color/primary"
app:expandedTitleMarginBottom="102dp"
app:expandedTitleMarginEnd="128dp"
@@ -31,7 +30,6 @@
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="238dp"
android:fitsSystemWindows="true"
app:layout_collapseMode="parallax">
<FrameLayout
@@ -41,7 +39,6 @@
android:layout_alignParentLeft="true"
android:layout_alignParentStart="true"
android:layout_alignParentTop="false"
android:fitsSystemWindows="true"
android:visibility="gone">
<ImageView
@@ -49,12 +46,9 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
android:adjustViewBounds="false"
android:baselineAlignBottom="false"
android:cropToPadding="false"
android:fitsSystemWindows="true"
android:focusable="false"
android:scaleType="centerCrop"
android:src="@mipmap/ic_launcher" />
android:scaleType="centerCrop" />
<!-- text protection scrim -->
<View