9patch 배경을 가진 상대적 레이아웃 위에 텍스트가있는 ImageView를 그려야합니다.안드로이드는 ImageView의 일부만 그립니다.
내가 문자열에서 불과 3 특성을 보인다 : 전화
: 편집기에서
<?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="fill_parent"
android:background="@drawable/splash_last" >
<ImageView
android:id="@+id/imageView2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:layout_centerHorizontal="true"
android:src="@drawable/appnameimg" >
</ImageView>
</RelativeLayout>
나는이 있습니다.
내 실수는 어디에서 왔습니까?
UPD
이 배경 및 텍스트 이미지입니다. "나쁜"9patch 때문일 수 있습니까? link to images
당신이 다운로드 할 수있는 텍스트 이미지를 공유 할 수 더 나은 여기에서 당신에 맞게 수 있으며 내가 그것을 시도 할 수 있습니다 다른 옵션 중 하나 ? – havexz
실행중인 버전은 무엇입니까? 또한 이미지 파일을'drawable-hdpi' 폴더에만 넣었습니까? – havexz
나는 hdpi 자원 만 갖고있다. 내 안드로이드 버전 2.2 – Vbif