Skip to content

Commit 938c061

Browse files
PrincejhabakCloudyPadmal
authored andcommitted
refactor: Remove redundant LinearLayout (fossasia#1496)
1 parent 3767fca commit 938c061

File tree

1 file changed

+5
-12
lines changed

1 file changed

+5
-12
lines changed

app/src/main/res/layout/pin_description_dialog.xml

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -43,20 +43,13 @@
4343

4444
</LinearLayout>
4545

46-
<LinearLayout
46+
<Button
47+
android:id="@+id/pin_description_dismiss"
4748
android:layout_width="match_parent"
4849
android:layout_height="wrap_content"
4950
android:layout_gravity="center"
50-
android:layout_margin="@dimen/pin_description_dialog_margin">
51-
52-
<Button
53-
android:id="@+id/pin_description_dismiss"
54-
android:layout_width="match_parent"
55-
android:layout_height="wrap_content"
56-
android:layout_gravity="end"
57-
android:text="@string/ok"
58-
android:textColor="@color/black" />
59-
60-
</LinearLayout>
51+
android:layout_margin="@dimen/pin_description_dialog_margin"
52+
android:text="@string/ok"
53+
android:textColor="@color/black" />
6154

6255
</LinearLayout>

0 commit comments

Comments
 (0)