CODEDRAGON ㆍDevelopment/Android
ListView (리스트 뷰)
· 뷰 객체들을 수직 방향의 목록 형태로 보여줍니다.
· 수직 스크롤을 지원합니다.
· 일반적으로 목록의 각 항목은 자료를 담는 뷰입니다.
· 여러 개의 아이템 중에 선택하는 기능을 넣을 때 자주 사용됩니다.
| 
   <LinearLayout 
 xmlns:android="http://schemas.android.com/apk/res/android" 
 android:orientation="vertical" 
 android:layout_width="fill_parent" 
 android:layout_height="fill_parent"> 
 <TextView 
 android:id="@+id/selection" 
 android:layout_width="fill_parent" 
 android:layout_height="wrap_content"/> 
 <ListView 
 android:id="@android:id/list" 
 android:layout_width="fill_parent" 
 android:layout_height="fill_parent" 
 android:drawSelectorOnTop="false" 
 /> 
 </LinearLayout>  | 
 
'Development > Android' 카테고리의 다른 글
| ViewFlipper (0) | 2018.01.02 | 
|---|---|
| Spinner (0) | 2018.01.02 | 
| 선택 위젯(Selection Widget) (0) | 2017.12.29 | 
| Log 클래스, Log 클래스의 5 Level 메소드 (0) | 2017.12.29 | 
| LayoutInflater (0) | 2017.12.28 |