Website in mobile landscape, keyboard layout issues - android

In a website I'm designing, I'm using the following layout to ask for a user's phone number:
This is fine on portrait orientation. However, on landscape orientation, at least with Android, I'm getting this:
I can save some space by maybe hiding the navigation bar, tweaking some pixels here and there, but still, this appears to be a sub-optimal user experience. I looked into orientation locking, but this works only for full-screen applications, or websites that have been added to the homescreen. Is there another way to prevent the keyboard from taking up more than 80% of the screen?

I think this is normal , the main issue is your mobile have a small screen

Related

Android - How to make an app displayed in a small screen while the rest of screen is still visible and clickable

I have a request to reduce my app screen size and the rest of the screen space are still visible and clickable for user.
It means when my app is running, user can click some icons or buttons outside of my application.
What I found are using such as Dialogs or Multiple Fragments. However, those solutions are useful when all are in your main activity. But in my case, the rest of the screen is from Home screen or other screens, not from my app screen.
Could someone have an idea for this kind of concept?
Here is my request concept image
Searching from internet
You don't need to do anything for this. Android supports splitt screen since Android 7.0.
Alternatively you can enable Picture-In-Picture mode for your app which is supported since Android 8.

Allowing Landscape mode for specific part of the app only

I'm developing an Android Application which is locked to portrait mode for phones. In one part of the application, the user can look at some nice Graphs. In this part (only), it would be nice to allow the user to change to landscape mode - if he wants to.
I know this would be quite simple if the Graphs were contained in their own activity, but unfortunately, they are not. They are shown by Fragments which in turn are shown in a somewhat complex Tab Layout.
In other words; I want to have to whole app locked to portrait mode except when the user is in a specific Fragment. Then I want to allow him to allow him to change to landscape mode (Not neccessarily by rotating the device, other solutions are welcome too). When the user navigates away from that part of the app from Landscape mode, the portrait mode should be restored.
Is there any way this can be achieved?
you can do it dynamically this way :
setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_UNSPECIFIED);

Only portrait orientation to a form on a FireMonkey Mobile Android application

I am developing a mobile app with Delphi XE5, Android platform.
I need one form in my mobile FireMonkey app to keep it's set orientation and not change when device is turned. Other forms however can change orientation when device is turned.
How can I accomplish this?
Delphi XE5 does not provide any setting on the form to do this, and one cannot make one form never rotate whilst others do. You can perhaps create a work-around solution but a lot of testing would be required to ensure it works on all devices. Probably not a good idea.
The FormPaint event is fired after the form repaints (when rotation is changed and other actions). The form Height & Width will give you the current size and if you have a list of devices form sizes you could work out whether the form is currently in portrait / landscape mode. You cannot force the form to another orientation, but you can hide controls and display a message.
Not easy and possibly not worth the effort.

My Android AIR app shows white screen when TextInput loses focus

That's pretty much sums up the question. I have an AIR Mobile Flex App project in FlashDevelop that is using views to show content. Everything works fine, I can add a TextInput or TextArea to the stage, select it (Soft Keyboard shows up then), type some text. But when I press enter or change focus to the other element to hide the keyboard, the screen turns completely white except for the text that has been entered in the field.
Now it becomes interesting. If I rotate my tablet to force the screen to adjust, the content becomes again visible. Sometimes it doesn't even show a white screen, but rather a pitch black one that shows a blank preview when looking at the list of the running apps.
I cannot grasp the logic besides this behavior. It seems that somehow screen just doesn't want to redraw.
UPD:
AIR verison: 3.1
Tested on HYUNDAI SmartPad H-SP701G, Android 4.0.4
UPD2:
Tested on SANSUI ETAB 801VP, still getting the same effect.
The problem is in your application configuration XML.
Check your tag.
Entering value of "auto" or "cpu" should fix the problem.
<renderMode>auto</renderMode>
In my case I set direct and this was the cause of the issue. Using direct render mode caused the application to not work on HTC Evo 3D and Samsung galaxy s3. It did work on HTC Desire though.

Android - force full screen soft keyboard

Is there any way I can force soft keyboard to appear in full screen mode, so that there are only 2 items on the screen:
Text content
Keyboard
?
Android 2.3
I think you are looking for fullscreen or extract mode
Link to Android documentation
EDIT I forgot to mention this
The final major mode is fullscreen or extract mode. This is used when
the IME is too large to reasonably share space with the underlying
application. With the standard IMEs, you will only encounter this
situation when the screen is in a landscape orientation, although
other IMEs are free to use it whenever they desire
As I understand there's no way to do such a thing so that it works consistently across all devices and soft keyboards (well, unless you implement your own but I think this would be very out of scope)

Categories

Resources