ボタン内テキストをボタンの大きさによって縮小拡大し、
全テキストをボタン内に収まるようにしたいのですが、方法がわかりません
以下その部分のソースコードです
<Button android:id="@+id/btIce" android:layout_width="0dp" android:layout_height="wrap_content" android:layout_marginStart="8dp" android:text="@string/ice" android:singleLine="true" app:layout_constraintEnd_toStartOf="@+id/btPsychic" app:layout_constraintHorizontal_bias="0.5" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@+id/btNormal" />
このコードではボタン内テキストのおさまらない文章部分が”…”で表示されてしまいます
すべての文章を表示する方法を教えてください。
よろしくお願いします。
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2022/05/14 03:54
2022/05/14 07:12 編集