diff options
author | SeongJae Park <sj38.park@gmail.com> | 2012-02-29 01:56:43 +0900 |
---|---|---|
committer | SeongJae Park <sj38.park@gmail.com> | 2012-02-29 10:48:11 +0900 |
commit | 95148495fc3d33e4ad4dcbdee83317422db94dbf (patch) | |
tree | e2d208062aea2f3dda777a8e7f5157b422a71cf3 /graphics/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | d7fa7deef9bc0cf22bf450fdb062327697c087c4 (diff) |
Set width of spinner's dropdown to fit on device
Commit for issue at
http://code.google.com/p/android/issues/detail?id=25916&colspec=ID%20Type%20Status%20Owner%20Summary%20Stars&start=100
[Problem]
Dropdown popup of Spinner become wider than device's width if selected
item's content's width is larger than device's screen.
[Cause]
Spinner just display dropdown popup with measured content's width
although measured content's width is wider than device's screen.
[Solution]
If calculated content's width is wider than device's screen, set width
of spinner's dropdown popup to fit on device.
Change-Id: I3276e5ff745c6ba1437c07fc55645d6b53fef89a
Signed-off-by: SeongJae Park <sj38.park@gmail.com>
Diffstat (limited to 'graphics/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions