My Dialog Layout enthält:Warum gilt fill_parent nicht für Dialoge?
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical">
Der Dialog erscheint immer noch als als sein Inhalt klein.
ich tun musste:
dialog.getWindow().setLayout(LayoutParams.FILL_PARENT, LayoutParams.FILL_PARENT);
... in der der onCreateDialog Rückruf, um den Bildschirm zu füllen.
Ich kann keinen Verweis auf dieses Verhalten auf der Google Dev-Website finden.
können Sie die vollständige XML-Datei teilen – Ishu