【无标题】

<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>

效果如下:

相关推荐
嵌入式学习菌1 天前
Gitee使用方法
gitee
妙娲种子2 天前
gittee连接github镜像
gitee·github
ros2752292 天前
idea & gitee 使用教程
java·gitee·intellij-idea
Mo_YuO.o3 天前
git的安装以及本地仓库的创建
git·gitee·github
胖虎14 天前
从一个自定义的下载Dialog,说清 Android 自定义弹窗的关键点。
android·dialog·gitee·自定义弹窗
zhengxianyi5155 天前
使用码云gitee登录ruoyi-vue-pro——坑比较多
前端·vue.js·gitee·ruoyi-vue-pro优化·三方登陆
介一安全5 天前
国内 GitHub 仓库下载提速
gitee·github
阿杰 AJie6 天前
Git 分支与多人开发使用指南(Gitee + 本地 Git)
git·elasticsearch·gitee
Howrun7777 天前
Git从入门到精通
git·gitee
bing_feilong8 天前
gitee pull 总是需要用户名和密码,该如何设置?
git·gitee