1985ed379d
So that users needn't hastily close the dialog to stop the sound
and then not being able to read the actual message.
(cherry picked from commit 43755f0
)
35 lines
1.2 KiB
XML
35 lines
1.2 KiB
XML
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="vertical"
|
|
tools:context="info.nightscout.androidaps.plugins.Overview.Dialogs.ErrorDialog"
|
|
android:paddingTop="15dp"
|
|
android:paddingBottom="15dp">
|
|
|
|
<TextView
|
|
android:id="@+id/overview_error_status"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:paddingLeft="10dp"
|
|
android:paddingRight="10dp"
|
|
android:layout_gravity="center_horizontal" />
|
|
|
|
<Button
|
|
android:id="@+id/overview_error_mute"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_horizontal"
|
|
android:layout_marginTop="15dp"
|
|
android:text="@string/mute" />
|
|
|
|
<Button
|
|
android:id="@+id/overview_error_ok"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_horizontal"
|
|
android:layout_marginTop="5dp"
|
|
android:text="@string/ok" />
|
|
|
|
</LinearLayout>
|