" Live as if you were to die tomorrow. Learn as if you were to live forever.. "
- Mahatma Gandhi
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" ... >
The outline of the layout is as follows .
In the above layout when the focus comes to the Date or Time EditText and the keypad appears, the keypad lifts the bottom image which is undesirable and looks bad (see the below Image)
I solved this problem by putting the android:windowSoftInputMode=”adjustPan|adjustResize” attribute in the manifest file in the activity tag of this layout as follows
<activity android:name=”.DateAndTime” android:windowSoftInputMode=”adjustPan|adjustResize” />
Mail (will not be published) (required)
Enter Captcha Code *
8 − = two
Burn Ignorance is a knowledge initiative by Mindfire Solutions
Subscribe to our mailing list to get the updates to your email inbox...