添加新的表单文本输入组件 FormTextInput2,包含错误提示和动态显示功能;新增图标和图片资源。
This commit is contained in:
@@ -1,12 +1,34 @@
|
||||
<?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="M9.5,6L12.5,10L15.5,6L19,6L14.5,12L19,18L15.5,18L12.5,14L9.5,18L6,18L10.5,12L6,6L9.5,6Z"
|
||||
android:strokeWidth="1"
|
||||
android:fillColor="#000000"
|
||||
android:fillType="evenOdd"
|
||||
android:strokeColor="#00000000"/>
|
||||
</vector>
|
||||
|
||||
<group
|
||||
android:translateX="-16"
|
||||
android:translateY="-64">
|
||||
<group
|
||||
android:translateX="16"
|
||||
android:translateY="64">
|
||||
<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="3"
|
||||
android:strokeLineJoin="round"
|
||||
android:strokeLineCap="round"
|
||||
android:pathData="M 18 6 L 6 18" />
|
||||
<path
|
||||
android:fillType="evenOdd"
|
||||
android:strokeColor="#000000"
|
||||
android:strokeWidth="3"
|
||||
android:strokeLineJoin="round"
|
||||
android:strokeLineCap="round"
|
||||
android:pathData="M 6 6 L 18 18" />
|
||||
</group>
|
||||
</group>
|
||||
</vector>
|
||||
@@ -7,32 +7,27 @@
|
||||
|
||||
<group
|
||||
android:translateX="2"
|
||||
android:translateY="4">
|
||||
android:translateY="2.945">
|
||||
<path
|
||||
android:fillType="evenOdd"
|
||||
android:strokeColor="#000"
|
||||
android:strokeWidth="1.778"
|
||||
android:pathData="M7.273 10.777c4.016 0 7.272 1.791 7.272 4 0 0.706-0.331 1.368-0.914 1.944-0.392 0.179 -0.828 0.278 -1.288 0.278 H2.202a3.1 3.1 0 0 1-1.288-0.278C0.332 16.145 0 15.483 0 14.777c0-2.209 3.256-4 7.273-4z" />
|
||||
android:strokeWidth="2"
|
||||
android:pathData="M13 14.055c3.314 0 6 1.44 6 3.215 0 0.564-0.272 1.095-0.749 1.556-0.324 0.147 -0.684 0.23 -1.063 0.23 H8.812c-0.379 0-0.739-0.083-1.062-0.23-0.478-0.461-0.75-0.992-0.75-1.556 0-1.775 2.686-3.215 6-3.215zm0-3a3 3 0 1 0 0-6 3 3 0 0 0 0 6z" />
|
||||
<path
|
||||
android:fillType="evenOdd"
|
||||
android:strokeColor="#000"
|
||||
android:strokeWidth="1.778"
|
||||
android:strokeLineJoin="round"
|
||||
android:strokeWidth="2"
|
||||
android:pathData="M 5 2.056 C 6.38071187458 2.056 7.5 3.20707590819 7.5 4.627 C 7.5 6.04692409181 6.38071187458 7.198 5 7.198 C 3.61928812542 7.198 2.5 6.04692409181 2.5 4.627 C 2.5 3.20707590819 3.61928812542 2.056 5 2.056 Z" />
|
||||
<path
|
||||
android:fillType="evenOdd"
|
||||
android:strokeColor="#000"
|
||||
android:strokeWidth="2"
|
||||
android:pathData="M5.677 14.055H1.51c-0.312 0-0.608-0.066-0.875-0.187C0.23 13.471 0 13.013 0 12.525 0 11.003 2.239 9.77 5 9.77c1.558 0 2.95 0.393 3.867 1.008" />
|
||||
<path
|
||||
android:fillType="evenOdd"
|
||||
android:strokeColor="#110C13"
|
||||
android:strokeWidth="1.5"
|
||||
android:strokeLineCap="round"
|
||||
android:pathData="M16.491 17h1.236c0.5 0 2.273-0.398 2.273-2.223 0-1.49-1.482-2.79-3.68-3.478" />
|
||||
<path
|
||||
android:fillType="evenOdd"
|
||||
android:strokeColor="#000"
|
||||
android:strokeWidth="1.778"
|
||||
android:strokeLineJoin="round"
|
||||
android:strokeLineCap="round"
|
||||
android:pathData="M 7.273 0 C 9.28110735038 0 10.909 1.59162771435 10.909 3.555 C 10.909 5.51837228565 9.28110735038 7.11 7.273 7.11 C 5.26489264962 7.11 3.637 5.51837228565 3.637 3.555 C 3.637 1.59162771435 5.26489264962 0 7.273 0 Z" />
|
||||
<path
|
||||
android:fillType="evenOdd"
|
||||
android:strokeColor="#000"
|
||||
android:strokeWidth="1.778"
|
||||
android:strokeLineJoin="round"
|
||||
android:strokeLineCap="round"
|
||||
android:pathData="M13.636 0.116 c1.61 0.402 2.735 1.82 2.735 3.444 0 1.624-1.126 3.041-2.735 3.444" />
|
||||
android:pathData="M16.364 2h4M18.364 0v4" />
|
||||
</group>
|
||||
</vector>
|
||||
32
app/src/main/res/drawable/rider_pro_moment_apply.xml
Normal file
32
app/src/main/res/drawable/rider_pro_moment_apply.xml
Normal file
@@ -0,0 +1,32 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="16dp"
|
||||
android:height="16dp"
|
||||
android:viewportWidth="16"
|
||||
android:viewportHeight="16">
|
||||
|
||||
<group>
|
||||
<group>
|
||||
<group>
|
||||
<group>
|
||||
<group>
|
||||
<path
|
||||
android:fillType="evenOdd"
|
||||
android:strokeWidth="1"
|
||||
android:pathData="M0,0 L16,0 L16,16 L0,16 Z" />
|
||||
<path
|
||||
android:fillType="evenOdd"
|
||||
android:strokeColor="#000000"
|
||||
android:strokeWidth="1.33333333"
|
||||
android:strokeLineJoin="round"
|
||||
android:strokeLineCap="round"
|
||||
android:pathData="M14,2 L9.66667,14 C9.60694,14.1303,9.47671,14.2139,9.33333,14.2139
|
||||
C9.18996,14.2139,9.05973,14.1303,9,14 L6.66667,9.33333 L2,7
|
||||
C1.86966,6.94027,1.78609,6.81004,1.78609,6.66667
|
||||
C1.78609,6.52329,1.86966,6.39306,2,6.33333 L14,2" />
|
||||
</group>
|
||||
</group>
|
||||
</group>
|
||||
</group>
|
||||
</group>
|
||||
</vector>
|
||||
BIN
app/src/main/res/mipmap-xhdpi/rider_pro_moment_ai.png
Normal file
BIN
app/src/main/res/mipmap-xhdpi/rider_pro_moment_ai.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.3 KiB |
BIN
app/src/main/res/mipmap-xhdpi/rider_pro_moment_post.png
Normal file
BIN
app/src/main/res/mipmap-xhdpi/rider_pro_moment_post.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.3 KiB |
@@ -125,5 +125,13 @@
|
||||
<string name="agent_desc">设定描述</string>
|
||||
<string name="agent_desc_hint">示例: 一位经验丰富的销售员,擅长通过幽默风趣的语言和生动的案例,将复杂的产品转化为客户易于理解并感兴趣的话题</string>
|
||||
<string name="agent_create">创建智能体</string>
|
||||
<string name="moment_content_hint">需要一些灵感来写文章吗?让人工智能来帮你!</string>
|
||||
<string name="moment_ai_co">AI文案优化</string>
|
||||
<string name="moment_ai_delete">删除</string>
|
||||
<string name="moment_ai_apply">应用</string>
|
||||
<string name="chat_ai">智能体</string>
|
||||
<string name="chat_group">群聊</string>
|
||||
<string name="chat_friend">朋友</string>
|
||||
|
||||
|
||||
</resources>
|
||||
@@ -124,4 +124,11 @@
|
||||
<string name="agent_desc">设定描述</string>
|
||||
<string name="agent_desc_hint">示例: 一位经验丰富的销售员,擅长通过幽默风趣的语言和生动的案例,将复杂的产品转化为客户易于理解并感兴趣的话题</string>
|
||||
<string name="agent_create">创建智能体</string>
|
||||
<string name="moment_content_hint">Need some inspiration for your post? Let AI assist you!</string>
|
||||
<string name="moment_ai_co">AI copywriting optimization</string>
|
||||
<string name="moment_ai_delete">Delete</string>
|
||||
<string name="moment_ai_apply">Apply</string>
|
||||
<string name="chat_ai">Ai</string>
|
||||
<string name="chat_group">Group</string>
|
||||
<string name="chat_friend">Friends</string>
|
||||
</resources>
|
||||
Reference in New Issue
Block a user