Add default application theme to SupportDesignDemo.
A default theme helps Android Studio to select the right theme when opening a layout in the Layout Editor. Without this, Android Studio selects Holo as the default theme and it causes the preview to fail because of missing attributes. Change-Id: I5564530637554ecad6823f6082b60b291cd00710
This commit is contained in:
@@ -26,7 +26,8 @@
|
||||
|
||||
<application android:label="@string/activity_sample_code"
|
||||
android:supportsRtl="true"
|
||||
android:icon="@drawable/app_sample_code">
|
||||
android:icon="@drawable/app_sample_code"
|
||||
android:theme="@style/Theme.FAB">
|
||||
|
||||
<activity android:name="SupportDesignDemos">
|
||||
<intent-filter>
|
||||
|
||||
Reference in New Issue
Block a user