Bonjour à tous,
Voila j'essai de faire un simple rond dans un drawable pour l'appliquer à une vue/layout mais voilà le code a beau me paraitre simple, j'ai ce message d'erreur :
voici le code :Rendering Problems
Couldn't resolve resource @drawable/drawable_X
Failed to convert @drawable/drawable_X
Quelqu'un saurait me dire ce qui cloche svp?
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18 <?xml version="1.0" encoding="utf-8"?> <shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="oval"> <gradient android:type="radial" android:gradientRadius="20" android:centerX=".6" android:centerY=".35" android:startColor="#FFFF00" android:endColor="#FFFF99" /> <size android:width="100dp" android:height="100dp"/> </shape>
D'avance merci
Partager