We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
<?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="wrap_content" android:fillViewport="true"> <ScrollView android:layout_width="fill_parent" android:layout_height="wrap_content"> <LinearLayout android:layout_width="fill_parent" android:layout_height="wrap_content"> <in.srain.cube.image.CubeImageView android:id="@+id/image_show" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_gravity="center" android:adjustViewBounds="true" android:scaleType="fitCenter" /> </LinearLayout> </ScrollView> </RelativeLayout>
我在Fragment里用这个布局去加载一张图片(目的是加载一张图片宽度填满屏幕宽度,高度可以滚动). 平板设备屏幕横向尺寸宽度 2560,第一次加载能正常显示,Fragment返回后再打开这个图片显示的Fragment就无法显示。 是否是因为缓存设置问题?(图片尺寸不设置为fill_parent 则不会出现这种问题)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
我在Fragment里用这个布局去加载一张图片(目的是加载一张图片宽度填满屏幕宽度,高度可以滚动).
平板设备屏幕横向尺寸宽度 2560,第一次加载能正常显示,Fragment返回后再打开这个图片显示的Fragment就无法显示。
是否是因为缓存设置问题?(图片尺寸不设置为fill_parent 则不会出现这种问题)
The text was updated successfully, but these errors were encountered: