Skip to content
This repository was archived by the owner on May 1, 2021. It is now read-only.

Commit eded383

Browse files
Update msl__alert_dialog_material.xml
1 parent 6b36814 commit eded383

File tree

1 file changed

+31
-25
lines changed

1 file changed

+31
-25
lines changed

MaterialStuffLibrary/res/layout/msl__alert_dialog_material.xml

Lines changed: 31 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
33
xmlns:tools="http://schemas.android.com/tools"
4+
android:id="@+id/parentPanel"
45
android:layout_width="match_parent"
56
android:layout_height="wrap_content"
67
android:layout_marginBottom="@dimen/floating_window_margin_bottom"
@@ -10,8 +11,7 @@
1011
android:layout_marginStart="@dimen/floating_window_margin_left"
1112
android:layout_marginTop="@dimen/floating_window_margin_top"
1213
android:background="?adpBackground"
13-
android:orientation="vertical"
14-
tools:ignore="Overdraw" >
14+
android:orientation="vertical" >
1515

1616
<LinearLayout
1717
android:id="@+id/topPanel"
@@ -91,34 +91,40 @@
9191

9292
<LinearLayout
9393
android:id="@+id/buttonPanel"
94-
style="?attr/adpButtonBarStyle"
95-
android:layout_width="wrap_content"
94+
android:layout_width="match_parent"
9695
android:layout_height="wrap_content"
97-
android:layout_gravity="end"
98-
android:layoutDirection="locale"
99-
android:padding="16dip"
100-
tools:ignore="UnusedAttribute" >
96+
android:gravity="end"
97+
android:orientation="vertical"
98+
android:padding="16dip" >
10199

102-
<Button
103-
android:id="@+id/button3"
104-
style="?attr/adpButtonBarButtonStyle"
100+
<LinearLayout
101+
style="?attr/adpButtonBarStyle"
105102
android:layout_width="wrap_content"
106103
android:layout_height="wrap_content"
107-
android:maxLines="2" />
104+
android:layoutDirection="locale"
105+
tools:ignore="UnusedAttribute,UselessParent" >
108106

109-
<Button
110-
android:id="@+id/button2"
111-
style="?attr/adpButtonBarButtonStyle"
112-
android:layout_width="wrap_content"
113-
android:layout_height="wrap_content"
114-
android:maxLines="2" />
107+
<Button
108+
android:id="@+id/button3"
109+
style="?attr/adpButtonBarButtonStyle"
110+
android:layout_width="wrap_content"
111+
android:layout_height="wrap_content"
112+
android:maxLines="2" />
115113

116-
<Button
117-
android:id="@+id/button1"
118-
style="?attr/adpButtonBarButtonStyle"
119-
android:layout_width="wrap_content"
120-
android:layout_height="wrap_content"
121-
android:maxLines="2" />
114+
<Button
115+
android:id="@+id/button2"
116+
style="?attr/adpButtonBarButtonStyle"
117+
android:layout_width="wrap_content"
118+
android:layout_height="wrap_content"
119+
android:maxLines="2" />
120+
121+
<Button
122+
android:id="@+id/button1"
123+
style="?attr/adpButtonBarButtonStyle"
124+
android:layout_width="wrap_content"
125+
android:layout_height="wrap_content"
126+
android:maxLines="2" />
127+
</LinearLayout>
122128
</LinearLayout>
123129

124-
</LinearLayout>
130+
</LinearLayout>

0 commit comments

Comments
 (0)