drawer
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
<vector android:height="24dp" android:viewportHeight="1024.0"
|
||||
android:viewportWidth="1024.0" android:width="24dp" xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<path android:fillColor="#666666" android:pathData="M791.5,183.5h-537.6a51.2,51.2 0,0 0,-51.2 51.2v537.6a51.2,51.2 0,0 0,51.2 51.2h537.6a51.2,51.2 0,0 0,51.2 -51.2L842.7,234.7a51.2,51.2 0,0 0,-51.2 -51.2zM804.3,759.5a25.6,25.6 0,0 1,-25.6 25.6h-512a25.6,25.6 0,0 1,-25.6 -25.6L241.1,247.5a25.6,25.6 0,0 1,25.6 -25.6h512a25.6,25.6 0,0 1,25.6 25.6v512z"/>
|
||||
<path android:fillColor="#666666" android:pathData="M714.7,484.3h-384v0.2c-0.5,-0 -1,-0.2 -1.6,-0.2a19.2,19.2 0,0 0,0 38.4c0.5,0 1.1,-0.1 1.6,-0.2v0.2h384a19.2,19.2 0,0 0,0 -38.4z"/>
|
||||
<path android:fillColor="#666666" android:pathData="M502.7,310.7v384h0.2c-0,0.5 -0.2,1 -0.2,1.6a19.2,19.2 0,0 0,38.4 0c0,-0.5 -0.1,-1.1 -0.2,-1.6h0.2v-384a19.2,19.2 0,0 0,-38.4 0z"/>
|
||||
</vector>
|
||||
@@ -0,0 +1,8 @@
|
||||
<vector android:height="24dp" android:viewportHeight="1024.0"
|
||||
android:viewportWidth="1024.0" android:width="24dp" xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<path android:fillColor="#080808" android:pathData="M512,0C260,0 51.1,182.1 8.4,421.8c-1.8,11.7 -0.8,4.4 -0.8,4.4l-1,7.3C2.7,459.1 0,485.1 0,511.9c0,282.8 229.2,512 512,512s512,-229.2 512,-511.9S794.8,0 512,0zM648.6,76.2c-89.6,16.2 -165.5,44.6 -229.5,80.7a54.4,54.4 0,0 0,-68.1 3.4c-39,-14.4 -70.7,-23.6 -90.9,-29a456.2,456.2 0,0 1,388.5 -55.1zM221.9,159.4a1152.2,1152.2 0,0 1,111.3 31.6,55.1 55.1,0 0,0 -1,10.3 54.3,54.3 0,0 0,1.8 13.4c-94.3,75.1 -155.4,166.8 -194.7,250.2a54.8,54.8 0,0 0,-44.8 23.3,861 861,0 0,1 -36.4,-25.9 455.8,455.8 0,0 1,163.7 -302.8zM78.1,653.9a455.1,455.1 0,0 1,-22.7 -141.9c0,-4.4 0.5,-8.6 0.7,-12.9q14,11.2 28.5,21.9a54.6,54.6 0,0 0,17.7 39.1,798.6 798.6,0 0,0 -24.1,93.9zM148.4,787.4a456.6,456.6 0,0 1,-41.7 -65.6,925.9 925.9,0 0,1 32.6,-147.2 54.7,54.7 0,0 0,20.5 -4q35.1,20.9 71.9,38.8a64.3,64.3 0,0 0,-2.2 16.5,68.3 68.3,0 0,0 3.6,21.5 645,645 0,0 0,-84.8 140zM182.1,827.1a577.6,577.6 0,0 1,76.8 -144.9,68.8 68.8,0 0,0 98.9,-21.5 996.1,996.1 0,0 0,193.1 43,780.8 780.8,0 0,0 20.1,160.3 37,37 0,1 0,18.6 69.3c2.7,8.9 5.6,17.8 8.6,26.8l0.1,0.1a454.9,454.9 0,0 1,-416.2 -133.1zM747.9,902.4a453.2,453.2 0,0 1,-115.8 49.7c-3.9,-12.7 -6.9,-15.4 -10.2,-27.8 0,0 17.8,-15.6 13.2,-37.5s-29,-30.9 -30.4,-29.5c-12,-56.8 -12.7,-101.3 -13.6,-149.7a1028.3,1028.3 0,0 0,126.4 2.2,68.9 68.9,0 0,0 49.3,53 700,700 0,0 1,-18.9 139.6zM789.1,874.3a709.9,709.9 0,0 0,18.7 -112.9,68.8 68.8,0 0,0 46.4,-64.9l-0.1,-1.2c27.1,-4.7 54.9,-10.7 83,-17.6a457.2,457.2 0,0 1,-148 196.5zM844.2,661.4a68.8,68.8 0,0 0,-40 -30.7,485.2 485.2,0 0,0 -53.4,-159 134.1,134.1 0,0 1,-34.2 30,534.6 534.6,0 0,1 41.1,131.6 69.1,69.1 0,0 0,-37.1 39.5,1023.9 1023.9,0 0,1 -129.2,-4.2 595,595 0,0 1,24.4 -150.2,135 135,0 0,1 -36.1,-14 607.9,607.9 0,0 0,-28.2 159.6,1039.3 1039.3,0 0,1 -184.2,-42.6 68.9,68.9 0,0 0,-14.9 -38.5,714.8 714.8,0 0,1 187.8,-112.3 135.1,135.1 0,0 1,-22.6 -42.1,744.2 744.2,0 0,0 -202.1,130.6 67.2,67.2 0,0 0,-16.8 -2.4,68.7 68.7,0 0,0 -47.5,19.2q-33.6,-15.5 -63,-31.4a53.8,53.8 0,0 0,-12.4 -65.8c47.3,-103.6 110.9,-179.2 178,-234.3a54.3,54.3 0,0 0,79.4 -13.3,706.6 706.6,0 0,1 112.2,66.3 136.6,136.6 0,0 1,25.6 -22.5,876.4 876.4,0 0,0 -129.2,-76.1 53.7,53.7 0,0 0,-2.5 -13.8c113,-65.5 220,-83.5 262.1,-88.2a456.9,456.9 0,0 1,126.1 85.5,617.2 617.2,0 0,0 -109.2,91.1 135.6,135.6 0,0 1,29.5 25.5,516.7 516.7,0 0,1 110.8,-83.7 455.6,455.6 0,0 1,81.6 139.2,1151.6 1151.6,0 0,0 -162,6.4 128.8,128.8 0,0 1,1.2 45.3,1173.8 1173.8,0 0,1 173,-13.4 448.6,448.6 0,0 1,-2 246.6c-36,9.3 -71.6,16.8 -106.2,22.2zM854.1,695.4v-0.1,0.1z"/>
|
||||
<path android:fillColor="#080808" android:pathData="M549.3,385.5a95.8,95.8 0,1 1,95.8 95.8,95.8 95.8,0 0,1 -95.8,-95.8z"/>
|
||||
<path android:fillColor="#080808" android:pathData="M582.9,385.5a62.3,62.3 0,1 0,62.3 -60.2,62.3 62.3,0 0,0 -62.3,60.2z"/>
|
||||
<path android:fillColor="#080808" android:pathData="M645.2,381.1m-31,0a31,31 0,1 0,62 0,31 31,0 1,0 -62,0Z"/>
|
||||
<path android:fillColor="#080808" android:pathData="M648.5,387.5m-102.4,0a102.4,102.4 0,1 0,204.8 0,102.4 102.4,0 1,0 -204.8,0Z"/>
|
||||
</vector>
|
||||
@@ -0,0 +1,5 @@
|
||||
<vector android:height="24dp" android:viewportHeight="1024.0"
|
||||
android:viewportWidth="1024.0" android:width="24dp" xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<path android:fillColor="#d81e06" android:pathData="M313.7,153.5a41,41 0,0 1,39.7 71.7A327.5,327.5 0,0 0,184.3 512c0,181 146.7,327.7 327.7,327.7s327.7,-146.7 327.7,-327.7c0,-116.7 -61.4,-222.7 -159.8,-281.5a41,41 0,1 1,42 -70.3A409.4,409.4 0,0 1,921.6 512c0,226.2 -183.4,409.6 -409.6,409.6S102.4,738.2 102.4,512A409.4,409.4 0,0 1,313.7 153.5z"/>
|
||||
<path android:fillColor="#d81e06" android:pathData="M471,102.4m41,0l0,0q41,0 41,41l0,409.6q0,41 -41,41l0,0q-41,0 -41,-41l0,-409.6q0,-41 41,-41Z"/>
|
||||
</vector>
|
||||
@@ -114,6 +114,183 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical">
|
||||
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="150dp">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="150dp"
|
||||
android:background="@color/drawer_bg"
|
||||
android:orientation="vertical">
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0dp"
|
||||
android:layout_weight="1.7">
|
||||
|
||||
<android.support.v7.widget.CardView
|
||||
android:layout_width="60dp"
|
||||
android:layout_height="60dp"
|
||||
android:layout_marginLeft="20dp"
|
||||
android:layout_marginTop="20dp"
|
||||
app:cardCornerRadius="30dp">
|
||||
|
||||
<ImageView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:scaleType="centerCrop"
|
||||
android:src="@drawable/test_avatar" />
|
||||
|
||||
|
||||
</android.support.v7.widget.CardView>
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0dp"
|
||||
android:layout_weight="1"
|
||||
android:orientation="vertical"
|
||||
android:paddingLeft="20dp">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="Mr.Jiang"
|
||||
android:textColor="@color/white_text"
|
||||
android:textSize="18sp" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
<ImageView
|
||||
android:layout_width="120dp"
|
||||
android:layout_height="120dp"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_marginRight="15dp"
|
||||
android:alpha="0.06"
|
||||
android:src="@drawable/ic_drawer_bg" />
|
||||
</RelativeLayout>
|
||||
|
||||
<ScrollView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical"
|
||||
android:paddingTop="5dp">
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="40dp">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerVertical="true"
|
||||
android:orientation="horizontal"
|
||||
android:paddingLeft="10dp">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:text="手机号:"
|
||||
android:textSize="14sp" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="15dp"
|
||||
android:layout_height="match_parent" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:text="13688434001"
|
||||
android:textSize="14sp" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<ImageView
|
||||
android:layout_width="25dp"
|
||||
android:layout_height="25dp"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_marginRight="10dp"
|
||||
android:alpha="0.8"
|
||||
android:src="@drawable/ic_right_row" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0.5dp"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:background="@color/place_holder" />
|
||||
</RelativeLayout>
|
||||
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="15dp"
|
||||
android:text="已绑定的亲人"
|
||||
android:textSize="14sp" />
|
||||
|
||||
<android.support.v7.widget.RecyclerView
|
||||
android:id="@+id/people_recycler_view"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
</android.support.v7.widget.RecyclerView>
|
||||
|
||||
<ImageView
|
||||
android:layout_width="40dp"
|
||||
android:layout_height="40dp"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:layout_marginTop="10dp"
|
||||
android:src="@drawable/ic_add" />
|
||||
|
||||
<android.support.v7.widget.CardView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="40dp"
|
||||
android:layout_margin="20dp"
|
||||
app:cardCornerRadius="10dp">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:gravity="center_vertical"
|
||||
|
||||
android:orientation="horizontal">
|
||||
|
||||
<ImageView
|
||||
android:layout_width="35dp"
|
||||
android:layout_height="35dp"
|
||||
android:layout_marginLeft="10dp"
|
||||
android:src="@drawable/ic_log_out" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:gravity="center"
|
||||
android:text="退出登录" />
|
||||
</LinearLayout>
|
||||
|
||||
</android.support.v7.widget.CardView>
|
||||
</LinearLayout>
|
||||
</ScrollView>
|
||||
|
||||
</LinearLayout>
|
||||
</com.mxn.soul.flowingdrawer_core.FlowingMenuLayout>
|
||||
|
||||
</com.mxn.soul.flowingdrawer_core.FlowingDrawer>
|
||||
|
||||
@@ -19,4 +19,5 @@
|
||||
<color name="white_text">#FFF</color>
|
||||
|
||||
<color name="text_gray">#999494</color>
|
||||
<color name="drawer_bg">#279ae2</color>
|
||||
</resources>
|
||||
|
||||
1
android/图标/关机.svg
Normal file
1
android/图标/关机.svg
Normal file
@@ -0,0 +1 @@
|
||||
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1566379915976" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4704" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><defs><style type="text/css"></style></defs><path d="M313.67168 153.53856a40.96 40.96 0 0 1 39.7312 71.65952A327.53664 327.53664 0 0 0 184.32 512c0 180.98176 146.69824 327.68 327.68 327.68s327.68-146.69824 327.68-327.68c0-116.67456-61.44-222.65856-159.78496-281.45664a40.96 40.96 0 1 1 42.04544-70.30784A409.35424 409.35424 0 0 1 921.6 512c0 226.22208-183.37792 409.6-409.6 409.6S102.4 738.22208 102.4 512A409.43616 409.43616 0 0 1 313.67168 153.53856z" fill="#d81e06" p-id="4705"></path><path d="M471.04 102.4m40.96 0l0 0q40.96 0 40.96 40.96l0 409.6q0 40.96-40.96 40.96l0 0q-40.96 0-40.96-40.96l0-409.6q0-40.96 40.96-40.96Z" fill="#d81e06" p-id="4706"></path></svg>
|
||||
|
After Width: | Height: | Size: 990 B |
1
android/图标/添加.svg
Normal file
1
android/图标/添加.svg
Normal file
@@ -0,0 +1 @@
|
||||
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1566379690348" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="3896" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><defs><style type="text/css"></style></defs><path d="M791.46666666 183.46666667h-537.6a51.2 51.2 0 0 0-51.2 51.2v537.6a51.2 51.2 0 0 0 51.2 51.2h537.6a51.2 51.2 0 0 0 51.2-51.2V234.66666667a51.2 51.2 0 0 0-51.2-51.2z m12.8 576a25.6 25.6 0 0 1-25.6 25.6h-512a25.6 25.6 0 0 1-25.6-25.6V247.46666667a25.6 25.6 0 0 1 25.6-25.6h512a25.6 25.6 0 0 1 25.6 25.6v512z" fill="#666666" p-id="3897"></path><path d="M714.66666666 484.26666667h-384v0.1664c-0.5376-0.0384-1.0496-0.1664-1.6-0.1664a19.2 19.2 0 0 0 0 38.4c0.5376 0 1.0624-0.1152 1.6-0.1792v0.1792h384a19.2 19.2 0 0 0 0-38.4z" fill="#666666" p-id="3898"></path><path d="M502.67306666 310.67306667v384h0.1664c-0.0384 0.5376-0.1664 1.0496-0.1664 1.6a19.2 19.2 0 0 0 38.4 0c0-0.5376-0.1152-1.0624-0.1792-1.6h0.1792v-384a19.2 19.2 0 0 0-38.4 0z" fill="#666666" p-id="3899"></path></svg>
|
||||
|
After Width: | Height: | Size: 1.1 KiB |
1
android/图标/网络.svg
Normal file
1
android/图标/网络.svg
Normal file
File diff suppressed because one or more lines are too long
|
After Width: | Height: | Size: 5.3 KiB |
Reference in New Issue
Block a user