Merge pull request #2 from RustAssistant/Dev-Ling

拉取Demo布局
This commit is contained in:
Cold-Mint 2023-02-02 18:30:56 +08:00 committed by GitHub
commit 5a989f8c9d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -30,15 +30,33 @@
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="描述" />
<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
android:id="@+id/DemoTitleView"
style="@style/TextAppearance.Material3.BodyMedium"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@id/LineView"
android:text="示例代码:"
android:textColor="?attr/colorSecondary" />
<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" />