Soft KeyBoard query

Put problem concerning Views, Layouts and other XML-Resources (like AndroidManifest) here.

Soft KeyBoard query

Postby revanth » Thu Feb 11, 2010 10:24 am

Hi all,

I am trying to show the soft keyboard always in landscape mode. How can i do...any one please..
revandroid
revanth
Freshman
Freshman
 
Posts: 6
Joined: Wed Apr 29, 2009 3:51 pm
Location: Bangalore

Top

Postby jonw » Thu Feb 11, 2010 4:17 pm

Just the keyboard, I dunno, but for the Activity (which is probably what you want):

http://developer.android.com/guide/topi ... ement.html

Syntax: [ Download ] [ Hide ]
Using xml Syntax Highlighting
  1. <activity
  2.          android:screenOrientation=["unspecified" | "user" | "behind" |
  3.                                     "landscape" | "portrait" |
  4.                                     "sensor" | "nosensor"]
  5. ...
  6.  
Parsed in 0.001 seconds, using GeSHi 1.0.8.4


or

Code: Select all
setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE)


... should work ;)
User avatar
jonw
Junior Developer
Junior Developer
 
Posts: 24
Joined: Wed Feb 10, 2010 9:00 pm
Location: London

Top

Return to View, Layout & Resource Problems

Who is online

Users browsing this forum: No registered users and 5 guests