Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Aug 9th, 2012  |  syntax: None  |  size: 0.78 KB  |  hits: 18  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. android button above keyboard with just a scrollview and relativeview
  2. <ScrollView>
  3. <RelativeView>
  4. ...
  5. </RelativeView>
  6. </Scrolview>
  7.        
  8. <RelativeView>
  9. <button />
  10. <ScrollView>
  11.      <RelativeView>
  12.      </RelativeView>
  13. </ScrollView>
  14. </RelativeView>
  15.        
  16. Add **adjustResize** or  **adjustPan**  in your manifest file.
  17.  
  18.  
  19.  
  20.          <application
  21.             android:icon="@drawable/icon"
  22.             android:label="@string/app_name" >
  23.             <activity
  24.                 .....
  25.                 android:windowSoftInputMode="adjustResize" >
  26.                 <intent-filter >
  27.                     <action android:name="android.intent.action.MAIN" />
  28.  
  29.                     <category android:name="android.intent.category.LAUNCHER" />
  30.                 </intent-filter>
  31.             </activity>
  32.     </application>