From f17eace30191f17c93cb0ba466db3493fad6a46c Mon Sep 17 00:00:00 2001
From: hotlittlewhitedog <hotlittlewhitedog@gmail.com>
Date: Sat, 14 Oct 2017 20:22:28 +0200
Subject: [PATCH] Fix: card-covered

---
 app/src/main/res/layout/app_details2.xml | 25 +++++++++++-------------
 1 file changed, 11 insertions(+), 14 deletions(-)

diff --git a/app/src/main/res/layout/app_details2.xml b/app/src/main/res/layout/app_details2.xml
index 9fed0615a..c7428d958 100644
--- a/app/src/main/res/layout/app_details2.xml
+++ b/app/src/main/res/layout/app_details2.xml
@@ -1,14 +1,13 @@
 <?xml version="1.0" encoding="utf-8"?>
 <android.support.design.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
-    xmlns:app="http://schemas.android.com/apk/res-auto"
-    xmlns:tools="http://schemas.android.com/tools"
-    android:layout_width="match_parent"
-    android:layout_height="match_parent"
-    android:fitsSystemWindows="true"
-    tools:context="org.fdroid.fdroid.AppDetails2"
-    android:background="?attr/appDetailsBackground"
-    android:id="@+id/rootCoordinator"
-    >
+                                                 xmlns:app="http://schemas.android.com/apk/res-auto"
+                                                 xmlns:tools="http://schemas.android.com/tools"
+                                                 android:layout_width="match_parent"
+                                                 android:layout_height="match_parent"
+                                                 android:fitsSystemWindows="true"
+                                                 tools:context="org.fdroid.fdroid.AppDetails2"
+                                                 android:background="?attr/appDetailsBackground"
+                                                 android:id="@+id/rootCoordinator">
 
     <android.support.design.widget.AppBarLayout
         android:id="@+id/app_bar"
@@ -22,7 +21,8 @@
             android:layout_height="match_parent"
             android:fitsSystemWindows="true"
             app:contentScrim="?attr/colorPrimary"
-            app:layout_scrollFlags="scroll|exitUntilCollapsed">
+            app:layout_scrollFlags="scroll|exitUntilCollapsed"
+            app:expandedTitleMarginTop="24dp">
 
             <org.fdroid.fdroid.views.apps.FeatureImage
                 android:id="@+id/feature_graphic"
@@ -50,11 +50,8 @@
         android:layout_width="match_parent"
         android:layout_height="match_parent"
         app:layout_behavior="@string/appbar_scrolling_view_behavior"
-        app:behavior_overlapTop="40dp"
         app:layoutManager="LinearLayoutManager"
         tools:context="org.fdroid.fdroid.AppDetails2"
-        tools:showIn="@layout/app_details2"
-        >
-    </android.support.v7.widget.RecyclerView>
+        tools:showIn="@layout/app_details2" />
 
 </android.support.design.widget.CoordinatorLayout>