我需要設置一個TextView我從波紋管XML使用照片的確切具體的一部分,但我設置的所有尺寸都是手工的,我需要是動態的,對於不同尺寸的手機:android - 設置一個TextView完全特定的照片部分?
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent">
<ImageView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:scaleType="fitXY"
android:src="@drawable/list_back" />
<TextView
android:id="@+id/CallCenter"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textColor="@android:color/background_dark"
android:textStyle="bold" />
</RelativeLayout>
可誰不喜歡我的回答人爲什麼至少告訴我? –