当前位置: 首页 > news >正文

企业网站功能怎么设计百度官方网

企业网站功能怎么设计,百度官方网,哪些网站做的美,wordpress导入微信Android 用约束布局ConstraintLayout实现将多个控件视作一个整体居中显示,使用 app:layout_constraintHorizontal_chainStyle"packed"实现 chain 除了链条方向有横向和竖向区分外, chain链条上的模式有 3种 spread - 元素将被展开&#…

Android 用约束布局ConstraintLayout实现将多个控件视作一个整体居中显示,使用       app:layout_constraintHorizontal_chainStyle="packed"实现

chain 除了链条方向有横向和竖向区分外, chain链条上的模式有 3种

  •    spread - 元素将被展开(默认样式) 。加权链 - 在spread模式下,如果某些小部件设置为MATCH_CONSTRAINT,则它们将拆分可用空间 
  •    spread_inside - 类似,但链的端点将不会扩展 
  •    packed - 链的元素将被打包在一起。 孩子的水平或垂直偏差属性将影响包装元素的定位
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout 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"><!-- 作为父布局的 ConstraintLayout --><androidx.constraintlayout.widget.ConstraintLayoutandroid:layout_width="match_parent"android:layout_height="wrap_content"app:layout_constraintVertical_chainStyle="packed"app:layout_constraintBottom_toBottomOf="parent"app:layout_constraintEnd_toEndOf="parent"app:layout_constraintStart_toStartOf="parent"app:layout_constraintTop_toTopOf="parent"><!-- TextView 1 --><TextViewandroid:id="@+id/textView1"android:layout_width="wrap_content"android:layout_height="wrap_content"app:layout_constraintTop_toTopOf="parent"app:layout_constraintBottom_toBottomOf="parent"app:layout_constraintStart_toStartOf="parent"android:background="#ff0000"app:layout_constraintHorizontal_chainStyle="packed"android:text="Text 1"app:layout_constraintEnd_toStartOf="@+id/textView2"/><!-- TextView 2 --><TextViewandroid:id="@+id/textView2"android:layout_width="wrap_content"android:layout_height="wrap_content"app:layout_constraintTop_toTopOf="parent"android:background="#00ff00"app:layout_constraintBottom_toBottomOf="parent"android:text="Text 2"app:layout_constraintStart_toEndOf="@id/textView1" app:layout_constraintEnd_toStartOf="@id/textView3"/><TextViewandroid:id="@+id/textView3"android:layout_width="wrap_content"android:layout_height="wrap_content"app:layout_constraintTop_toTopOf="parent"app:layout_constraintBottom_toBottomOf="parent"app:layout_constraintRight_toRightOf="parent"android:background="#0000ff"android:text="Text 3"app:layout_constraintLeft_toRightOf="@id/textView2" /></androidx.constraintlayout.widget.ConstraintLayout>
</androidx.constraintlayout.widget.ConstraintLayout>

显示效果如下所示:

http://www.mmbaike.com/news/84745.html

相关文章:

  • 密云富阳网站建设seo自动推广软件
  • 国外html5网站欣赏免费制作小程序平台
  • 大型网站开发 c免费百度下载
  • 哪个网站做房子团购公司做网站怎么做
  • 网站建设方案意见百度网络推广营销
  • 专门做礼物的网站必应搜索网站
  • 网站服务器拒绝连接什么是百度搜索推广
  • 网站开发计划时间app拉新平台
  • 常德烟机网站株洲seo优化报价
  • wordpress做的外贸网站产品怎么进行推广
  • 胶州城乡建设局网站沧州网站建设推广
  • 网站制作.关键字c语言
  • 什么网站有题目做网络营销技术
  • 行业网站建设费用2024年疫情还会封控吗
  • 网站建设完提交百度推广链接点击器网页
  • 攻略网站的建设亚马逊alexa
  • 深圳企业网站开发公司网站seo招聘
  • 杭州企业如何建网站营销推广软文案例
  • 腕表之家网站如何做好产品网络推广
  • 傻瓜式网站简单界面个人网站推广
  • 有个人代做网站的吗惠州seo怎么做
  • 网站如何做提交的报名表网络推广是干嘛的
  • 做免费导航网站电脑网络优化软件
  • 网站制作制作西安关键字优化哪家好
  • 真人做视频网站网上互联网推广
  • wordpress 屏蔽中文浏览器蔡甸seo排名公司
  • 帝国做的网站 news.url获取不到地址啊免费的b2b平台
  • 网站由哪些部分组成部分电商运营数据六大指标
  • 通辽网站开发抖音推广渠道有哪些
  • 胶州企业网站设计seo网页优化平台