I have a Bitmap
(1538 x 2000) and set it as src
of ImageView
but when I run the app nothing shows up (but the activity background color), I read things about bitmap dimension limits, But if the problem is the limitation why I can view this bitmap by the gallery on the same device?
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent">
<ImageView
android:id="@+id/iv"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:scaleType="fitCenter"
android:adjustViewBounds="true"
android:src="@drawable/pic3"/>
</FrameLayout>
Any help will be appreciated