User3
User3

Reputation: 2535

Custom vertical ScrollBar through half part of a listview

I am trying to achieve something like this:

enter image description here

While I am aware of how to customize a ScrollBar, which can be achieved through shape drawables and styles and similarly the thumb, I am looking for an idea of how to place the scroll bar in between views on the left and right. any guidance would be highly appreciated.

Even a hint towards the right direction will do :)

Upvotes: 0

Views: 783

Answers (1)

shem
shem

Reputation: 4712

I'm not sure this going to work but maybe you can set you scroll bar view width to be very big (so it'll start from the list view edge and ended in the text view part).

But- I would recommend you to create a custom view for you scroll bar and implement it using scroll events on you list view, it'll be more flexible and you will be able to do things like dragging, change text size, etc...

Upvotes: 1

Related Questions