maoruibin / maoruibin/maoruibin.github.com
一个垂直方向带阴影效果的 shape
Open
Nobody has claimed this yet.
- Dominant language
- HTML
- Stars
- 22
- Forks
- 4
- PR merge metrics
- No merged PRs in 30d
Description
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<gradient android:angle="270"
android:startColor="#12000000"
android:centerColor="#05000000"
android:centerY="0.4"
android:endColor="#02000000"/>
</shape>
这里的 centerY 和 centerColor 联合起来用于精细化控制渐变
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue body contains an Android XML shape using a vertical gradient, including centerY and centerColor, but it names no file or entry point. Start by checking where this snippet belongs in the blog and confirm the intended change with the maintainer. Done should be a clearly defined, published documentation update.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100