に消える:私は14だれでもに私のtargetSdkを変更するとImageViewのが示されていないいくつかの理由
TextViewには2.xで動作しますが、テキストが、私はこのような何かやりたいICS
を何が起こっているか知っていますか?
RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent" >
<ImageView
android:id="@+id/venueinformation_header_imageview"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentTop="true"
android:adjustViewBounds="true"
android:contentDescription="Venue Information Header"
android:src="@drawable/venueinformation_header_image" />
<TextView
android:id="@+id/venueinformation_header_textview"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:layout_alignParentTop="true"
android:gravity="right"
android:text="@string/venuinformation_header_label"
android:textSize="55sp" />
</RelativeLayout>
おかげ
あなたは、同じ画像を保持し、アプリで拡大縮小することができます。それはどんなサイズの画面でもうまく表示されるはずです。プロパティがscaletypeであると考えてください – Tony
スケールが小さいか、または重量/サイズが小さくなっていますか?制限がどこにあるのか不思議です。ありがとう。 – TryTryAgain
私は同じ問題を抱えていました - 画像が大きすぎました。余分なバイト数やピクセルが好きではないかどうかはわかりませんが、写真のサイズを小さくすることはできません。 – Keith