Time for action - creating a SlidingDrawer

For this example, we'll be placing a SlidingDrawer widget on top of an image (I've once again chosen a photo of one of my friends as my background). For the handle of the SlidingDrawer, we'll make use of the line drawable XML file that was created for the TableLayoutActivity. For the content of the SlidingDrawer, we'll make use of the circle_layout resource.

  1. Open the res/layout/circle_layout.xml file in your editor or IDE.
  2. On the root element declaration, set the background attribute to black:
  3. Create a new layout ...

Get Android User Interface Development now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.