From d2f93c0726e93ae4f191cc252a76a3add8149eea Mon Sep 17 00:00:00 2001 From: yy1717 <fctom1215@outlook.com> Date: 星期五, 03 四月 2020 11:39:23 +0800 Subject: [PATCH] Merge branch 'master' of https://gitee.com/endian11/DriveJudge --- app/src/main/res/layout/layout_mapfragment.xml | 35 +++++++++++++++++------------------ 1 files changed, 17 insertions(+), 18 deletions(-) diff --git a/app/src/main/res/layout/layout_mapfragment.xml b/app/src/main/res/layout/layout_mapfragment.xml index 94b9469..edc85b3 100644 --- a/app/src/main/res/layout/layout_mapfragment.xml +++ b/app/src/main/res/layout/layout_mapfragment.xml @@ -1,26 +1,25 @@ <?xml version="1.0" encoding="utf-8"?> -<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" +<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="match_parent" android:layout_height="match_parent"> - <com.google.android.material.appbar.AppBarLayout - xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:app="http://schemas.android.com/apk/res-auto" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:theme="@style/AppTheme.AppBarOverlay"> - <androidx.appcompat.widget.Toolbar - android:id="@+id/toolbar" - android:layout_width="match_parent" - android:layout_height="?attr/actionBarSize" - android:background="?attr/colorPrimary" - android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar" - app:popupTheme="@style/AppTheme.NoActionBar.PopupOverlay" - app:titleTextAppearance="@style/Toolbar_TextAppearance_White"/> - - </com.google.android.material.appbar.AppBarLayout> <SurfaceView android:layout_width="match_parent" android:layout_height="match_parent" android:id="@+id/surfaceview"/> -</LinearLayout> \ No newline at end of file + <Button + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_gravity="bottom|left" + android:id="@+id/btn_amplify" + android:background="@drawable/btn_state_save" + android:text="鏀惧ぇ"/> + <Button + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_gravity="bottom|left" + android:id="@+id/btn_reduce" + android:background="@drawable/btn_state_save" + android:layout_marginLeft="120dp" + android:text="缂╁皬"/> +</FrameLayout> \ No newline at end of file -- Gitblit v1.8.0