Used when the view doesn't have any bounds defined, such as a view that expands to the width of the display.
Gets the height of the view in dp.
Gets the width of the view in dp.