2017-02-13 15:11:50 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<LinearLayout
|
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content">
|
|
|
|
|
|
|
|
<LinearLayout
|
2017-02-15 21:45:31 +00:00
|
|
|
android:id="@+id/message_panel"
|
2017-02-13 15:11:50 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
<ScrollView
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:overScrollMode="ifContentScrolls"
|
|
|
|
android:paddingBottom="12dip"
|
|
|
|
android:paddingEnd="20dip"
|
|
|
|
android:paddingStart="20dip"
|
|
|
|
android:paddingTop="12dip">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/message"
|
|
|
|
style="?android:attr/textAppearanceMedium"
|
|
|
|
android:textColor="?android:attr/textColorPrimary"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:padding="5dip" />
|
|
|
|
|
|
|
|
</ScrollView>
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
2017-02-15 21:45:31 +00:00
|
|
|
<ViewStub
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:id="@+id/custom_view"/>
|
|
|
|
|
2017-02-13 15:11:50 +00:00
|
|
|
<LinearLayout
|
|
|
|
style="?android:attr/buttonBarStyle"
|
2017-02-15 21:45:31 +00:00
|
|
|
android:id="@+id/button_panel"
|
2017-02-13 15:11:50 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:minHeight="54dip"
|
|
|
|
android:measureWithLargestChild="true"
|
|
|
|
android:orientation="horizontal"
|
|
|
|
android:paddingEnd="2dip"
|
|
|
|
android:paddingStart="2dip"
|
|
|
|
android:paddingTop="4dip">
|
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/negative"
|
|
|
|
style="?android:attr/buttonBarButtonStyle"
|
|
|
|
android:layout_width="0dip"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="start"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:maxLines="2" />
|
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/neutral"
|
|
|
|
style="?android:attr/buttonBarButtonStyle"
|
|
|
|
android:layout_width="0dip"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_horizontal"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:maxLines="2" />
|
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/positive"
|
|
|
|
style="?android:attr/buttonBarButtonStyle"
|
|
|
|
android:layout_width="0dip"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="end"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:maxLines="2" />
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
</LinearLayout>
|