Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
com.ccwangluo.accelerator
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
sheteng
com.ccwangluo.accelerator
Commits
dd803151
Commit
dd803151
authored
Dec 30, 2016
by
Max Lv
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "Replace image with gradient color"
This reverts commit
b0412b4f
.
parent
b0412b4f
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
17 deletions
+4
-17
src/main/res/drawable/background_header.png
src/main/res/drawable/background_header.png
+0
-0
src/main/res/drawable/background_header.xml
src/main/res/drawable/background_header.xml
+0
-11
src/main/res/layout/layout_header.xml
src/main/res/layout/layout_header.xml
+4
-6
No files found.
src/main/res/drawable/background_header.png
0 → 100644
View file @
dd803151
277 KB
src/main/res/drawable/background_header.xml
deleted
100644 → 0
View file @
b0412b4f
<?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>
src/main/res/layout/layout_header.xml
View file @
dd803151
<?xml version="1.0" encoding="utf-8"?>
<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_height=
"wrap_content"
>
<android.support.v7.widget.AppCompatImageView
android:layout_width=
"match_parent"
android:layout_height=
"192dp"
<ImageView
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:orientation=
"vertical"
android:adjustViewBounds=
"true"
android:scaleType=
"fit
XY
"
a
pp:srcCompat=
"@drawable/background_header"
/>
android:scaleType=
"fit
Center
"
a
ndroid:src=
"@drawable/background_header"
/>
<TextView
xmlns:android=
"http://schemas.android.com/apk/res/android"
android:id=
"@+id/drawer_title"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment