【无标题】

<LinearLayout

android:layout_width="match_parent"

android:layout_height="wrap_content"

android:orientation="horizontal"

android:gravity="center_vertical"

android:layout_marginBottom="10dp"

android:padding="5dp"

android:background="#fff3e0">

<TextView

android:layout_width="0dp"

android:layout_height="wrap_content"

android:layout_weight="1"

android:text="坐标转换(GCJ-02→WGS-84)"

android:textSize="14sp"

android:textColor="#333333"/>

<Switch

android:id="@+id/switch_coordinate"

android:layout_width="wrap_content"

android:layout_height="wrap_content"

android:checked="true"

android:layout_marginStart="10dp"/>

</LinearLayout>

效果如下:

相关推荐
7177771 天前
研发平台选哪家比较好:2026年主流平台对比与Gitee选型指南
人工智能·gitee
ai大模型-探索者1 天前
Git在PyCharm中的使用完全指南
pycharm·gitee
明天…ling1 天前
gitee与vscode远程连接
vscode·gitee
我命由我123452 天前
Git 推送报错:error: src refspec main does not match any
运维·git·gitee·github·运维开发·学习方法·版本控制
烛之武3 天前
Git教程笔记
git·gitee
7177774 天前
国内组件安全扫描工具选哪家:2026年主流方案对比与选型指南
人工智能·gitee
tryCbest4 天前
git实现前后端分离项目提交同一个仓库
git·gitee
Mr.朱鹏4 天前
Git 仓库同时推送到 Gitee 与 GitHub 配置指南
git·gitee·开源·github
7177774 天前
GitHub 企业国产替代选型:Gitee 与主流平台对比及迁移要点
人工智能·gitee
7177775 天前
中小团队 DevOps 平台选哪家:2026 年主流平台对比与 Gitee 本土化方案解析
人工智能·gitee