am cff19c1a: Merge change 4539 into donut
Merge commit 'cff19c1a014284dce2577f82d931e4c65edd437e' * commit 'cff19c1a014284dce2577f82d931e4c65edd437e': Fixes #1925003. Make ListView honor the android:choiceMode XML attribute.
This commit is contained in:
committed by
The Android Open Source Project
commit
4fe0674c44
@@ -174,6 +174,8 @@ public class ListView extends AbsListView {
|
||||
setDividerHeight(dividerHeight);
|
||||
}
|
||||
|
||||
setChoiceMode(a.getInt(R.styleable.ListView_choiceMode, CHOICE_MODE_NONE));
|
||||
|
||||
mHeaderDividersEnabled = a.getBoolean(R.styleable.ListView_headerDividersEnabled, true);
|
||||
mFooterDividersEnabled = a.getBoolean(R.styleable.ListView_footerDividersEnabled, true);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user