7.3.3. dimens.xml

Figure 7.5 shows a table of the dimension resource names and values that we added to dimens.xml. Open dimens.xml in the res/values folder to display the resource editor for creating these resources. The line_imageview_height resource specifies the height of the ImageView that previews the line width in the LineWidthDialogFragment, and the color_view_height resource specifies height of the View that previews the drawing color in the ColorDialogFragment.

Image

Fig. 7.5 | Dimension resources used in the Doodlz app.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset