I'm currently trying to create a custom Seekbar without using xml, as the background images and progress bar need to be changed. This is what I have at the moment:
Drawable drawable = new BitmapDrawable(appState.images.get(Integer.parseInt(image))); this.setBackgroundDrawable(drawable); Drawable drawable2 = new BitmapDrawable(appState.images.get(Integer.parseInt(image_a))); this.setProgressDrawable(drawable2); this.setProgress(0);
But progressGrawable just sets to the full size of the Seekbar, and when I move my thumb from side to side, nothing happens. Does anyone have any ideas as I'm completely at a dead end.
source share