新增首页战令入口
This commit is contained in:
30
main/src/main/res/layout/view_float_war_order.xml
Normal file
30
main/src/main/res/layout/view_float_war_order.xml
Normal file
@@ -0,0 +1,30 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="140dp"
|
||||
android:layout_height="41dp"
|
||||
android:background="@drawable/bg_war_order"
|
||||
android:gravity="center_vertical">
|
||||
|
||||
<ImageView
|
||||
android:layout_width="25dp"
|
||||
android:layout_height="25dp"
|
||||
android:layout_marginLeft="15dp"
|
||||
android:src="@mipmap/icon_war_order" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginLeft="5dp"
|
||||
android:gravity="center_vertical"
|
||||
android:text="@string/main_suspension_war_order"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="15dp"
|
||||
android:textStyle="bold" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
@@ -179,6 +179,17 @@
|
||||
android:layout_above="@id/rt_main_tab"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_marginRight="12dp"
|
||||
android:visibility="gone"
|
||||
android:layout_marginBottom="10dp" />
|
||||
|
||||
<include
|
||||
android:id="@+id/war_order"
|
||||
layout="@layout/view_float_war_order"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_above="@id/rt_main_tab"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_marginRight="12dp"
|
||||
android:layout_marginBottom="10dp" />
|
||||
|
||||
<LinearLayout
|
||||
|
||||
BIN
main/src/main/res/mipmap-mdpi/icon_war_order.png
Normal file
BIN
main/src/main/res/mipmap-mdpi/icon_war_order.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 9.3 KiB |
Reference in New Issue
Block a user