Tagged: Listview

0

ListView on ScrollView

Buat custom ListView tanpa fitur scroll. package al.akh.example.testing.view; import android.content.Context; import android.util.AttributeSet; import android.view.ViewGroup; import android.widget.ListView; public class ListViewNonScroll extends...

0

Custom Color Listview Selected

Pada res, buat file color_selector.xml <?xml version=”1.0″ encoding=”utf-8″?> <selector xmlns:android=”http://schemas.android.com/apk/res/android”>     <item android:state_pressed=”true” android:color=”#04b3d3″ />     <item android:state_selected=”true” android:color=”#048563″ />...