You found a bug! We've classified it as SDKTOOLS-639 . We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.
  1. #11
    Sencha Premium Member
    Join Date
    Feb 2012
    Location
    Berne, Switzerland
    Posts
    714
    Vote Rating
    42
    ingo.hefti has a spectacular aura about ingo.hefti has a spectacular aura about ingo.hefti has a spectacular aura about

      0  

    Default


    Quote Originally Posted by isaid View Post
    Yes you are right, the new titlebar takes a place away from the screen, i thought it is a new feature of cmd.
    I'm still hoping it's a new feature for touch v2.2...

  2. #12
    Sencha Premium Member
    Join Date
    Feb 2012
    Location
    Berne, Switzerland
    Posts
    714
    Vote Rating
    42
    ingo.hefti has a spectacular aura about ingo.hefti has a spectacular aura about ingo.hefti has a spectacular aura about

      0  

    Default [3.1.1.274] Strange Android Titlebar on native Apps - still...

    [3.1.1.274] Strange Android Titlebar on native Apps - still...


    @Sencha: why don't you take care of this one? You start to worry me...

    http://www.sencha.com/forum/showthre...on-native-Apps

  3. #13
    Sencha User
    Join Date
    Dec 2012
    Posts
    77
    Vote Rating
    2
    azamatoak is on a distinguished road

      0  

    Default


    I have also run into this problem and am looking for a solution. I am unable to publish an app with this title bar pushing down the navigation bar and looking unprofessional.

    I'm using Sencha Cmd 3.1.0.256

  4. #14
    Sencha User
    Join Date
    Dec 2012
    Posts
    77
    Vote Rating
    2
    azamatoak is on a distinguished road

      0  

    Default


    I also tried Sencha Cmd 3.1.1.274 today with no luck. With this version of Sencha Cmd the app failed to compile successfully due to a Rhino parse error. So, I have no idea if this issue is fixed with this version of Sencha Cmd.

  5. #15
    Sencha User
    Join Date
    Oct 2012
    Posts
    43
    Vote Rating
    0
    fatfly is on a distinguished road

      0  

    Default


    I upgraded my app from sencha 2.1 and cmd 3.0.x to sencha 2.2 and cmd 3.1.1.274. and I have the same issue. A useless titlebar.
    I cannot find any parameter to modify/remove it.

    Sencha, Some information will be welcome thanks.

  6. #16
    Sencha Premium Member richardvd's Avatar
    Join Date
    Jun 2011
    Location
    NL
    Posts
    43
    Vote Rating
    12
    richardvd will become famous soon enough

      4  

    Default workaround

    workaround


    This is the Android TitleBar, you can remove it by adding an attribute to your base AndroidManifest.xml.

    In my case this file is located here: C:\ext\Sencha\Cmd\3.1.1.274\stbuild\st-res\android\AndroidManifest.xml

    Open it and add this attribute to the application field:

    Code:
    android:theme="@android:style/Theme.NoTitleBar"
    So that it looks like this:
    Code:
    <?xml version="1.0" encoding="utf-8"?><manifest xmlns:android="http://schemas.android.com/apk/res/android" package="%s" android:versionCode="%d" android:versionName="%s">
        <uses-sdk android:minSdkVersion="%s" android:targetSdkVersion="15" />
    %s
        <application android:icon="@drawable/icon" android:label="%s" android:theme="@android:style/Theme.NoTitleBar">
            <activity android:name=".STActivity"
                %s
                android:label="%s">
                    <intent-filter>
                    <action android:name="android.intent.action.MAIN" />
                    <category android:name="android.intent.category.LAUNCHER" />
                </intent-filter>
    %s
    %s
            </activity>
        </application>
    </manifest>
    And next time you package your Android app the titlebar should be gone.
    Richard

  7. #17
    Sencha User
    Join Date
    Oct 2012
    Posts
    43
    Vote Rating
    0
    fatfly is on a distinguished road

      0  

    Default


    It's working for me. Thanks Richardvd!!!

  8. #18
    Sencha User
    Join Date
    Dec 2012
    Posts
    77
    Vote Rating
    2
    azamatoak is on a distinguished road

      0  

    Default


    That works great. Thanks.

  9. #19
    Sencha Premium Member
    Join Date
    Feb 2012
    Location
    Berne, Switzerland
    Posts
    714
    Vote Rating
    42
    ingo.hefti has a spectacular aura about ingo.hefti has a spectacular aura about ingo.hefti has a spectacular aura about

      0  

    Default


    Quote Originally Posted by richardvd View Post
    This is the Android TitleBar, you can remove it by adding an attribute to your base AndroidManifest.xml. Open it and add this attribute to the application field:
    Code:
    android:theme="@android:style/Theme.NoTitleBar"
    And next time you package your Android app the titlebar should be gone.
    Thanks man! Appreciate your help after a total silence of almost a month now... (not your fault, of course.)

  10. #20
    Sencha User
    Join Date
    Feb 2013
    Posts
    47
    Vote Rating
    0
    mobilab is on a distinguished road

      0  

    Default


    Good job, thanks for answering!