改善Demo的布局
This commit is contained in:
parent
0fc4c85237
commit
54edc77927
|
@ -30,15 +30,25 @@
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_below="@id/subTitleView"
|
android:layout_below="@id/subTitleView"
|
||||||
android:layout_marginTop="5dp"
|
android:layout_marginTop="5dp"
|
||||||
|
android:layout_marginBottom="5dp"
|
||||||
android:text="描述" />
|
android:text="描述" />
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:id="@+id/DemoTitleView"
|
||||||
|
style="@style/TextAppearance.Material3.BodyMedium"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_below="@id/descriptionView"
|
||||||
|
android:text="示例代码:"
|
||||||
|
android:textColor="#b99bf8" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/demoView"
|
android:id="@+id/demoView"
|
||||||
android:visibility="gone"
|
android:visibility="gone"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
style="@style/TextAppearance.Material3.BodySmall"
|
style="@style/TextAppearance.Material3.BodySmall"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_below="@id/descriptionView"
|
android:layout_below="@id/DemoTitleView"
|
||||||
android:layout_marginTop="5dp"
|
android:layout_marginTop="5dp"
|
||||||
android:text="demo" />
|
android:text="demo" />
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user