私は自分のアプリから背景イメージを作成し、描画可能な各フォルダ(低、中、高解像度)にイメージのコピーを追加してから、 main.xml EclipseでAndroidの背景イメージがEclipseで表示されるが、エミュレータではない
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical" >
<RelativeLayout
android:id="@+id/relativeLayout1"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="0.57"
android:background="@drawable/scrollviewtexture">
<TextView
android:id="@+id/textView1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentTop="true"
android:layout_centerHorizontal="true"
android:layout_marginTop="90dp"
android:text="Memorable"
android:textAppearance="?android:attr/textAppearanceMedium" android:typeface="sans"/>
<TextView
android:id="@+id/textView2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@+id/textView1"
android:layout_centerHorizontal="true"
android:text="(Swipe To Generate Password)"
android:textAppearance="?android:attr/textAppearanceSmall" android:textSize="5pt"/>
</RelativeLayout>
</LinearLayout>
を以下のように、背景画像も問題ありません示しているが、私はエミュレータで実行したときに表示されませんです。どこが間違っていますか?
PNG画像を使用しましたか? – sandalone
プロジェクトをきれいにして再実行しよう – Khan
'drawable'や' drawable-ldpi'、 'drawable-hdpi'、' drawable-mdpi'、 'drawable-hdpi'の中にイメージが実際に格納されているディレクトリとは何ですか? xhdpi'? –