Titanium JIRA Archive
Appcelerator Community (AC)

[AC-2410] Android: Resources in "platform" directory are ignored when building project with 3.0

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionInvalid
Resolution Date2013-04-02T23:23:47.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsTitanium SDK & CLI
Labelsn/a
ReporterIvan Skugor
AssigneeMauro Parra-Miranda
Created2012-10-19T14:17:40.000+0000
Updated2016-03-08T07:41:26.000+0000

Description

The problem

To see this problem create %PROJECT_DIR%/platform/android/res/layout/titanium_tabgroup.xml file with 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>
(that code puts TabGroup to the bottom) Firstly try to compile and run app with 2.1.3GA, you should see that TabGroup is on the bottom. Now try to compile with 3.0, you should see that TabGroup is on the top and there is title bar on the top (with project name as title).

Expected behaviour

There shouldn't be any difference between 2.1.3 and 3.0 (TabGroup should be on the bottom and title bar shouldn't be visible).

Comments

  1. Pedro Enrique 2013-04-02

    As of 3.0 we're using Android's ActionBar and not the XML for the TabGroup. It was been replaced
  2. Mauro Parra-Miranda 2013-11-24

    Invalid issue.

JSON Source