Instead of popup to show letters, show private space icon on fast scrolling
Use spannableString to show the icon instead of regular letters for the private space icons. bug:304752744 Test manual: https://drive.google.com/file/d/1LFy4-bu69Kuo8eV4erjJOsbkiQJs09kC/view?usp=sharing Flag: None Change-Id: I149d7aba6b0a4fdafacd2684e56827c7e1b9d724
This commit is contained in:
1 parent
f15a96608a
commit
a1af2cee1c
6 files changed
+51
-21
No files matched your search
@@ -180,7 +180,7 @@ public class AllAppsRecyclerView extends FastScrollRecyclerView {
|
||||
* Maps the touch (from 0..1) to the adapter position that should be visible.
|
||||
*/
|
||||
@Override
|
||||
public String scrollToPositionAtProgress(float touchFraction) {
|
||||
public CharSequence scrollToPositionAtProgress(float touchFraction) {
|
||||
int rowCount = mApps.getNumAppRows();
|
||||
if (rowCount == 0) {
|
||||
return "";
|
||||
|
||||
Reference in new issue
Block a user