Listview.setTextFilterEnabled(boolean):

Enables or disables the type filter window. If enabled, typing when this view has focus will filter the children to match the users input. Note that theAdapterused by this view must implement theFilterableinterface.

ListView.setItemsCanFocus(boolean):

Indicates that the views created by the ListAdapter can contain focusable items.

ListView.setChoiceMode (int choiceMode):

Defines the choice behavior for the List. By default, Lists do not have any choice behavior (CHOICE_MODE_NONE). By setting the choiceMode to CHOICE_MODE_SINGLE, the List allows up to one item to be in a chosen state. By setting the choiceMode to CHOICE_MODE_MULTIPLE, the list allows any number of items to be chosen.

ListView.setTranscriptMode (int mode):

Puts the list or grid into transcript mode. In this mode the list or grid will always scroll to the bottom to show new items.

TRANSCRIPT_MODE_DISABLED

TRANSCRIPT_MODE_NORMAL

TRANSCRIPT_MODE_ALWAYS_SCROLL

ListView.setStackFromBottom(boolean stackFromBottom):

When stack from bottom is set to true, the list fills its content starting from the bottom of the view.

更多相关文章

  1. 代码中设置drawableleft
  2. android 3.0 隐藏 系统标题栏
  3. Android开发中activity切换动画的实现
  4. Android(安卓)学习 笔记_05. 文件下载
  5. Android中直播视频技术探究之—摄像头Camera视频源数据采集解析
  6. 技术博客汇总
  7. android 2.3 wifi (一)
  8. AndRoid Notification的清空和修改
  9. Android中的Chronometer

随机推荐

  1. Android(安卓)执行 FFmpeg 命令
  2. Android——intent分享图片到微信好友、
  3. android的ImageSwitcher和TextSwitcher
  4. android 自定义 radiobutton 文字颜色随
  5. Android 海贼王连连看游戏源码
  6. Android 解析imei
  7. Android Material Design常规使用
  8. android 测试
  9. 【Android】选项卡使用
  10. Android(安卓)webview HitTestResult识别