android-orientation
Saving a backstack across orientation change
I am trying out using fragments with my tabhost for the first time and I am pretty impressed. That said, one of my tabs uses two fragments, first the user sees Fragment A and then if they hit a button[详细]
2023-04-12 18:45 分类:问答Android: Implement azimuth orientation sliding view
I am trying to create a ruler view based on azimuth compass orientation value. The idea is to place a small view at the bottom of a camera view which slides to the left or to the right according to th[详细]
2023-04-07 04:11 分类:问答best way to handle orientation change with bluetooth sockets
I\'m creating an app that has a bluetooth connection.I\'ve created a library that uses callbacks every time a connection is lost/failed/established/etc.Everything about the connection works just fine,[详细]
2023-04-04 03:38 分类:问答Android Activity, how to override manifest's android:configChanges with Java code?
I\'m coding a custom Activity class (using it as a super class for m开发者_如何学编程y other Activity classes) where it\'s overriding many default functionalities. One of these functionalities I want[详细]
2023-04-01 13:55 分类:问答Android Lock Orientation and Double Create
I want to make my application displayed only in portrait orientation, so I have put android:screenOrientation=\"portrait\" in the Activity tag in AndroidManifest.xml, and have put setRequestedOrientat[详细]
2023-03-28 18:46 分类:问答My views are being reset on orientation change
I have a small activity with an EditText and an imageview and a button. When you press the button it launches camera for result, and when it returns it changes the imageview to the picture you\'ve jus[详细]
2023-03-28 10:21 分类:问答Orientation Change Default Time Delay...?
I am wondering to kno开发者_开发百科w that what time a device approximately takes to change the orientation, when we rotate it. In my app when i rotate my phone device, it approximately takes 1 to 2 s[详细]
2023-03-25 23:08 分类:问答How to fix layout orientation to vertical?
How to fix layout orientation to portrait and do not allow changing from portrait to landscape during run tim开发者_开发技巧e?In your AndroidMainfest.xml file find the tags of the activities you wish[详细]
2023-02-27 06:14 分类:问答Restoring state of TextView after screen rotation?
In my app I have TextView and EditText. Both have data in it. When the screen orientation changes the data in the EditText remains, but TextView data is cleared.[详细]
2023-02-14 08:45 分类:问答Android VideoView orientation change with buffered video
I\'m trying to replicate the functionality of the latest YouTube app in the Android marketplace.When watching a video there\'s two separate layouts, one in portrait which provides additional info, and[详细]
2023-01-30 04:20 分类:问答