feat(plc): 添加环境切换功能
- 在PLC设置页面增加环境切换按钮 - 集成EnvSwitchDialog对话框组件 - 实现切换环境按钮点击事件处理 - 配置环境切换界面布局和样式 - 添加环境相关的UI元素和交互逻辑
This commit is contained in:
@@ -268,6 +268,28 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="30dp" />
|
||||
</LinearLayout>
|
||||
|
||||
<!-- ===== 出盘操作 ===== -->
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="24dp"
|
||||
android:text="环境"
|
||||
android:textColor="#FFCC99"
|
||||
android:textSize="20sp"
|
||||
android:textStyle="bold" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/btnSwitchEnv"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="60dp"
|
||||
android:layout_marginTop="10dp"
|
||||
android:background="@drawable/btn_outline"
|
||||
android:gravity="center"
|
||||
android:text="切换环境"
|
||||
android:textColor="#FFCC99"
|
||||
android:textSize="22sp" />
|
||||
|
||||
</LinearLayout>
|
||||
</ScrollView>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user