Merge "Make "Take bugreport" dialog scrollable." into nyc-dev

am: 5cbac88

* commit '5cbac8884118d8618da7af4a3a42d7b67bcdb77e':
  Make "Take bugreport" dialog scrollable.

Change-Id: I8e6e3ddb2a96b2fd12756794d39aa275a9e6c98a
This commit is contained in:
Felipe Leme
2016-04-12 18:50:27 +00:00
committed by android-build-merger

View File

@@ -15,66 +15,68 @@
limitations under the License.
-->
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="horizontal"
android:paddingStart="20dp"
android:paddingEnd="24dp"
android:paddingTop="15dp"
>
<CheckedTextView
android:id="@+id/bugreport_option_interactive_title"
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android">
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:checked="true"
android:drawableStart="?android:attr/listChoiceIndicatorSingle"
android:ellipsize="marquee"
android:gravity="center_vertical"
android:paddingEnd="?android:attr/dialogPreferredPadding"
android:text="@*android:string/bugreport_option_interactive_title"
android:textAppearance="?android:attr/textAppearanceMedium"
android:textColor="?android:attr/textColorAlertDialogListItem" />
android:layout_height="match_parent"
android:orientation="horizontal"
android:paddingStart="20dp"
android:paddingEnd="24dp"
android:paddingTop="15dp"
>
<TextView
android:id="@+id/bugreport_option_interactive_summary"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@+id/bugreport_option_interactive_title"
android:maxLines="10"
android:paddingBottom="10dp"
android:paddingStart="32dp"
android:paddingEnd="?android:attr/dialogPreferredPadding"
android:text="@*android:string/bugreport_option_interactive_summary"
android:textAppearance="?android:attr/textAppearanceListItemSecondary"
android:textColor="?android:attr/textColorSecondary" />
<CheckedTextView
android:id="@+id/bugreport_option_interactive_title"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:checked="true"
android:drawableStart="?android:attr/listChoiceIndicatorSingle"
android:ellipsize="marquee"
android:gravity="center_vertical"
android:paddingEnd="?android:attr/dialogPreferredPadding"
android:text="@*android:string/bugreport_option_interactive_title"
android:textAppearance="?android:attr/textAppearanceMedium"
android:textColor="?android:attr/textColorAlertDialogListItem" />
<CheckedTextView
android:id="@+id/bugreport_option_full_title"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@+id/bugreport_option_interactive_summary"
android:checked="false"
android:drawableStart="?android:attr/listChoiceIndicatorSingle"
android:ellipsize="marquee"
android:gravity="center_vertical"
android:paddingEnd="?android:attr/dialogPreferredPadding"
android:text="@*android:string/bugreport_option_full_title"
android:textAppearance="?android:attr/textAppearanceMedium"
android:textColor="?android:attr/textColorAlertDialogListItem" />
<TextView
android:id="@+id/bugreport_option_interactive_summary"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@+id/bugreport_option_interactive_title"
android:maxLines="10"
android:paddingBottom="10dp"
android:paddingStart="32dp"
android:paddingEnd="?android:attr/dialogPreferredPadding"
android:text="@*android:string/bugreport_option_interactive_summary"
android:textAppearance="?android:attr/textAppearanceListItemSecondary"
android:textColor="?android:attr/textColorSecondary" />
<TextView
android:id="@+id/bugreport_option_full_summary"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@+id/bugreport_option_full_title"
android:maxLines="10"
android:paddingBottom="10dp"
android:paddingStart="32dp"
android:paddingEnd="?android:attr/dialogPreferredPadding"
android:text="@*android:string/bugreport_option_full_summary"
android:textAppearance="?android:attr/textAppearanceListItemSecondary"
android:textColor="?android:attr/textColorSecondary" />
<CheckedTextView
android:id="@+id/bugreport_option_full_title"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@+id/bugreport_option_interactive_summary"
android:checked="false"
android:drawableStart="?android:attr/listChoiceIndicatorSingle"
android:ellipsize="marquee"
android:gravity="center_vertical"
android:paddingEnd="?android:attr/dialogPreferredPadding"
android:text="@*android:string/bugreport_option_full_title"
android:textAppearance="?android:attr/textAppearanceMedium"
android:textColor="?android:attr/textColorAlertDialogListItem" />
</RelativeLayout>
<TextView
android:id="@+id/bugreport_option_full_summary"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@+id/bugreport_option_full_title"
android:maxLines="10"
android:paddingBottom="10dp"
android:paddingStart="32dp"
android:paddingEnd="?android:attr/dialogPreferredPadding"
android:text="@*android:string/bugreport_option_full_summary"
android:textAppearance="?android:attr/textAppearanceListItemSecondary"
android:textColor="?android:attr/textColorSecondary" />
</RelativeLayout>
</ScrollView>