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
.