【发布时间】:2016-06-13 07:24:34
【问题描述】:
在弹出窗口上显示浏览器时遇到问题。 想要在实际上是一个弹出窗口的 viewpager 上显示多个图像。但无法移除窗口的侧边空间。
浏览器
<android.support.v4.view.ViewPager
android:id="@+id/pager"
android:layout_width="match_parent"
android:layout_height="wrap_content"
xmlns:android="http://schemas.android.com/apk/res/android" />
图像视图
<com.utility.TouchImageView
android:id="@+id/imgDisplay"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:scaleType="fitCenter"
xmlns:android="http://schemas.android.com/apk/res/android" />
【问题讨论】:
-
请上传您的布局xml
-
您使用的是 popupWindow 视图还是 Dialog 视图?
-
使用 DialogFragment 代替 PopupWindow。
-
我在警告对话框中尝试过这个
标签: android popupwindow