Commit b0412b4f authored by Max Lv's avatar Max Lv

Replace image with gradient color

parent 7e94e25d
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle" >
<gradient
android:centerColor="@color/material_primary_300"
android:endColor="@color/material_primary_700"
android:gradientRadius="400"
android:startColor="@color/material_primary_300"
android:type="radial" >
</gradient>
</shape>
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content"> android:layout_height="wrap_content">
<ImageView android:layout_width="match_parent" <android.support.v7.widget.AppCompatImageView
android:layout_height="wrap_content" android:layout_width="match_parent"
android:layout_height="192dp"
android:orientation="vertical" android:orientation="vertical"
android:adjustViewBounds="true" android:adjustViewBounds="true"
android:scaleType="fitCenter" android:scaleType="fitXY"
android:src="@drawable/background_header"/> app:srcCompat="@drawable/background_header" />
<TextView xmlns:android="http://schemas.android.com/apk/res/android" <TextView xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/drawer_title" android:id="@+id/drawer_title"
......
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