title: Titanium with Alloy Material Design
body: <p>first of all sorry for my english!
  I readed this: <a href="http://www.appcelerator.com/blog/2015/07/understanding-the-android-material-theme/" rel="nofollow">http://www.appcelerator.com/blog/2015/07/understanding-the-android-material-theme/</a> following step by step to use Material Theme on my <strong>Android</strong> app! It works fine with Titanium Classic but doesn't with Alloy Framework. Are there differencies between the two approaches?</p>
  
  <p>With Alloy i just don't see any differencies with or without theme.</p>
  
  <p>The error I received is :</p>
  
  <pre><code>[ERROR] Detected legacy "/platform" directory in project directory. 
  [ERROR] Please move the "/platform" directory to "/app/platform" for Alloy 1.8.0 or later. [ERROR] Alloy compiler failed
  </code></pre>
  
  <p>But moving /platform to /app/platform it still not working</p>
  
  <p>Thank you, Luca</p>
  
  <p>EDIT:</p>
  
  <p>I found a possible fix. In my tiapp.xml (generated with TiShadow), i have:</p>
  
  <pre><code>&lt;android xmlns:android="http://schemas.android.com/apk/res/android"&gt;
    **POSITION ONE**
  
    &lt;manifest android:versionCode="6" android:versionName="1.5.0"&gt;
  
      &lt;uses-permission android:name="android.permission.ACCESS_CHECKIN_PROPERTIES" /&gt;
         //long list of uses-permission
      &lt;uses-feature android:name='android.hardware.microphone' android:required="false" /&gt;
         //long list of uses-features
      &lt;application&gt;
        &lt;meta-data android:name="com.sec.android.support.multiwindow" android:value="true"/&gt;
      &lt;/application&gt;
      &lt;/manifest&gt;
      **POSITION TWO**
  &lt;/android&gt;
  </code></pre>
  
  <p>I have to insert: </p>
  
  <pre><code>&lt;manifest&gt;
          &lt;application android:theme="@style/Theme.Appcelerator"&gt; &lt;/application&gt;
  &lt;/manifest&gt;
  </code></pre>
  
  <p>If i insert it on <strong>POSITION ONE</strong>, it doesn't work (totally ignored); but if i insert it on <strong>POSITION TWO</strong> it works fine.</p>
  
  <p>I tried more times with the same result. Could someone give me an explanation? :confused:</p>