commit | 43de23e6297fd4287b9c2a26f1aa04d37ba6968d | [log] [tgz] |
---|---|---|
author | Yigit Boyar <yboyar@google.com> | Fri Feb 26 13:06:05 2016 -0800 |
committer | Yigit Boyar <yboyar@google.com> | Fri Feb 26 14:02:15 2016 -0800 |
tree | 8fd61f005353dd31414ccabf70fc11b34c545a03 | |
parent | 6dc05991fa2cb079feb0d7a4264bc9ec2ec19c26 [diff] |
Fix RecyclerView measure spec utility methods This CL fixes two issues with RecyclerView. * Its default measure spec method was ignoring the padding and was also taking complete space when its spec is AT_MOST. * Fixed the getSize method in LayoutManager where if the spec is AT_MOST, it could be ignored if there is also a mindWidth / minHeight. Bug: 27376820 Change-Id: I5764970fa31268fd98effee0f7bf8b4fd5f0824d