A anaylor01 Well-Known Member Licensed User Longtime User Nov 11, 2012 #1 I have two buttons that I want to show upside down when the screen is rotated upside down.
Erel B4X founder Staff member Licensed User Longtime User Nov 11, 2012 #2 Does your device rotate the screen when it is upside down (most tablets will rotate the screen)? Upvote 0
A anaylor01 Well-Known Member Licensed User Longtime User Nov 12, 2012 #3 It does for other apps. Just not the one I wrote with B4A. Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Nov 12, 2012 #4 Make sure that 'Project - Orientations supported - Both' is checked. Which device are you using? Upvote 0
A anaylor01 Well-Known Member Licensed User Longtime User Nov 14, 2012 #5 Both is checked. I am using the Samsung Galaxy III Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Nov 14, 2012 #6 Are you sure that Samsung Galaxy 3 supports upside down orientation? I'm pretty sure it doesn't. You can check the manifest file generated. You will see that activities are marked with: android:screenOrientation="unspecified" This means that all orientations are supported. Upvote 0
Are you sure that Samsung Galaxy 3 supports upside down orientation? I'm pretty sure it doesn't. You can check the manifest file generated. You will see that activities are marked with: android:screenOrientation="unspecified" This means that all orientations are supported.
A anaylor01 Well-Known Member Licensed User Longtime User Nov 14, 2012 #7 It says "android:screenOrientation="unspecified". So does that mean it doesn't or does do upside down? Upvote 0
It says "android:screenOrientation="unspecified". So does that mean it doesn't or does do upside down?
Erel B4X founder Staff member Licensed User Longtime User Nov 15, 2012 #8 It means that all orientations are supported. Most phone devices support two orientations only. Upvote 0
A anaylor01 Well-Known Member Licensed User Longtime User Nov 15, 2012 #9 So why isn't it rotating when I turn it upside down? Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Nov 15, 2012 #10 Because most phones do not support this orientation. Upvote 0
A anaylor01 Well-Known Member Licensed User Longtime User Nov 15, 2012 #11 So is there anyway to turn the buttons or text upside down? Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Nov 16, 2012 #12 You can draw the text with Canvas.DrawBitmapRotated. Though it is quite complicated to apply it to the complete UI. Upvote 0
You can draw the text with Canvas.DrawBitmapRotated. Though it is quite complicated to apply it to the complete UI.