Commit 92fcee4a authored by Varun Patil's avatar Varun Patil

Fix background color of body fragment

parent d3fcf200
...@@ -4,7 +4,8 @@ ...@@ -4,7 +4,8 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:orientation="vertical" android:orientation="vertical"
tools:context=".fragment.BodyFragmentNew"> tools:context=".fragment.BodyFragmentNew"
android:background="?attr/themeColor">
<android.support.design.widget.CoordinatorLayout <android.support.design.widget.CoordinatorLayout
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
...@@ -25,7 +26,8 @@ ...@@ -25,7 +26,8 @@
<RelativeLayout <RelativeLayout
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_width="wrap_content" android:layout_width="wrap_content"
app:layout_collapseMode="parallax"> app:layout_collapseMode="parallax"
android:background="?attr/themeColor">
<ImageView <ImageView
android:id="@+id/body_picture" android:id="@+id/body_picture"
...@@ -33,7 +35,9 @@ ...@@ -33,7 +35,9 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:adjustViewBounds="true" android:adjustViewBounds="true"
android:scaleType="centerCrop" android:scaleType="centerCrop"
android:transitionName="sharedAvatar" /> android:transitionName="sharedAvatar"
android:background="?attr/themeColor" />
</RelativeLayout> </RelativeLayout>
</android.support.design.widget.CollapsingToolbarLayout> </android.support.design.widget.CollapsingToolbarLayout>
</android.support.design.widget.AppBarLayout> </android.support.design.widget.AppBarLayout>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment