Если я определяю свой TextView как:
<TextView
style="@android:style/TextAppearance.DeviceDefault.Large"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Hello World!" />
это в основном то же самое, что и делать:
<TextView
android:textAppearance="@android:style/TextAppearance.DeviceDefault.Large"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Hello World!" />
Я знаю, что style - это своего рода более широкий классификатор (т. android:textAppearance Нельзя устанавливать все атрибуты в android:textAppearance), но затем возникает вопрос: зачем беспокоиться? Есть ли преимущество использования android:textAppearance over style?