Image d'effet
Coder directement
<ImageView android: id = "@ + id / im_detelt" android: layout_width = "15dp" android: background = "@ drawable / bankground_blue" android: layout_marginLeft = "91dp" android: layout_height = "15dp" />
<? xml version = "1.0" encoding = "utf-8"?> <layer-list xmlns: android = "http://schemas.android.com/apk/res/android"> <item> <shape xmlns: android = "http://schemas.android.com/apk/res/android" android: shape = "oval" android: useLevel = "false"> <solid android: color = "@ color / blue"> </ solid > <size android: width = "15dp" android: height = "15dp"> </size> <padding android: bottom = "6dp" android: left = "2dp" android:right = "2dp" android: top = "6dp"> </padding> <line> </line> </shape> </item> <item> <shape android: shape = "rectangle"> <solid android: color = "@ color / white" /> </shape> </item> </layer-list>