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. ffmpeg编译android 硬解码支持库 libstag
  2. android init.rc 修改方法---adb shell
  3. Android权威官方屏幕适配全攻略
  4. Andriod是什么
  5. Android高手进阶教程(八)之 ----Android
  6. Android(安卓)国际化笔记
  7. Android通过HttpURLConnection与HttpClie
  8. Android实现语音识别 && 讯飞平台语音识
  9. 学Android开发的人可以去的几个网站
  10. Android O/P/Q 版本如何预装 APK