Allow custom views to be rendered on the layout editor

This commit is contained in:
2016-02-26 07:44:34 -05:00
parent f511ca2028
commit d2682358c2
9 changed files with 331 additions and 99 deletions

View File

@@ -4,12 +4,15 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context="org.isoron.uhabits.ShowHabitActivity"
tools:ignore="MergeRootFrame" >
tools:ignore="MergeRootFrame"
tools:menu="show_habit_activity_menu,show_habit_fragment_menu">
<fragment
android:id="@+id/fragment2"
android:name="org.isoron.uhabits.fragments.ShowHabitFragment"
android:layout_width="match_parent"
android:layout_height="match_parent" />
android:layout_height="match_parent"
tools:layout="@layout/show_habit"
android:layout_gravity="center"/>
</FrameLayout>