Modern mobile devices are basically meant to be rotated. There is actually two concrete and fairly different ways to handle it. Indeed, we can rotate the graphical interface of our activities because the user has rotated his/her phone, or we can do it programmatically to fit our needs. Thus, we will see both ways of handling rotation.
Once again, we will reuse the code from the
If you are only using built-in elements, they will all have a default look and feel for the landscape mode. Therefore, if you rotate the example used in the previous
AutoCompleteTextView example, you will see something looking like the following screenshot:
If you only have access to ...