Reputation: 125
I have created a dialog and got a problem that only part of the items in the list can be displayed in the layout. The others can only be seen after scrolling the listview and the below images are the effect when the dialog is shown.
The dialog is an alert dialog, and I create it by using the alert.builder, and the layout of this is LinearLayout
. Any ideas?
Upvotes: 2
Views: 138
Reputation: 611
You can create another class that extends dialog and overrides the method onstart()
. There you can do your stuff....and this is not affected your main activity.
Upvotes: 2