Fun GUI Tips
Making an Activity or Fragment Scrollable --> top level widget ScrollView containing a Linear Layout which then contains the rest of your interface
XML LAYOUT FILE<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" |
Here the ScrollView+Linear Layout combination contain a RelativeLayout that contains a Login interface with multiple View objects--> AFTER SOME SCROLLING |
Making Your Interface (when it contains EditText views,etc) NOT pop up the keyboard
XML LAYOUT FILE<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" |
Default is they keyboard will come up |
XML LAYOUT FILE WITH ADDED OPTIONS<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" |
Now keyboard does not pop up
|