dd5c5cf8541ca41b70f396c4ee3152c069b2b72d |
|
07-May-2012 |
Mindy Pereira <mindyp@google.com> |
Use ALIGN_BOTTOM instead of ALIGN_BASELINE This certainly looks better Fixes b/6369828 When there are 2 chips/labels stacked top one is compressed Change-Id: I345bd5feec16a5d9352d4ad20dfb9725d76bb208
/frameworks/ex/chips/src/com/android/ex/chips/RecipientChip.java
|
b3e42aaf97e476719cede047394718fd001fd79b |
|
03-Oct-2011 |
Mindy Pereira <mindyp@google.com> |
Revert "Make the space part of the replacement image span." This reverts commit a1d52e9203ea3cdfc0d1c69a8a4f99445fdd5ca1 Also reverts later change: https://android-git.corp.google.com/g/#/c/138160/3 That was made to remove code that took into account having a space not covered by the span character. Fixes tests cases to respect the space character again. Change-Id: I96d52a5df4d01e757f72949cbcf3b1f582679a46
/frameworks/ex/chips/src/com/android/ex/chips/RecipientChip.java
|
a1d52e9203ea3cdfc0d1c69a8a4f99445fdd5ca1 |
|
23-Sep-2011 |
Mindy Pereira <mindyp@google.com> |
Make the space part of the replacement image span. This eliminates the need for manually adding extra spaces at the end. This also fixes bug:5323325 Chips sometimes have no spacing between them on deleting since now the space is ALWAYS deleted when the chip is deleted. Change-Id: I8923940a070bcc1ce6894af3efa1449e98aa4830
/frameworks/ex/chips/src/com/android/ex/chips/RecipientChip.java
|
97b873c0ba4f31b7e14abad8d873c35e66f7dc41 |
|
17-Aug-2011 |
Mindy Pereira <mindyp@google.com> |
Center text in chip; fix dropdown item spacing Part of bug:5162602 Alignment of elements in compose screen seems off (master/tot/prime) Change-Id: I6ed2063c164ff7dbe3aa7b030a500176b16eb301
/frameworks/ex/chips/src/com/android/ex/chips/RecipientChip.java
|
6f9f2858818228eaa1f2a2c562f4d2da6a4216b3 |
|
16-Aug-2011 |
Mindy Pereira <mindyp@google.com> |
Fix bugs with shrinking/expanding chips field. fixes Bug:5161746 Address chips lose chippiness after expanding/collapsing the textview Also, fixup change from @debunne: the field is textMultiline Change-Id: I379fe6a4833a9f08cad9168f22178ebd3492ac6e
/frameworks/ex/chips/src/com/android/ex/chips/RecipientChip.java
|
8b308552260807ba6611a4ab3bb23f0211608767 |
|
07-Jul-2011 |
Mindy Pereira <mindyp@google.com> |
Fix extra spaces that had been getting added when the user selectd/unselected a chip. This also prevents us from having to make an extra string and replace it as all we were REALLY doing was replacng the span. Also fixes the issue where we were leaving an extra space after deleting a chip by pressing the X. This was an off by 1 error. Change-Id: I9d2dbe4647119a64857766ee9b45207c6d365497
/frameworks/ex/chips/src/com/android/ex/chips/RecipientChip.java
|
b3f8574ad18184f5a9392fc7773863f59f9f5192 |
|
18-Jun-2011 |
Mindy Pereira <mindyp@google.com> |
Fix rotation crash. On orientation changed or activity paused/ restarted, the window and context were not being properly refreshed for this widget. This led to crashes when the user tried to show the alternates popup. The reason the context/ window were not being refreshed is that references were being held by the chips to one or both of these. The chips were also retaining references to the spannable, which caused issues in that the spannable was not being updated in the chips, and after a rotation, the chip would no longer be able to find where it had been attached to the spannable. To fix all these issus, I made the RecipientChip class a seperate, simple data holding class and allowed the RecipientEditTExtview to do the heavy lifting as it contains the correct contextual information. This has solved the crashes I had been seeing. Change-Id: I4123f7bb2a5195c084efa602c5409d87596275d7
/frameworks/ex/chips/src/com/android/ex/chips/RecipientChip.java
|