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.
Androidアプリでは、アダプターを使用してGridViewの行数にボタンの数を表示しています。最初の行の右隅にあるボタンをクリックすると、2行目のボタンが最初の行に移動し、2行目のボタンで最初の行のボタンが非表示になります. ボタンが動かないため、解決策を修正する必要があります。
誰でもこの解決策を修正するためのアイデアを提供できますか?
GridView で EditText 内にボタンを表示し、EditText の背景色を白に設定すると、GridView の最初の行のボタンをクリックしてもボタンが移動しません。
1.固定サイズ を使用しますButtons。
Buttons
2.それを処理する専門的な方法は、を使用してIcons Imagesいます。
Icons Images