Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-12220

Android: cannot set TabGroup on bottom from SDK 3.0.0

    Details

      Description

      Problem description

      Starting from SDK 3.0.0, it is not possible anymore to customize the position of the TabGroup bar, in order to set it at bottom.

      Steps to reproduce

      1. Create the default tabbed app
      2. add the file platform/android/res/layout/titanium_tabgroup.xml with the following content:

      <?xml version="1.0" encoding="utf-8"?>
      <TabHost xmlns:android="http://schemas.android.com/apk/res/android"
          android:id="@android:id/tabhost"
          android:layout_width="fill_parent"
          android:layout_height="fill_parent">
       
          <LinearLayout
              android:orientation="vertical"
              android:layout_width="fill_parent"
              android:layout_height="fill_parent"
              android:padding="0dp">
       
              <FrameLayout
                  android:id="@android:id/tabcontent"
                  android:layout_width="fill_parent"
                  android:layout_height="wrap_content"
                  android:padding="0dp"
                  android:layout_weight="1"/>
       
              <TabWidget
                  android:id="@android:id/tabs"
                  android:layout_width="fill_parent"
                  android:layout_height="wrap_content"
                  android:layout_weight="0"/>
       
          </LinearLayout>
       
      </TabHost>
      

      Running on SDK 2.1.4, the TabGroup is shown on bottom; with SDK 3.0.0 and 3.1.0 this is not working anymore.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                pwang Ping Wang
                Reporter:
                dcassenti Davide Cassenti
              • Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

                  • Titanium SDK/CLI <> Titanium Mobile
                    Synced with:
                    TIMOB-15271
                    Sync status:
                    ERROR
                    Last received:
                    Last sent:

                    Git Source Code