parent
554c5fb676
commit
c9f58c2174
@ -0,0 +1,88 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout 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"
|
||||
tools:context=".ElemeMainPage">
|
||||
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
android:background="@mipmap/elmbg"/>
|
||||
<LinearLayout
|
||||
android:id="@+id/mysearch"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
>
|
||||
<EditText
|
||||
android:id="@+id/search_EditText"
|
||||
android:layout_width="300dp"
|
||||
android:layout_height="50dp"
|
||||
android:layout_marginTop="10dp"
|
||||
android:layout_marginLeft="0dp"
|
||||
android:background="@color/white"
|
||||
android:hint="请输入要查询的商店"
|
||||
/>
|
||||
<LinearLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="#ff0000"
|
||||
android:layout_marginTop="10dp">
|
||||
<Button
|
||||
android:id="@+id/search_Icon"
|
||||
android:layout_width="40dp"
|
||||
android:layout_height="40dp"
|
||||
android:background="@drawable/findfoods"
|
||||
android:layout_marginTop="10dp"/>
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
<LinearLayout
|
||||
android:layout_marginTop="4dp"
|
||||
android:id="@+id/mylist"
|
||||
android:background="@color/white"
|
||||
android:layout_below="@id/mysearch"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="500dp">
|
||||
|
||||
<ListView
|
||||
android:id="@+id/list_view"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="60dp"
|
||||
android:layout_below="@id/mylist"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_marginTop="0dp"
|
||||
android:background="@color/white">
|
||||
|
||||
|
||||
<Button
|
||||
android:id="@+id/orderbtn"
|
||||
android:layout_width="73dp"
|
||||
android:layout_height="32dp"
|
||||
|
||||
android:layout_centerHorizontal="true"
|
||||
android:background="@drawable/ic_baseline_reorder_24" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@id/orderbtn"
|
||||
android:layout_marginTop="2dp"
|
||||
android:text="看看新闻"
|
||||
android:layout_centerHorizontal="true"/>
|
||||
|
||||
|
||||
</RelativeLayout>
|
||||
</RelativeLayout>
|
Loading…
Reference in new issue