Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
ボタンの画像に scaleType を使用するにはどうすればよいですか? drawableTop (下にテキストがある画像) のボタンを使用しています。画像があり、ボタンの境界に合わせたい (現在、大きすぎて収まらず、切り捨てられた画像になる) ボタンの scaleType 属性がないので、どうすればよいですか?
ありがとうございました
必要なのは、ボタンの背景として使用する Android 9 パッチ イメージです。
ここに良いチュートリアルがあります
こちらもご覧ください
それが理にかなっていれば、テーブルをテーブルの中に入れて、全体の高さの 100% に広げようとしています。
<table width="800" border="2"> <tr> <td width="66%"> box 1 </td> <td width="10" rowspan="2" /&g