私はこのコードを持っています:
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
tools:context=".MainActivity" >
<EditText
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1"
android:hint="@string/tip_value" />
<EditText
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1"
android:hint="@string/tip_value" />
<EditText
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1"
android:hint="@string/tip_value" />
</LinearLayout>
EditText の高さに合わせて textSize を調整するにはどうすればよいですか?
大文字が編集テキストの高さ全体に及ぶことを意味します(linearLayoutのために異なるサイズになる可能性があります)
前もって感謝します。