Titanium JIRA Archive
Appcelerator Community (AC)

[AC-2156] Android: Custom titanium_tabgroup.xml doesn't work anymore

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionWon't Fix
Resolution Date2013-04-05T18:47:09.000+0000
Affected Version/sn/a
Fix Version/sn/a
Componentsn/a
Labelsregression
ReporterAlberto Marcone
AssigneePing Wang
Created2013-04-04T09:34:09.000+0000
Updated2016-03-08T07:41:08.000+0000

Description

*Problem description* The following code no longer hides the tabBar. It used to work on TiSDK 2.1.4 GA, it doesn't work on 3.x. *Note* See Community Discussion for more info. *Platform/android/res/layout/titanium_tabgroup.xml*
<?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="0dp"
            android:layout_weight="0"/>
 
    </LinearLayout>
 
</TabHost>

Comments

  1. Alberto Marcone 2013-04-05

    Sorry for the lack of information that I didn't give, I was a bit on a rush yesterday. Is this gonna be scheduled anytime in the future?
  2. Daniel Sefton 2013-04-05

    I just need to test it on our end then I can escalate it to engineering.
  3. Daniel Sefton 2013-04-05

    Do you happen to have some JS code for this? It would speed things up if you could create a simple runnable case.
  4. Alberto Marcone 2013-04-05

    Simply copy the file titanium_tabgroup.xml inside the folder and open a brand new project. If you can see the TabGroup, it doesn't work. Actually I found out this morning that the case was already discussed in another ticket (I had looked a lot before opening a new one). It's the TIMOB-12220
  5. Ping Wang 2013-04-05

    This is a duplicate of TIMOB-12220. Our SDK has never supported customizing titanium_tabgroup.xml. Detailed explanation is in TIMOB-12220. Resolve the ticket as Won't Fix.
  6. yann offredi 2013-04-08

    "Our SDK has never supported customizing titanium_tabgroup.xml"?? I do not understand, because it worked on TiSDK 2.1.4 GA.... what is the solution for our issue ?
  7. Ping Wang 2013-04-09

JSON Source