相关疑难解决方法(0)

如何在android中创建环形可绘制?

使用此代码我只得到一个边框:

<shape
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:shape="ring"
    android:innerRadius="15dp"
    android:thickness="2dp"
    android:useLevel="false">
    <solid android:color="#4d4d4d" />

</shape> 
Run Code Online (Sandbox Code Playgroud)

如何制作如下图所示的戒指形状:

在此输入图像描述

android shape

23
推荐指数
3
解决办法
3万
查看次数

标签 统计

android ×1

shape ×1