自定义NavigationItem,新增群组创建页面
This commit is contained in:
35
app/src/main/res/drawable/rider_pro_nav_message.xml
Normal file
35
app/src/main/res/drawable/rider_pro_nav_message.xml
Normal file
@@ -0,0 +1,35 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="24"
|
||||
android:viewportHeight="24">
|
||||
|
||||
<group
|
||||
android:translateX="-351"
|
||||
android:translateY="-797">
|
||||
<group
|
||||
android:translateY="791">
|
||||
<group
|
||||
android:translateX="351"
|
||||
android:translateY="6">
|
||||
<path
|
||||
android:fillType="evenOdd"
|
||||
android:strokeWidth="1"
|
||||
android:pathData="M 0 0 L 24 0 L 24 24 L 0 24 Z" />
|
||||
<path
|
||||
android:fillType="evenOdd"
|
||||
android:strokeColor="#000000"
|
||||
android:strokeWidth="1.93476923"
|
||||
android:strokeLineJoin="round"
|
||||
android:strokeLineCap="round"
|
||||
android:pathData="M 12 3 C 14.2091389993 3 16 4.79086100068 16 7 C 16 9.20913899932 14.2091389993 11 12 11 C 9.79086100068 11 8 9.20913899932 8 7 C 8 4.79086100068 9.79086100068 3 12 3 Z" />
|
||||
<path
|
||||
android:fillType="evenOdd"
|
||||
android:strokeColor="#000000"
|
||||
android:strokeWidth="1.93476923"
|
||||
android:pathData="M12,14 C16.418278,14 20,16.0147186 20,18.5 C20,19.3079805 19.6214332,20.0662253 18.9586285,20.7216744 C18.5467837,20.900999 18.0920303,21 17.6141538,21 L6.38584615,21 C5.90796974,21 5.45321625,20.900999 5.04097677,20.7223879 C4.37856678,20.0662253 4,19.3079805 4,18.5 C4,16.0147186 7.581722,14 12,14 Z" />
|
||||
</group>
|
||||
</group>
|
||||
</group>
|
||||
</vector>
|
||||
@@ -1,20 +1,35 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="24"
|
||||
android:viewportHeight="24">
|
||||
<path
|
||||
android:pathData="M12,9m-6,0a6,6 0,1 1,12 0a6,6 0,1 1,-12 0"
|
||||
android:strokeWidth="1.93476923"
|
||||
android:fillColor="#00000000"
|
||||
android:strokeColor="#FFFFFF"
|
||||
android:fillType="evenOdd"/>
|
||||
<path
|
||||
android:pathData="M2.906,20.25C4.782,17.001 8.248,14.999 12,14.999C15.752,14.999 19.218,17.001 21.094,20.25"
|
||||
android:strokeLineJoin="round"
|
||||
android:strokeWidth="1.93476923"
|
||||
android:fillColor="#00000000"
|
||||
android:strokeColor="#FFFFFF"
|
||||
android:fillType="evenOdd"
|
||||
android:strokeLineCap="round"/>
|
||||
</vector>
|
||||
|
||||
<group
|
||||
android:translateX="-351"
|
||||
android:translateY="-797">
|
||||
<group
|
||||
android:translateY="791">
|
||||
<group
|
||||
android:translateX="351"
|
||||
android:translateY="6">
|
||||
<path
|
||||
android:fillType="evenOdd"
|
||||
android:strokeWidth="1"
|
||||
android:pathData="M 0 0 L 24 0 L 24 24 L 0 24 Z" />
|
||||
<path
|
||||
android:fillType="evenOdd"
|
||||
android:strokeColor="#000000"
|
||||
android:strokeWidth="1.93476923"
|
||||
android:strokeLineJoin="round"
|
||||
android:strokeLineCap="round"
|
||||
android:pathData="M 12 3 C 14.2091389993 3 16 4.79086100068 16 7 C 16 9.20913899932 14.2091389993 11 12 11 C 9.79086100068 11 8 9.20913899932 8 7 C 8 4.79086100068 9.79086100068 3 12 3 Z" />
|
||||
<path
|
||||
android:fillType="evenOdd"
|
||||
android:strokeColor="#000000"
|
||||
android:strokeWidth="1.93476923"
|
||||
android:pathData="M12,14 C16.418278,14 20,16.0147186 20,18.5 C20,19.3079805 19.6214332,20.0662253 18.9586285,20.7216744 C18.5467837,20.900999 18.0920303,21 17.6141538,21 L6.38584615,21 C5.90796974,21 5.45321625,20.900999 5.04097677,20.7223879 C4.37856678,20.0662253 4,19.3079805 4,18.5 C4,16.0147186 7.581722,14 12,14 Z" />
|
||||
</group>
|
||||
</group>
|
||||
</group>
|
||||
</vector>
|
||||
11
app/src/main/res/drawable/tab_indicator_unselected.xml
Normal file
11
app/src/main/res/drawable/tab_indicator_unselected.xml
Normal file
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="34dp"
|
||||
android:height="4dp"
|
||||
android:viewportWidth="34"
|
||||
android:viewportHeight="4">
|
||||
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M0,2C0,0.895 0.895,0 2,0L32,0C33.105,0 34,0.895 34,2C34,3.105 33.105,4 32,4L2,4C0.895,4 0,3.105 0,2Z"/>
|
||||
</vector>
|
||||
BIN
app/src/main/res/mipmap-xhdpi/tab_indicator_selected.png
Normal file
BIN
app/src/main/res/mipmap-xhdpi/tab_indicator_selected.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 650 B |
@@ -162,5 +162,9 @@
|
||||
<string name="friend_chat_empty_subtitle">开始与朋友对话吧</string>
|
||||
<string name="friend_chat_me_prefix">我: </string>
|
||||
<string name="friend_chat_load_failed">加载失败</string>
|
||||
<string name="create_group_chat">创建群聊</string>
|
||||
<string name="quick_create">一键创建</string>
|
||||
<string name="group_name">群聊名称</string>
|
||||
<string name="search_placeholder">搜索</string>
|
||||
|
||||
</resources>
|
||||
@@ -158,5 +158,9 @@
|
||||
<string name="friend_chat_empty_subtitle">开始与朋友对话吧</string>
|
||||
<string name="friend_chat_me_prefix">我: </string>
|
||||
<string name="friend_chat_load_failed">加载失败</string>
|
||||
<string name="create_group_chat">Create Group Chat</string>
|
||||
<string name="quick_create">Quick Create</string>
|
||||
<string name="group_name">Group Name</string>
|
||||
<string name="search_placeholder">Search</string>
|
||||
|
||||
</resources>
|
||||
Reference in New Issue
Block a user