# \[Android\] Can you make a slide for the screen?

**URL:** <https://discourse.processing.org/t/android-can-you-make-a-slide-for-the-screen/35284>\
**Category:** Processing for Android\
**Created:** [February 19, 2022, 2:23am UTC](https://discourse.processing.org/t/android-can-you-make-a-slide-for-the-screen/35284 "2022-02-19T02:23:27Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![GWAK](https://avatars.discourse-cdn.com/v4/letter/g/13edae/32.png) [@GWAK](https://discourse.processing.org/u/GWAK)\
**Post date:** [February 20, 2022, 1:44am UTC](https://discourse.processing.org/t/android-can-you-make-a-slide-for-the-screen/35284/8 "2022-02-20T01:44:31Z")

</div>

@jafal@Chrisir

> [@Scrollbars up and down to change the positions of the text](https://discourse.processing.org/t/scrollbars-up-and-down-to-change-the-positions-of-the-text/13521/9):
>
> From the example you need to init the class and display the scroll bar This is the core line: // Get the position of the img1 scrollbar // and convert to a value to display the img1 image float img1Pos = hs1.getPos()-width/2; When you say println(img1Pos); you will see the values Now use this value before text() command: translate (0, img1Pos); text( „Hello“, 22, 100);

If you look at the link above, there is a ‘vertical’ source code made by ‘Chrisir’.

However, I wonder if it is actually made using this way. Is it to make vertical scrolling like this in ‘Android’? Or is there another way?

---

_[View the full topic](https://discourse.processing.org/t/android-can-you-make-a-slide-for-the-screen/35284)._
