Android AdjustViewBounds błąd?
Kiedy używam Androida: adjustViewBounds = „true” w moim xml imageView, nie działa. Jeśli umieściłem setAdjustViewBounds (true); w konstruktorach mojego ImageView działa dobrze. Jaka jest różnica, czy jest to błąd?
<ImageView
android:id="@+id/PageViewMainImage"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:scaleType="matrix"
android:adjustViewBounds="true"
android:visibility="invisible"/>