feat: 添加接待模式和HTTP工作流集成
- 新增接待模式:机器人可前往指定位置,检测到人后显示确认按钮 - 添加HttpManager用于执行HTTP工作流,支持Home Base的人员检测触发 - 移除repose监控功能,改用OnReposeStatusChangedListener回调 - 简化界面布局,移除随机表情和说话按钮 - 在AndroidManifest中添加usesCleartextTraffic以允许HTTP通信
This commit is contained in:
@@ -22,26 +22,16 @@
|
||||
android:layout_height="500dp"
|
||||
android:layout_centerInParent="true" />
|
||||
|
||||
<LinearLayout
|
||||
<Button
|
||||
android:id="@+id/btnReception"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_marginBottom="32dp"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<Button
|
||||
android:id="@+id/btnRandomExpression"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginEnd="16dp"
|
||||
android:text="@string/btn_random_expression" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/btnSpeak"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/btn_speak" />
|
||||
</LinearLayout>
|
||||
android:layout_marginBottom="100dp"
|
||||
android:text="是的"
|
||||
android:textSize="24sp"
|
||||
android:padding="20dp"
|
||||
android:visibility="gone" />
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
Reference in New Issue
Block a user