This is part of effort to migrate main_activity.xml to contraint layout #82. It includes the following changes:
remove main_frame and replace it with preview_container
do not explicitly set c_timer (countdown timer) height and let constraints take care of that
center gyroscope suggestions to the preview
use preview grid's height instead of preview's height to calculate the area on which to draw the preview grid, since preview
grid's height is the same as preview's height
use match_contraint instead of match_parent in preview_container as match_parent is not recommended practice for constraint layouts
This is part of effort to migrate
main_activity.xml
to contraint layout #82. It includes the following changes:main_frame
and replace it withpreview_container
c_timer
(countdown timer) height and let constraints take care of thatmatch_contraint
instead ofmatch_parent
inpreview_container
asmatch_parent
is not recommended practice for constraint layouts