From 8735b56eefde751618c819f5b331a56a62274a5c Mon Sep 17 00:00:00 2001
From: lizhanwei <Dana_Lee1016@126.com>
Date: 星期四, 14 五月 2020 18:30:22 +0800
Subject: [PATCH] Merge branch 'newUI'
---
app/src/main/res/layout/activity_main.xml | 35 ++++++++++++++++++++++++++++-------
1 files changed, 28 insertions(+), 7 deletions(-)
diff --git a/app/src/main/res/layout/activity_main.xml b/app/src/main/res/layout/activity_main.xml
index 96d9db5..e8f9ccd 100644
--- a/app/src/main/res/layout/activity_main.xml
+++ b/app/src/main/res/layout/activity_main.xml
@@ -1,16 +1,37 @@
<?xml version="1.0" encoding="utf-8"?>
-<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:app="http://schemas.android.com/apk/res-auto"
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
+ android:orientation="vertical"
tools:context=".MainActivity">
-
+ <include layout="@layout/networktoolbar"/>
<FrameLayout
- android:id="@+id/fl_container"
android:layout_width="match_parent"
- android:layout_marginBottom="@dimen/bottombar_height"
- android:layout_height="match_parent"/>
+ android:layout_height="match_parent">
+ <FrameLayout
+ android:id="@+id/fl_container"
+ android:background="@drawable/ic_bground"
+ android:layout_width="match_parent"
+ android:layout_marginBottom="@dimen/bottombar_height"
+ android:layout_height="match_parent">
+ <Button
+ android:id="@+id/btn_return"
+ android:layout_width="128dp"
+ android:layout_height="48dp"
+ android:background="@mipmap/return_bg"
+ android:drawableLeft="@mipmap/return_pic"
+ android:paddingLeft="20dp"
+ android:text="杩斿洖"
+ android:gravity="center_vertical"
+ android:drawablePadding="@dimen/ui_margin_5dp"
+ android:layout_gravity="bottom|end"
+ android:textColor="#FFFFFF"
+ android:textSize="@dimen/network_train_textsize24px" />
+ </FrameLayout>
+ </FrameLayout>
-</androidx.constraintlayout.widget.ConstraintLayout>
\ No newline at end of file
+
+
+</LinearLayout>
\ No newline at end of file
--
Gitblit v1.8.0