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 2.3.5 でランチャー サンプルを実行しています。
問題は、黒の背景でリストに追加するPullToRefreshListViewと、アイテム間の白いセパレーター (ディバイダー) が消えることです。
PullToRefreshListView
自分のアプリでもリンクのサンプルでも同じです。私たちを手伝ってくれますか?
以下のコードを適用してみてください。プログラムで動作しています。listview.getRefreshableView().setDividerHeight(0);
ListView に次のスタイルを適用してみてください:
<item name="android:cacheColorHint">@android:color/transparent</item>