Activity Declaration and Keyboard Support

This lesson will cover how to declare activity and refine user interface for better keyboard support.

Activity declaration #

In the previous lesson, we created activity_login.xml layout. Now it’s time to create LoginActivity class and bind our layout to this activity by using setContentView method.

Get hands-on with 1200+ tech skills courses.