【无标题】

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

效果如下:

相关推荐
C_心欲无痕1 天前
git - git push同时推送GitHub和Gitee两个远程仓库
git·gitee·github
-拟墨画扇-2 天前
Git | 变基操作
git·gitee·github·gitcode
lifewange2 天前
Git/Gitee/GitHub有什么区别
git·gitee·github
CDwenhuohuo2 天前
移动端app获取wifi步骤 用的uni
gitee
王家视频教程图书馆2 天前
提交到gitee
gitee
麦克马4 天前
GameplayAbilitiesSystem(二)
gitee
-拟墨画扇-4 天前
Git | 标签操作
git·gitee·github·gitcode
-拟墨画扇-4 天前
Git | 远程仓库操作
git·gitee·github
-拟墨画扇-4 天前
Git | 配置别名操作
git·gitee·github·gitcode