改善布局

This commit is contained in:
LingASDJ 2023-02-02 10:55:42 +08:00
parent 54edc77927
commit 5c335c3e0f

View File

@ -33,12 +33,20 @@
android:layout_marginBottom="5dp" android:layout_marginBottom="5dp"
android:text="描述" /> android:text="描述" />
<View
android:id="@+id/LineView"
android:layout_width="match_parent"
android:layout_height="2dp"
android:layout_marginBottom="5dp"
android:background="?android:colorPrimary"
android:layout_below="@id/descriptionView"/>
<TextView <TextView
android:id="@+id/DemoTitleView" android:id="@+id/DemoTitleView"
style="@style/TextAppearance.Material3.BodyMedium" style="@style/TextAppearance.Material3.BodyMedium"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_below="@id/descriptionView" android:layout_below="@id/LineView"
android:text="示例代码:" android:text="示例代码:"
android:textColor="#b99bf8" /> android:textColor="#b99bf8" />