[android-developers] Honeycomb (3.1) adjustResize behavior inconsistent with 2.1?
My activity has android:windowSoftInputMode=adjustResize and, in 2.1, the softKeyboard will resize the layout accordingly. In 3.1, however, I have not been able to get the same behavior: the soft keyboard will push EditText views, but not Button views. Same behavior on both the 10 inch Galaxy tab and the Motorola Xoom. I've reworked my layout several times trying to get it to be compatible with Honeycomb, to no avail. The soft keyboard will push up an EditText view, but not the buttons. Here are a couple variations I've tried for the layout: Using just LinearLayout - http://pastebin.com/qRh6xgM7 Using RelativeLayout - http://pastebin.com/94YinSZy The only related issue I've found is this: http://groups.google.com/group/android-developers/browse_thread/thread/59c7a97bb4569e3a/77facea6ccc94b3f?lnk=gstq=overlayed%20the%20edit%20area%20in%20webview%20when%20the%20hardware%20accelerate%20is%20enabled#77facea6ccc94b3f But disabling hardware acceleration had no effect for me. I also read the Android blog guide on making your app compatible with input methods, but didn't recognize any solution there. Am I doing something obviously wrong? Or is this a bug anyone has more info on? This is a crosspost for a Stack Overflow question: http://stackoverflow.com/questions/6599341/honeycomb-3-1-adjustresize-no-longer-working -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Set default theme colors for widgets?
Widget differ between devices: the Galaxy Tab, for instance, uses a bluish/teal color for highlighted tabs and for preference sub-text, whereas the Dell Streak uses a dark gray. Is it possible to set the default theme colors used by widgets? I've searched for and experimented with theme options for several hours now with no success. Where are these colors derived from? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] clearTaskOnLaunch behavior ambiguous
Reading the Android documentation and some of the answers here (and on StackOverflow) have left it ambiguous how clearTaskOnLaunch is supposed to behave, specifically: 1) Does clearing the activity stack mean literally erasing it, or having the activities cycle through onCreate() and finish()? 2) How is the root activity identified? Is it simply the one with the DEFAULT, LAUNCHER or MAIN intent filters? 3) Launching from home screen in the documentation means the OS home screen or applications list, correct? I.e. from not within an application. 4) Does clearTaskOnLaunch clear the activity stack whenever that activity is launched from the home screen, or just when that activity's process is started from the home screen? Because the docs indicate the former, but posts here indicate the latter. I guess this depends on what the definition of launch is? I've manipulated clearTaskOnLaunch in every way imaginable with absolutely no effect. I've placed it in my root activity in the manifest, then placed it in EVERY activity just to be sure, restarted my application after killing the process entirely, etc. My activity stack is simply not being cleared. Can anyone offer (or point me to) a complete overview on how to implement clearTaskOnLaunch? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en