![[Android]ListViewで区切り線を消す方法](https://www.yukiiworks.com/wp-content/uploads/2019/04/android.jpg)
はじめに
AndroidのListViewを使ったときにListViewの区切り線を消す方法です。
カスタムビューを設定するのに邪魔だったのでメモしておきます。
一応環境はKotlinです。
解決方法
ListViewの要素にandroid:divider="@null"を加えます。
1 2 3 4 5 6 | <!-- サンプル --> <ListView android:id="@+id/listView" android:layout_width="match_parent" android:layout_height="match_parent" android:divider="@null"/> |
以上です。
![[realm][Android]relam導入時のエラー"configuration with name 'kapt' not found."について](https://www.yukiiworks.com/wp-content/uploads/2019/04/68747470733a2f2f71696974612d696d6167652d73746f72652e73332e616d617a6f6e6177732e636f6d2f302f36333036302f31363961343966382d623766622d613335612d353264342d6539653934373731383031302e6a706567-300x157.jpg)
![[Android]paddingしたListViewのスクロールバー位置の変更方法](https://www.yukiiworks.com/wp-content/uploads/2019/04/android-300x219.jpg)
![[Swift]UITableViewで余分なセルを表示しない方法](https://www.yukiiworks.com/wp-content/uploads/2019/04/swift-150x150.png)
![[DB2]ペンディング状態の解除](https://www.yukiiworks.com/wp-content/uploads/2019/03/code1211IMGL1494_TP_V4-150x150.jpg)
![[AltBeacon][Kotlin]Error while saving scan status to file: Cannot delete existing file.エラーについて](https://www.yukiiworks.com/wp-content/uploads/2019/10/android-studio-e1585186990750-150x150.jpg)
![[Laravel]name属性の配列要素をoldで取得する方法](https://www.yukiiworks.com/wp-content/uploads/2019/05/laravel-150x150.png)
![[Tips]LINEにてマークダウン方式で記載する](https://www.yukiiworks.com/wp-content/uploads/2019/11/line-icon-change-ver-6-5-0-150x150.jpg)

