Android styles and themes difference
<p>According to the documantation:  <em>A theme is a style applied to an entire Activity or application, rather than an individual View</em> .</p>

<p>But when I added theme to my view (a textview) in xml it was compiled and working.
I thought that when I want to add to an individual View I need to use "style".</p>

<pre><code>&lt;TextView
android:id="@+id/textView1"
android:layout_gravity="center"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:theme="@style/TestTheme"
android:textSize="25dp"
android:text="TextView" /&gt;
</code></pre>

<p>Does anybody can explain to me?</p>