Книга: Beginning Android

Slide and Scroll

Slide and Scroll

Android 1.5 introduces some new widgets, notably SlidingDrawer and HorizontalScrollView.

SlidingDrawer introduces a container akin to the one on the home screen used to hold the application icons. You control the image to use for the drawer “handle” and the contents to go in the drawer. You can also control the orientation, to determine if the drawer opens from the bottom or the side. Then, you can add listeners to monitor the state of the drawer, or toggle the state yourself, if desired.

As the name suggests, HorizontalScrollView works just like the original ScrollView except that it scrolls horizontally, not vertically.

Оглавление книги

Оглавление статьи/книги

Генерация: 1.055. Запросов К БД/Cache: 3 / 1
поделиться
Вверх Вниз