Ich möchte einen Dialog ohne Titel und ohne weißen Hintergrundwie man Dialogbox ohne Titel mak?
dies mein layoute
<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/Image"
android:id="@+id/fondBoxWin" />
I got the figure 1 And I want to get Figure 2
und dieser Java meinen Code
@Override
public Dialog onCreateDialog(int identifiant) {
Dialog box = null;
//En fonction de l'identifiant de la boîte qu'on veut créer
switch(identifiant) {
case MY_BOX :
box = new Dialog(this);
box.setContentView(R.layout.mybox);
break;
}
return box;
}
Danke, aziz – amirouche