android Programming Glossary: mthumbw
Fast Scroll display problem with ListAdapter and SectionIndexer http://stackoverflow.com/questions/3225092/fast-scroll-display-problem-with-listadapter-and-sectionindexer Drawable mOverlayDrawable private int mThumbH private int mThumbW private int mThumbY private RectF mOverlayPos custom values.. useThumbDrawable Drawable drawable mCurrentThumb drawable mThumbW mOverlayScrollThumbWidth mCurrentThumb.getIntrinsicWidth mThumbH.. 2 mCurrentThumb.setAlpha alpha 2 int left viewWidth mThumbW alpha ScrollFade.ALPHA_MAX mCurrentThumb.setBounds left 0 viewWidth..
Fast Scroll display problem with ListAdapter and SectionIndexer http://stackoverflow.com/questions/3225092/fast-scroll-display-problem-with-listadapter-and-sectionindexer private Drawable mCurrentThumb private Drawable mOverlayDrawable private int mThumbH private int mThumbW private int mThumbY private RectF mOverlayPos custom values I defined private int mOverlayWidth private int mOverlayHeight.. super context attrs defStyle init context attrs private void useThumbDrawable Drawable drawable mCurrentThumb drawable mThumbW mOverlayScrollThumbWidth mCurrentThumb.getIntrinsicWidth mThumbH mCurrentThumb.getIntrinsicHeight mChangedBounds true private.. alpha scrollFade.getAlpha if alpha ScrollFade.ALPHA_MAX 2 mCurrentThumb.setAlpha alpha 2 int left viewWidth mThumbW alpha ScrollFade.ALPHA_MAX mCurrentThumb.setBounds left 0 viewWidth mThumbH mChangedBounds true canvas.translate 0 y mCurrentThumb.draw..
|