Skip to content

Commit da77c19

Browse files
committed
refactor: reorganize layout in activity_main.xml
1 parent 0e81ebc commit da77c19

File tree

1 file changed

+29
-29
lines changed

1 file changed

+29
-29
lines changed

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

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -127,35 +127,6 @@
127127
android:animateLayoutChanges="true"
128128
android:orientation="vertical">
129129

130-
<LinearLayout
131-
android:layout_width="match_parent"
132-
android:layout_height="wrap_content"
133-
android:layout_marginLeft="15dp"
134-
android:layout_marginRight="15dp"
135-
android:layout_marginBottom="10dp"
136-
android:background="@drawable/bg_permotion_round"
137-
android:gravity="center|start"
138-
android:orientation="horizontal"
139-
android:padding="10dp">
140-
141-
<ImageView
142-
android:layout_width="35dp"
143-
android:layout_height="35dp"
144-
android:layout_marginEnd="10dp"
145-
android:src="@mipmap/ic_yukihookapi" />
146-
147-
<TextView
148-
android:layout_width="match_parent"
149-
android:layout_height="wrap_content"
150-
android:autoLink="web"
151-
android:ellipsize="end"
152-
android:lineSpacingExtra="6dp"
153-
android:maxLines="2"
154-
android:text="@string/about_module"
155-
android:textColor="@color/colorTextGray"
156-
android:textSize="11sp" />
157-
</LinearLayout>
158-
159130
<LinearLayout
160131
android:layout_width="match_parent"
161132
android:layout_height="wrap_content"
@@ -367,6 +338,35 @@
367338
android:lineSpacingExtra="2dp" />
368339

369340
</LinearLayout>
341+
342+
<LinearLayout
343+
android:layout_width="match_parent"
344+
android:layout_height="wrap_content"
345+
android:layout_marginLeft="15dp"
346+
android:layout_marginRight="15dp"
347+
android:layout_marginBottom="10dp"
348+
android:background="@drawable/bg_permotion_round"
349+
android:gravity="center|start"
350+
android:orientation="horizontal"
351+
android:padding="10dp">
352+
353+
<ImageView
354+
android:layout_width="35dp"
355+
android:layout_height="35dp"
356+
android:layout_marginEnd="10dp"
357+
android:src="@mipmap/ic_yukihookapi" />
358+
359+
<TextView
360+
android:layout_width="match_parent"
361+
android:layout_height="wrap_content"
362+
android:autoLink="web"
363+
android:ellipsize="end"
364+
android:lineSpacingExtra="6dp"
365+
android:maxLines="2"
366+
android:text="@string/about_module"
367+
android:textColor="@color/colorTextGray"
368+
android:textSize="11sp" />
369+
</LinearLayout>
370370
</LinearLayout>
371371
</androidx.core.widget.NestedScrollView>
372372
</LinearLayout>

0 commit comments

Comments
 (0)