fix(ui): 移除硬编码文本并添加操作提示
- 移除了任务头部的硬编码文本内容 - 移除了内容区域的硬编码文本内容 - 添加了滑动选择操作提示文本 - 配置了提示文本的样式和布局约束 - 设置了底部间距和居中对齐效果
这个提交包含在:
父节点
be832b7d77
当前提交
f20255947c
@ -12,7 +12,6 @@
|
||||
android:id="@+id/tvTaskHeader"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="130工序要求如下:"
|
||||
android:textColor="#ff40FF5E"
|
||||
android:background="@drawable/bg_item"
|
||||
android:textSize="20sp"
|
||||
@ -24,7 +23,6 @@
|
||||
android:layout_width="0dp"
|
||||
android:background="@drawable/bg_item"
|
||||
android:layout_height="220dp"
|
||||
android:text="采用手工铺贴,按操作规程CD1442要求进行铺贴,将铺层信息填写在表SAMC 31-71《零件铺层信息、生产记录表》中,并扫描上传。 1)I型表面胶膜铺贴最大搭接6mm或对接最大间隙1.5mm。按投影线及工装余量刻线进行铺贴。 2)织物铺层的方向公差为±5°,铺贴中允许搭接13mm~25mm或对接间隙≤1.5mm,拼缝错开至少25mm,同向铺层之间可以每隔4层重复拼缝的错开位置。按投影线及工装余量刻线进行铺贴,加强层铺贴位置公差为投影位置±2.5mm。"
|
||||
android:textColor="#ff40FF5E"
|
||||
android:layout_marginTop="10dp"
|
||||
android:lineHeight="20sp"
|
||||
@ -43,6 +41,21 @@
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@id/content" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/hint"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="28dp"
|
||||
android:layout_marginEnd="28dp"
|
||||
android:layout_marginBottom="56dp"
|
||||
android:gravity="center"
|
||||
android:lineSpacingExtra="6dp"
|
||||
android:text="滑动选择同意后单击或语音输入“同意”触发同意操作\n滑动选择拒绝后单击或语音输入“拒绝”触发拒绝操作\n双击或语音输入“返回”返回上级页面"
|
||||
android:textColor="#4AFE59"
|
||||
android:textSize="14sp"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent" />
|
||||
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
||||
正在加载...
在新工单中引用
屏蔽一个用户