En utilisant le thème ou ImageView ?
Réponses
Trop de publicités?
Aref Solaimany
Points
21
Ez way : copiez votre image à cet endroit : C:\Users\Your user name\AndroidStudioProjects\yourProjectName\app\src\main\res\drawable
et écrivez ce code dans votre fichier xml :
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:background="@drawable/background">
</RelativeLayout>
à la ligne 7, écrivez votre nom de fichier au lieu de background
et Tamam...
burnaut
Points
84
- Réponses précédentes
- Plus de réponses