Files
venue_android/app/src/main/res/layout/activity_main.xml
2020-07-29 17:38:18 +08:00

138 lines
4.8 KiB
XML

<?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:background="@color/appMainColor"
android:orientation="vertical"
tools:context=".MainActivity">
<com.ydd.sportfaceid.view.SDGustInfoView
android:id="@+id/gust_info_view"
android:layout_width="match_parent"
android:layout_height="65dp"/>
<WebView
android:id="@+id/order_view"
android:layout_margin="15dp"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1"
android:layout_centerInParent="true" />
<FrameLayout
android:layout_marginLeft="15dp"
android:layout_marginRight="15dp"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<Button
android:id="@+id/btn_refresh"
android:text="刷新"
android:layout_width="100dp"
android:layout_height="wrap_content"/>
<Button
android:id="@+id/btn_last_day"
android:layout_gravity="center"
android:text="上一天"
android:layout_width="100dp"
android:layout_height="wrap_content"/>
<Button
android:id="@+id/btn_next_day"
android:layout_gravity="right"
android:text="下一天"
android:layout_width="100dp"
android:layout_height="wrap_content"/>
</FrameLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_margin="15dp"
android:layout_height="0dp"
android:layout_weight="1"
android:background="@drawable/memberwitebgview"
android:orientation="vertical">
<TextView
android:id="@+id/tv_tip"
android:padding="15dp"
android:gravity="center"
android:lineSpacingExtra="10dp"
tools:text="测试测试测试\n测试测试测试\n测试测试"
android:layout_width="match_parent"
android:layout_height="wrap_content"/>
<FrameLayout
android:paddingLeft="15dp"
android:paddingRight="15dp"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<LinearLayout
android:gravity="center"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="vertical">
<TextView
android:text="小程序二维码"
android:textColor="@color/black"
android:gravity="center"
android:layout_width="wrap_content"
android:layout_height="wrap_content"/>
<ImageView
android:id="@+id/qr_code_iv_small"
android:layout_marginTop="15dp"
android:src="@mipmap/venue_sport"
android:layout_width="100dp"
android:layout_height="100dp"/>
</LinearLayout>
<LinearLayout
android:layout_gravity="right"
android:gravity="center"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="vertical">
<TextView
android:text="进场二维码"
android:textColor="@color/black"
android:gravity="center"
android:layout_width="wrap_content"
android:layout_height="wrap_content"/>
<FrameLayout
android:layout_marginTop="15dp"
android:layout_width="100dp"
android:layout_height="100dp">
<ImageView
android:id="@+id/qr_code_iv_enter"
android:layout_gravity="center"
tools:src="@color/topInfoRed"
android:layout_width="match_parent"
android:layout_height="match_parent"/>
<android.support.v4.widget.ContentLoadingProgressBar
android:id="@+id/qr_code_pb_cover"
tools:visibility="visible"
android:visibility="gone"
android:background="#99000000"
android:layout_width="match_parent"
android:layout_height="match_parent"/>
</FrameLayout>
</LinearLayout>
</FrameLayout>
</LinearLayout>
</LinearLayout>