Android Vector:为什么在这里切出一个圆?

问题描述

我有两个用于Android向量的XML文件,除了视图的大小外,它们对我来说看起来都是一样的。但是,在尺寸为1600 * 1600的XML文件中,在从中计算出的向量的中间切出一个圆。不与其他。有人知道这是为什么吗?

这是带有切出圆圈的XML文件

gcc -Wall -o "test" "test.c" (in directory: /home/amey)
test.c:4:17: error: expected ‘:’,‘,’,‘;’,‘}’ or ‘__attribute__’ before ‘=’ token
     int maxSize = 100;
                 ^
Compilation Failed.

这是没有切出圆圈的XML文件

<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="1600dp"
android:height="1600dp"
android:viewportWidth="1600"
android:viewportHeight="1600">
<path
    android:fillColor="#FF000000"
    android:strokeWidth="4"

    android:pathData="M800,0
                    a800,800 0 0,1 0,1600
                    a800,-1600
                    z
                    M800,100
                    a700,700 0 1,0 0,1400
                    a700,-1400
                    z"
    android:strokeColor="#000000"/>


</vector>

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)