Android 创建圆形背景图片
16lz
2021-01-23
1.再控件上设置
android:background="@drawable/index_notify_shape_teachersign_leftend"
2.在 drawble 下建立index notify_shape_teachersign_leftend.xml
xml中文件内容为:
<?xml version="1.0" encoding="utf-8"?>xmlns:android="http://schemas.android.com/apk/res/android"> android:radius="@dimen/radiu_teacher"/> android:color="#4d00479d"/> android:width="1px" android:color="#4df0f0f0"/>
更多相关文章
- 控件 -- WebView -- Android与JS交互
- android用于打开各种文件的intent
- Android--取得布局中指定控件的宽高
- Android oncreate中获取控件宽高
- Delphi XE5 for android 调用Java类库必看的文件
- android带图片的AlertDialog和文件管理器(代码)
- 控件 - ImageView