Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 30

Thread: [3.1.0.256] Strange Android Titlebar on native Apps

    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 User
    Join Date
    Feb 2012
    Location
    Berne, Switzerland
    Posts
    723
    Vote Rating
    46
      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 User
    Join Date
    Feb 2012
    Location
    Berne, Switzerland
    Posts
    723
    Vote Rating
    46
      0  

    Default [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
      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
      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
      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
    119
    Vote Rating
    37
      4  

    Default 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.

  7. #17
    Sencha User
    Join Date
    Oct 2012
    Posts
    43
    Vote Rating
    0
      0  

    Default

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

  8. #18
    Sencha User
    Join Date
    Dec 2012
    Posts
    77
    Vote Rating
    2
      0  

    Default

    That works great. Thanks.

  9. #19
    Sencha Premium User
    Join Date
    Feb 2012
    Location
    Berne, Switzerland
    Posts
    723
    Vote Rating
    46
      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
      0  

    Default

    Good job, thanks for answering!

Page 2 of 3 FirstFirst 123 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •