Android RelativeLayout 相对布局

Android RelativeLayout 相对布局,第1张

概述<?xmlversion="1.0"encoding="utf-8"?><RelativeLayoutxmlns:android="http://schemas.android.com/apkes/android"xmlns:app="http://schemas.android.com/apkes-auto"xmlns:tools="http://schemas
<?xml version="1.0" enCoding="utf-8"?><relativeLayout xmlns:androID="http://schemas.androID.com/apk/res/androID"    xmlns:app="http://schemas.androID.com/apk/res-auto"    xmlns:tools="http://schemas.androID.com/tools"    androID:layout_wIDth="match_parent"    androID:layout_height="match_parent"    tools:context=".MainActivity"    androID:orIEntation="vertical">    <TextVIEw        androID:ID="@+ID/one"        androID:layout_centerInParent="true"        androID:layout_wIDth="120dp"        androID:layout_height="120dp"        androID:background="#4593Ec"        androID:gravity="center"        androID:text="1"        androID:textcolor="@color/white"        androID:textSize="40sp"/>    <TextVIEw        androID:ID="@+ID/two"        androID:layout_alignParentBottom="true"        androID:layout_wIDth="120dp"        androID:layout_height="120dp"        androID:background="#7DB145"        androID:gravity="center"        androID:text="2"        androID:textcolor="@color/white"        androID:textSize="25sp"/>    <TextVIEw        androID:ID="@+ID/three"        androID:layout_alignParentRight="true"        androID:layout_wIDth="120dp"        androID:layout_height="120dp"        androID:background="#F10000"        androID:gravity="center"        androID:text="3"        androID:textcolor="@color/white"        androID:textSize="25sp"/></relativeLayout>@H_502_7@

总结

以上是内存溢出为你收集整理的Android RelativeLayout 相对布局全部内容,希望文章能够帮你解决Android RelativeLayout 相对布局所遇到的程序开发问题。

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。

欢迎分享,转载请注明来源:内存溢出

原文地址:https://54852.com/web/1037059.html

(0)
打赏 微信扫一扫微信扫一扫 支付宝扫一扫支付宝扫一扫
上一篇 2022-05-24
下一篇2022-05-24

发表评论

登录后才能评论

评论列表(0条)

    保存