I'm new to Android Studio and i have been trying to get the button to work but on my device it wouldn't show but on my design page it's there but no errors show up.
the design layout
the code
the AVD
Remove either layout_marginTop
or layout_constraintVertical_bias
attribute from the Button, according to the design requirements. Bias moves the button to the very bottom of the screen, and margin moves it event lower, out of the visible are.
PS do not trust AS layout preview, it lies sometimes:)
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.