This question shows research effort; it is useful and clear
0
This question does not show any research effort; it is unclear or not useful
Bookmark this question.
Show activity on this post.
練習のために、ローカル DB から文字列を取得して listView に入れるアクティビティを作成しています。ただし、文字列の長さは、数文字から数文までさまざまです。今書いて、それらを取得してlistViewに配置できますが、すべての文字列が収まるわけではありません。文字列全体が収まるように、リストビューの各部分の高さを動的に選択できるかどうか/その方法に興味がありました。