From e5ca87e89fef96c827ec37d1d91082f626cbb17d Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期二, 11 五月 2021 18:50:09 +0800 Subject: [PATCH] 特价新版UI改造 --- app/src/main/res/layout/activity_main.xml | 77 +++++++++++++++++++++----------------- 1 files changed, 43 insertions(+), 34 deletions(-) diff --git a/app/src/main/res/layout/activity_main.xml b/app/src/main/res/layout/activity_main.xml index 0ac97d0..c12fd9b 100644 --- a/app/src/main/res/layout/activity_main.xml +++ b/app/src/main/res/layout/activity_main.xml @@ -1,43 +1,52 @@ <?xml version="1.0" encoding="utf-8"?> -<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical"> <include layout="@layout/item_status_bar" /> - <FrameLayout - android:id="@+id/fl_main_fragment_container" + + <RelativeLayout android:layout_width="match_parent" - android:layout_height="match_parent" - android:layout_above="@+id/trends_goods_lin" /> - - <View - android:id="@+id/trends_goods_lin" - android:layout_width="match_parent" - android:layout_height="1px" - android:layout_above="@+id/fl_bottom" - android:background="@color/trends_goods_bg" /> - - <include layout="@layout/navigation_bottom_bar" /> - - <ImageView - android:id="@+id/actionButton_img" - android:layout_width="120dp" - android:layout_height="120dp" - android:layout_alignParentRight="true" - android:layout_alignParentBottom="true" - android:background="@drawable/ic_suspension" - android:visibility="invisible" /> - - <com.tejia.lijin.app.util.DragFloatActionButton - android:id="@+id/actionButton" - android:layout_width="68dp" - android:layout_height="68dp" - android:layout_alignParentTop="true" - android:layout_alignParentRight="true" - android:layout_marginTop="110dp" - android:background="@drawable/ic_shopping" - android:visibility="invisible" /> + android:layout_height="0dp" + android:layout_weight="1"> -</RelativeLayout> + <FrameLayout + android:id="@+id/fl_main_fragment_container" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:layout_above="@+id/trends_goods_lin" /> + + <View + android:id="@+id/trends_goods_lin" + android:layout_width="match_parent" + android:layout_height="1px" + android:layout_above="@+id/fl_bottom" + android:background="@color/trends_goods_bg" /> + + <include layout="@layout/navigation_bottom_bar" /> + + <ImageView + android:id="@+id/actionButton_img" + android:layout_width="120dp" + android:layout_height="120dp" + android:layout_alignParentRight="true" + android:layout_alignParentBottom="true" + android:background="@drawable/ic_suspension" + android:visibility="invisible" /> + + <com.tejia.lijin.app.util.DragFloatActionButton + android:id="@+id/actionButton" + android:layout_width="68dp" + android:layout_height="68dp" + android:layout_alignParentTop="true" + android:layout_alignParentRight="true" + android:layout_marginTop="110dp" + android:background="@drawable/ic_shopping" + android:visibility="invisible" /> + + </RelativeLayout> + + +</LinearLayout> -- Gitblit v1.8.0