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.
以下のコードは、アプリで GridView を作成するために使用するものです。しかし問題は、リスト セレクターの幅と高さがアイコンの幅と高さと等しくないことです (画像 1)。画像#2は、私が達成しようとしているものです。
使ってみてください
android:listSelector="@null"
または、独自のセレクターを作成できます。