0
Je suis en train de mettre mon fond LinearLayout à un drawable vectoriel, mais il n'est pas mise à l'échelle pour remplir toute la présentation, voici mon xml:Vector drawable pas mise à l'échelle
<LinearLayout
android:id="@+id/ideaBody"
android:layout_width="220dp"
android:layout_height="229dp"
android:background="@drawable/ic_greenbackground"
android:orientation="horizontal"
android:scaleType="fitXY">
et ce qui suit est mon vecteur xml ;:
<vector android:height="500dp" android:viewportHeight="297.0"
android:viewportWidth="210.0" android:width="500dp" xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillAlpha="0.42" android:fillColor="#008000"
android:pathData="M1.14,40.02h58.21v60.59h-58.21z"
android:strokeAlpha="0.76" android:strokeWidth="0.26458332"/>
merci
J'ai toute une gamme d'actifs de vecteur id complexe à importer de Inkscape si cette solution ne convient pas, merci –