Skip to content

Commit

Permalink
hzuapps#3 hzuapps#126 第3次实验
Browse files Browse the repository at this point in the history
  • Loading branch information
Lcnc committed Jan 9, 2021
1 parent 6b64f88 commit f49ee39
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions MyApplication/app/src/main/res/layout/activity_main.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:gravity="center"
tools:context=".Net1814080903229MainActivity">

<ImageView
android:id="@+id/imageView"
android:layout_width="245dp"
android:layout_height="145dp"
app:srcCompat="@drawable/basicnecessitiesoflife" />

<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="center"
android:orientation="vertical">

<Button
android:id="@+id/button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="旅游推荐"
tools:layout_editor_absoluteX="39dp"
tools:layout_editor_absoluteY="81dp" />

<Button
android:id="@+id/button2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="日常贴士"
tools:layout_editor_absoluteX="39dp"
tools:layout_editor_absoluteY="81dp" />
</LinearLayout>

</LinearLayout>

0 comments on commit f49ee39

Please sign in to comment.