General :: Different Layouts For Portrait / Landscape?
Oct 17, 2013
Is it possible and if, then how, to achieve different layouts for portrait and landscape mode.
So basically whenever you rotate your screen (for the sake of example) in Nova launcher Prime, the layout could either separately be set up or it would switch from say 10x8 to like 8x10 or whatever you choose.
At the moment when you rotate the screen the portrait layout obviously looks pretty much messed up (see attachments for example of a messed up landscape layout).
View 4 Replies
Jan 23, 2010
I've seen references to being able to specify two separate layout xml files for an activity, one for Portrait and one for Landscape. I've not been to find any information on how to do that though. How do I specify for each activity which xml file is it's portrait layout and which is the Landscape layout? Is it also possible to specify different layouts for different screen sizes? If so, how is this done?
View 2 Replies
View Related
Nov 15, 2009
I have an app that I started in 1.6. It used images that were specific to portrait and landscape layouts. I put these in the corresponding drawable folders, for example:
drawable/image01,png
drawable-land/image01.png
when I created a new project with 2.0 it gave me the following folders. drawable drawable-hdpi drawable-mdpi drawable-lpdi. when I look at the documentation around these folders it all seems very straight forward. I assumed that you were able to create the following folders. drawable-hdpi-land drawable-mdpi-land drawable-lpdi-land
and everything would work as before. The image directory would swap automagically pulling the appropriately laid out image depending on your screen orientation. Unfortunately it does not. The SDK seems to get confused, and if I clean the project, the folders come up as poorly named.
View 3 Replies
View Related
Feb 4, 2012
Is there any launcher that allows to have different settings in landscape and portrait modes? It would be nice to set, for example, 10x7 grid in portrait and 7x10 grid in landscape and have different arrangement (and maybe different widgets) in both modes.
View 2 Replies
View Related
Aug 9, 2012
I'd like to have the following:
In Portrait mode: normal size keyboard in Landscape mode: big size keyboard, should use about 70 -80 % of the screen.
Currently I am using Hackers Keyboard, 4 Row, 70% size. There are 2 lines left to see, when typing.
Is there a way or an app so the android status bar (clock, battery, etc) is hidden when turning the phone from Portrait to Landscape so the whole screen can be used for typing?
ZTE Blade,
Swedish Snow
Android 2.3.5
View 1 Replies
View Related
Feb 15, 2013
Found a bug on CM10 Beta 1 by Ivendor for Samsung i9001. when tilting from portrait to landscape in text messaging half the keyboard turns black. Is there somewhere i can post this so that the people who can address it can see it? Or should i just try the dev forum for that rom?
View 3 Replies
View Related
Aug 3, 2010
Since the FROYO update some stuff is only in Lanscape and it's what I would call upside down. Is there a fix for that? Like Gmail and internet and some others I noticed. Other than that it's smokin fast and everything is working fine for me.
View 16 Replies
View Related
Nov 10, 2010
My app has a tabhost with four tabs, and now I'm trying to make nice layouts for landscape mode. In order to make use of additional horizontal space I want to put TabWidget at the right side of the screen, and of cource all tabs must be one under another (like in a column).
But when switching to landscape mode all tabs get aligned in a row, it looks quite ugly. How to fix that?
Screenshot is here: http://imgur.com/gPS1R.png
<?xml version="1.0" encoding="utf-8"?>
<TabHost xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@android:id/tabhost"
android:layout_width="fill_parent"
android:layout_height="fill_parent" >
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<FrameLayout
android:id="@android:id/tabcontent"
android:layout_width="wrap_content"
android:layout_height="fill_parent"
android:layout_weight="1">
<include layout="@layout/filter_wizard"/>
<include layout="@layout/filter_wizard"/>
<include layout="@layout/filter_wizard"/>
<include layout="@layout/filter_wizard"/>
</FrameLayout>
<TabWidget
android:background="#75ffffff"
android:id="@android:id/tabs"
android:layout_width="wrap_content" android:orientation="vertical"
</LinearLayout>
</TabHost>
View 1 Replies
View Related
Jun 8, 2010
My Evo seems to have a very strong preference for landscape view. Any time I am not holding the phone completely straight up it drops to landscape. Then even if I do push it back straight up it doesn't wanna go back to portrait view. Has anyone else experienced this and are there any tricks to get rid of the problem?
View 8 Replies
View Related
Mar 26, 2012
there are those of us, who due to whatever reason (helmet cams, preference for posture, etc) want to record videos in portrait mode.
What happens (on my sgs2) is that the video records just fine in whatever resolution I pick... but it records it 90 degrees rotated to the right.
The solution that is usually offered is that "you can rotate it after!" yes... but then you have to CROP part of the image and lower the resolution. 1920 x 1080 recordings end up having to be cropped so that half of the view is cut out , or even more if you are maintaining a real aspect ratio.
The questions about "why not just hold it sideways", are just as pointless as the statement by steve jobs telling iphone4 users that they were holding their phones wrong.
is this something that can be remedied ? or has google decided that people should only record videos when their phones are in landscape mode?
i understand that we cant see landscape resolution in portrait mode; but can't we just have a viewport into the camera, but record in properly oriented landscape mode? so that playback on a computer will show the full resolution, even though we will only see part of it on the phone..
View 1 Replies
View Related
Dec 1, 2013
dialer in kitkat is always in landscape mode when call is ongoing....how can we set it in portrait mode
View 1 Replies
View Related
Apr 30, 2010
Other apps and such that use the accelerometer (eg. leveler) seem to be working fine.
View 1 Replies
View Related
Oct 12, 2010
I know if you change a android phone from portrait to landscape sometimes the app relays its self out on the screen.. so how do I simulate rotating a phone with the AVD? On the Blackberry emulators there's a button in the menu to turn the phone, but I can't find it or any option on the Android ones?
View 1 Replies
View Related
Apr 3, 2009
I want to display a table which would fit better in portrait view than in the landscape view. How do i instruct the emulator to change the orientation?
View 4 Replies
View Related
Sep 3, 2010
I have been trying to find some information if there is any way to adjust how sensitive the phone is to switch from portrait to landscape.I hate the fact that I have to shake my phone to get it to switch Other phones I have have used never were this stubborn before.
View 19 Replies
View Related
Jul 8, 2010
How did you support both landscape and portrait for appwidget? the layout of appwidget will never change when orientate the device from landscape to portrait. by the way, would you please tell me which device support both landscape and portrait for appwidget?
View 1 Replies
View Related
Feb 18, 2010
For changing from portrait to landscape mode i have done some changes in manifest.xml and included some code in test.java file
In manifest.xml i have included <activity_name android:configChanges="orientation"/>
i entered some data in portrait mode. but when i rotate my mobile from portrait to landscape the control goes to onConfigurationChanged() method.
public void onConfigurationChanged(Configuration newConfig) { super.onConfigurationChanged(newConfig); setContentView(R.layout.screen1_landscape);
}
View 3 Replies
View Related
Mar 31, 2009
When we try to implement orientation in AP layer, we can set "android:screenOrientation" parameter in AndroidManifest.xml file or call "setRequestOrientation()" method of Activity class. But if I want to porting android in new HW device, how can I do? Do I need to modify the graphic driver, or just add configuration in program. (Actually I do some experiments but my AP cannot rotate) Besides, can every experts tell me when I set the "android:screenOrientation" parameter, which process will read this configuration, pass to where and which process will do the rotation?
View 2 Replies
View Related
Dec 18, 2009
I'm trying to detect landscape vs portrait orientation with the following:
public void onSensorChanged(SensorEvent event) { float pitch = event.values[2];
if (pitch <= 45 && pitch >= -45) { // portrait }
else if (pitch < -45) { // landscape }
else if (pitch > 45) { // landscape } }
Anyone have something more robust? It works pretty well, except if the phone is in a landscape orientation and the user starts to 'flatten' it out, starts thinking it's in the portrait orientation again.
View 7 Replies
View Related
Sep 15, 2010
ne0fhyk has created an app (root required) that will allow you to choose which keyboard you want to use in each orientation. i've always felt the stock keyboard was far superior in landscape mode, while swype was ideal for portrait.
View 3 Replies
View Related
Jun 17, 2010
How to add rotation effect when change mode portrait to landscape? I want to make it smooth.
View 2 Replies
View Related
Sep 26, 2010
I made an app thats use the camera. The first problem i get was that i can't use portrait preview without the rotation 90º image. I used the solution (landscape for all), but now, only in the real device, when i start the app and i have the device in portrait mode it crashes (need to force close) and only after reboot the phone its possible to connect to camera, even in the camera app.
View 2 Replies
View Related
Mar 6, 2010
If I go through the following sequence then tap "Search Text" the keyboard will not display - is something broken?
1. Start in Portrait
2. Tap Browser
3. Tap Google Search
4. Input text
5. Tap desired Website
6. Rotate Hero to Landscape
7. Tap Menu
8. Tap More
9. Tap Find on Page
10. Tap "search text" - nothing happens!
The above works if I stay in Portrait and if I do not rotate to landscape until after step 9.
View 4 Replies
View Related
Jul 30, 2010
Flashed the CM6 RC1 Rom and have been running smooth as glass. Suddenly, it is crashapaloosa on me. I am betting it is the hinky Flash 10.1 that is doing it. It happens mostly when I switch from portrait to landscape view.
Also getting odd messages like "Unable to Log In". Not sure what it is logging into but apparently it can't. Anyone else having issues? Will try dumping Flash 10.1, also will try shutting down SetCPU and see if those don't help. Ah bugs ;-)
View 5 Replies
View Related
Jan 22, 2010
Do you use landscape or portrait mode? And which keyboard do you use to post, virtual or real, since the virtual one hides the screen for some reason? I posted this from my Droid, just to prove to myself that I could real keyboard, big hands no problemo. Few typos, but easily fixed. No worse than I do on a life-size keyboard at home.Droid looks to be about the size of a busines card next to my big thumb. I can still somehow peck the keys fairly quick.
View 10 Replies
View Related
Jul 6, 2010
I'm responding to an email and I rotate the phone to landscape mode. Once completed, I turn the phone upright and it remained in landscape mode. The only way to get it back was to hit the menu button. I rotated to landscape a few minutes later and now its stuck in that mode, and won't return to portrait at all. I tried removing the battery to no avail.
View 3 Replies
View Related
Jun 19, 2010
As u know, since android 1.6, there are not dirs on dirs like HVGA-L. Instead, there is only one dir like HVGA. That is, HVGA-P and HVGA-L are merged into one dir, HVGA. So, only HVGA can be selected and by default the emulator is started with portrait mode. Though I can press CTRL+F11/F12 to switch it to landscape mode, I do not like it. What I want is to start the emulator with default mode of landscape. Would anyone know how to do it?
View 3 Replies
View Related
May 5, 2010
Is there a screen orientation lock feature? I haven't seen it mentioned. In fact a search only turned up mention of it as a hardware button on the iPad. This would be great for using it while lying down, reclining, in the car.
View 2 Replies
View Related
Nov 10, 2010
While working on orientation change I have found that the onConfigurationChanged is not getting called when changing the orientation from portrait to landscape.But when I am changing from landscape to portrait the method is getting called. Is it the correct behavior because the onConfigurationChanged should by called whenever we are changing the orientation. (android:configChanges="orientation")? I have also found one strange behavior or error, When we are changing from portrait to landscape orientation the string value is displayed correctly(automatically by android system) but when in am changing the orientation from landscape to portrait the same string is displayed(i.e the string in landscape mode).The expected behavior is the string id specified in the portrait mode should be displayed.Is it an platform bug or something wrong in my code/programming.
View 2 Replies
View Related
Apr 28, 2010
Is anyone elses phone not flipping back and forth from portrait to landscape view when they rotate the phone? Ive check the settings and it is set to change orientation when phone rotates but for some reason it is not doing it.
View 29 Replies
View Related