The issue with the progress indicator being visible by default has been there for a long time - since 3.something. 19.12.2011 4:08 пользователь "dashman" <[email protected]> написал:
> putting this line in the manifest solved the problem > > <uses-sdk android:minSdkVersion="4" > android:targetSdkVersion="11" <<<<<<<< > /> > > but i will look at the github link also... > > > for others migrating apps to 4.0...another gotcha > > if you have the following in your activity: > > requestWindowFeature(Window.FEATURE_INDETERMINATE_PROGRESS); > > you have to call the following right after the setContentView() > > setProgressBarIndeterminateVisibility( false ); > > > > > > On Dec 18, 6:32 pm, Harri Smått <[email protected]> wrote: > > Hi, > > > > Also, I was only referring to this document which gives easy to > implement support for both API level prior to 11 and 11+; > > > > http://developer.android.com/guide/topics/ui/actionbar.html > > > > Especially the "Adding the Action Bar" section. > > > > -- > > H > > > > On Dec 19, 2011, at 1:02 AM, Mark Murphy wrote: > > > > > > > > > > > > > > > > > On Sun, Dec 18, 2011 at 5:46 PM, dashman <[email protected]> wrote: > > >> Does this mean that i'll have to have 2 different executables - > > >> one for pre-4 and another for 4+. > > > > > Probably not. > > > > >> this would > > >> mean all pre 4.0 apps need to be modified. > > > > > Probably not. > > > > >https://github.com/commonsguy/cw-android/tree/master/Menus/ActionBarBC > > > > > That sample application correctly shows the "three dots" on a Galaxy > > > Nexus and on an emulator with hw.mainKeys=no. It does not show the > > > "three dots" on an emulator with hw.mainKeys=yes, simulating a device > > > that has the off-screen keys. Figure out where you are doing things > > > differently than I am and track down where the difference lies. > > > > > If you are testing with the emulator, make sure you are on the latest > > > Android 4.0 emulator image and the r16 tools. > > > > > -- > > > Mark Murphy (a Commons Guy) > > >http://commonsware.com|http://github.com/commonsguy > > >http://commonsware.com/blog|http://twitter.com/commonsguy > > > > > Warescription: Three Android Books, Plus Updates, One Low Price! > > > > > -- > > > You received this message because you are subscribed to the Google > > > Groups "Android Developers" group. > > > To post to this group, send email to > [email protected] > > > To unsubscribe from this group, send email to > > > [email protected] > > > For more options, visit this group at > > >http://groups.google.com/group/android-developers?hl=en > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

