title: Android. My custom theme is not applied
body: <p>I have following style definitions in my res/values/style.xml file:</p>
  
  <pre><code> &lt;!-- Application theme. --&gt;
  &lt;style name="AppTheme" parent="AppBaseTheme"&gt;
      &lt;!-- All customizations that are NOT specific to a particular API-level can go here. --&gt;
      &lt;item name="android:textColor"&gt;#fff&lt;/item&gt;
      &lt;item name="android:textSize"&gt;12sp&lt;/item&gt;
  &lt;/style&gt;
  
  &lt;style name="MainActivity" parent="AppTheme"&gt;
      &lt;item name="android:textColor"&gt;#f0f&lt;/item&gt;
      &lt;item name="android:background"&gt;@color/black&lt;/item&gt; 
  &lt;/style&gt;
  </code></pre>
  
  <p>And following code in manifest file:</p>
  
  <pre><code> &lt;application
      android:allowBackup="true"
      android:icon="@drawable/ic_launcher"
      android:label="@string/app_name" &gt;
      &lt;activity
          android:theme="@style/MainActivity"
          android:name="com.example.mygateway.MainActivity"
          android:label="@string/app_name" &gt;
          &lt;intent-filter&gt;
              &lt;action android:name="android.intent.action.MAIN" /&gt;
  
              &lt;category android:name="android.intent.category.LAUNCHER" /&gt;
          &lt;/intent-filter&gt;
      &lt;/activity&gt;
  &lt;/application&gt;
  </code></pre>
  
  <p>I expect that textColor #f0f will be applied to MainActivity activity, but it isn't.
  Neither textColor no other items i tried are applied.
  Actually the only AppTheme is applied to the activity and the whole application.
  I'am a beginner in android development. What I do wrong?</p>
  
  <p>Please help.
  Thanks!</p>