Articles

Affichage des articles associés au libellé ajouter photot dans activiter android

Comment ajouter une image dans Alert Dialog Builder sur Android Studio

Image
Comment ajouter une image dans  Alert Dialog Builder sur  Android  Ajouter  une image dans Alert dialog Builder sur android studio est très facile. Suivez ces étapes. Etape 1: Créer l'interface. Créer un fichier .XML appelé le CUSTON_LAYOUT.xml ajouter ses lignes de  code: <? xml version= "1.0" encoding= "utf-8" ?> <RelativeLayout xmlns: android = "http://schemas.android.com/apk/res/android" android :layout_width= "fill_parent" android :layout_height= "fill_parent" > <TextView android :id= "@+id/title" android :layout_width= "match_parent" android :layout_height= "50dp" android :background= "@color/colorAccent" android :gravity= "center_vertical" android :paddingLeft= "10dp" android :paddingRight= "10dp" ...