【无标题】

<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 天前
解锁Android的隐藏超链接:Deep Link与App Link探秘
android·gitee
Luna-player2 天前
gitee上的vue项目,刚刚创建了一个分支,怎么在本地上拉取分支项目
前端·vue.js·gitee
Real-Staok4 天前
Git 积累 & 常用命令
git·gitee·github
破无差5 天前
Gitee导入的Github仓库同步更新
gitee·github
狐575 天前
2026-03-15-因服务器网络访问问题从 GitHub 平滑迁移至 Gitee 等国内平台的方法
服务器·gitee·github
Android系统攻城狮6 天前
Android16进阶之MediaPlayer.setAudioAttributes调用流程与实战(二百三十六)
gitee·android16·音频进阶·android hal
Luna-player7 天前
springData
gitee
CRMEB7 天前
电商项目中订单流程可以使用哪些设计模式?如何开发?
java·设计模式·gitee·开源·php·crmeb
常利兵8 天前
一文搞懂双Token、SSO与第三方权限打通,附实战代码
python·gitee·kotlin
fei_sun8 天前
Gitee代码上传
gitee