Flatten view hierarchy in editor

This commit is contained in:
Sergey Solovyev 2018-04-29 22:46:20 +02:00
parent 5ce83d0314
commit 4f8176ac10

View File

@ -12,25 +12,24 @@
a:layout_height="match_parent" /> a:layout_height="match_parent" />
<!-- make clickable area bigger --> <!-- make clickable area bigger -->
<FrameLayout <View
a:id="@+id/main_menu" a:id="@+id/main_menu"
style="?attr/actionOverflowButtonStyle" style="?attr/actionOverflowButtonStyle"
a:background="@null"
a:layout_width="40dp" a:layout_width="40dp"
a:paddingLeft="0dp"
a:paddingRight="0dp"
a:layout_height="?attr/actionBarSize" a:layout_height="?attr/actionBarSize"
a:layout_gravity="top|end"> a:layout_gravity="top|end"
a:background="@null"
<ImageButton
style="?attr/actionOverflowButtonStyle"
a:paddingLeft="0dp" a:paddingLeft="0dp"
a:paddingRight="0dp" a:paddingRight="0dp" />
<ImageView
style="?attr/actionOverflowButtonStyle"
a:layout_width="20dp" a:layout_width="20dp"
a:layout_height="36dp" a:layout_height="36dp"
a:layout_gravity="top|end"
a:clickable="false" a:clickable="false"
a:focusable="false" a:focusable="false"
a:focusableInTouchMode="false" a:focusableInTouchMode="false"
a:layout_gravity="top|end" /> a:paddingLeft="0dp"
</FrameLayout> a:paddingRight="0dp" />
</FrameLayout> </FrameLayout>