<android.support.v7.widget.Toolbar
android:id="@+id/toolbar"
android:layout_width="match_parent"
android:layout_height="match_parent"
app:layout_collapseMode="parallax"
app:popupTheme="@style/AppTheme.PopupOverlay" >
<EditText
android:id="@+id/edittext"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
</android.support.v7.widget.Toolbar>
툴바의 layout_height 속성을 에딧텍스트의 layout_height 값인 wrap_content로 설정하는 방법이 있나요? 툴바를 wrap_content로 설정하는 건 아니고 에딧텍스트의 wrap_content값이어야 합니다. (자바 코드가 아닌 xml에서 설정하는 방법을 찾고 있습니다)