Merge "Avoid bug in LinearLayout measurement" into lmp-mr1-dev

This commit is contained in:
Alan Viverette
2015-01-30 03:15:06 +00:00
committed by Android (Google) Code Review
3 changed files with 7 additions and 0 deletions

View File

@@ -27,6 +27,8 @@ This is a custom layout for a dialog.
android:layout_weight="0"
android:gravity="center_vertical|start"
style="?attr/windowTitleBackgroundStyle" />
<View android:layout_width="match_parent"
android:layout_height="0dp" />
<FrameLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"

View File

@@ -48,6 +48,9 @@ enabled.
android:layout_marginStart="8dip" />
</LinearLayout>
<View android:layout_width="match_parent"
android:layout_height="0dp" />
<FrameLayout
android:layout_width="match_parent" android:layout_height="wrap_content"
android:layout_weight="1"

View File

@@ -32,6 +32,8 @@ enabled.
android:paddingStart="?attr/dialogPreferredPadding"
android:paddingEnd="?attr/dialogPreferredPadding"
android:paddingTop="@dimen/dialog_padding_top_material" />
<View android:layout_width="match_parent"
android:layout_height="0dp" />
<FrameLayout
android:layout_width="match_parent" android:layout_height="wrap_content"
android:layout_weight="1"