View with user-adjustable dynamic size

0

I have a LinearLayout in which I need the user to dynamically adjust their size. Basically it would only be its height, the width being a fixed size, being match_parent .

The property where it would be changed is android:layout_height , using the onTouch method. Below is an image that best illustrates the idea:

The first idea is to identify the top and bottom edges of the border borders, then drag those borders to reduce the size of View >, so that it takes an ideal size according to the user. How could I do that?

    
asked by anonymous 04.04.2017 / 17:07

0 answers