You have greatly through this effect, or a similar effect
CodePudding user response:
<? The XML version="1.0" encoding="utf-8"?>XMLNS: aapt="http://schemas.android.com/aapt" & gt; Android: width="500 dp"
Android: height="500 dp" & gt;
Android: width="300 dp"
Android: height="100 dp"
Android: gravity="center"
Android: top="100 dp" & gt;Android: width="300 dp"
Android: height="100 dp"
Android: viewportWidth="300"
Android: viewportHeight="100" & gt;Android: pathData="https://bbs.csdn.net/topics/M150, L300 0, 0, 295, 10" & gt; Android: startColor="# 50 CCCCCC
"Android: endColor="# 30 CCCCCC
"Android: startX="150"
Android: startY="0"
Android: endX="300"
Android: endY="15"
Android: type="linear" & gt;
Android: width="300 dp"
Android: height="100 dp"
Android: bottom="100 dp"
Android: gravity="center" & gt;
Can refer to, can not directly use, the need to adjust
CodePudding user response:
preview