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

深圳做网站那家公司好线上推广员是做什么的

深圳做网站那家公司好,线上推广员是做什么的,合肥营销型网站,网站后期维护方案文章目录 一、前言二、绘制效果三、ConstraintLayout 使用方法3.1 创建布局文件3.2 替换配置3.3 设置约束,步骤13.4 设置约束,步骤23.5 其他设置 四、结束 一、前言 在进行Android APP开发过程中,减少layout嵌套即可改善UI的绘制性能&#x…

文章目录

  • 一、前言
  • 二、绘制效果
  • 三、ConstraintLayout 使用方法
    • 3.1 创建布局文件
    • 3.2 替换配置
    • 3.3 设置约束,步骤1
    • 3.4 设置约束,步骤2
    • 3.5 其他设置
  • 四、结束

一、前言

在进行Android APP开发过程中,减少layout嵌套即可改善UI的绘制性能;而ConstraintLayout 布局的出现,直接将Layout扁平化,并且得到了UI绘制工具的很好支持,本文即介绍其用法和注意事项,看完这一篇,即可掌握使用Android的UI工具,绘制APP的方法。

大家可以参考本文末尾的布局,自己练练,看看是不是一下子就掌握了呢?哈哈

作为一个捣鼓BSP的系统开发人员,偶尔也需要弄个APP,所以呢,不得已,搞了一把,在此分享给大家。

二、绘制效果

  • 先给大家看下最终的绘制效果
  • 本文demo的是一个TV Launcher界面的布局绘制
  • 特点:大屏幕、横屏模式,分辨率1920x1080

TV Launcher demo 布局

三、ConstraintLayout 使用方法

3.1 创建布局文件

  • 可随意创建一个布局文件
  • 再创建一个MainActivity来使用这个布局
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"><applicationandroid:allowBackup="true"android:icon="@mipmap/ic_launcher"android:label="@string/app_name"android:supportsRtl="true"android:theme="@style/Theme.XLauncher"><activityandroid:name=".MainActivity"android:exported="true"><intent-filter><action android:name="android.intent.action.MAIN" /><category android:name="android.intent.category.LAUNCHER" /></intent-filter></activity></application></manifest>

3.2 替换配置

  • 按如下格式修改
<?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">  备注:此处必须捆绑一个Activity<Buttonandroid:id="@+id/button2"android:layout_width="146dp"android:layout_height="45dp"android:layout_marginStart="32dp"android:layout_marginTop="16dp"android:text="Button"app:layout_constraintStart_toStartOf="parent"app:layout_constraintTop_toTopOf="parent" /></androidx.constraintlayout.widget.ConstraintLayout>

3.3 设置约束,步骤1

  • 任何一个控件,只需要给出一个一个(x, y)的定位约束,即可

在这里插入图片描述

3.4 设置约束,步骤2

  • 此处是步骤2,也是第一次2种方法,可以将控件约束到已经固定好的控件上
  • 同样只需要固定一个x,y组合即可
    在这里插入图片描述

3.5 其他设置

不用多说了,没有其他了,掌握上面2个就可以开始了,剩余的各位一用即懂了。

四、结束

  • 各位也可参考本文布局,自己试试,是不是一下子,就掌握了~HOHO
    在这里插入图片描述

文章转载自:
http://ken.bpcf.cn
http://filasse.bpcf.cn
http://dangersome.bpcf.cn
http://platinocyanic.bpcf.cn
http://environmentalism.bpcf.cn
http://fifteen.bpcf.cn
http://giber.bpcf.cn
http://ormazd.bpcf.cn
http://draw.bpcf.cn
http://kweiyang.bpcf.cn
http://ashikaga.bpcf.cn
http://resalute.bpcf.cn
http://pachyrhizus.bpcf.cn
http://upslope.bpcf.cn
http://paramour.bpcf.cn
http://semimat.bpcf.cn
http://woolgrower.bpcf.cn
http://disintoxicate.bpcf.cn
http://hydrozoan.bpcf.cn
http://aecium.bpcf.cn
http://semigloss.bpcf.cn
http://synchronological.bpcf.cn
http://xanthein.bpcf.cn
http://refocillate.bpcf.cn
http://wiener.bpcf.cn
http://damaging.bpcf.cn
http://marquessate.bpcf.cn
http://duarchy.bpcf.cn
http://slapdab.bpcf.cn
http://sonobuoy.bpcf.cn
http://tapotement.bpcf.cn
http://decile.bpcf.cn
http://waistcloth.bpcf.cn
http://blackleggery.bpcf.cn
http://leastways.bpcf.cn
http://piracy.bpcf.cn
http://interleaver.bpcf.cn
http://commix.bpcf.cn
http://millage.bpcf.cn
http://helioscope.bpcf.cn
http://sprigtail.bpcf.cn
http://parturition.bpcf.cn
http://prag.bpcf.cn
http://micromicrocurie.bpcf.cn
http://led.bpcf.cn
http://sanatory.bpcf.cn
http://oakum.bpcf.cn
http://contentious.bpcf.cn
http://crabhole.bpcf.cn
http://bowie.bpcf.cn
http://leontiasis.bpcf.cn
http://mumblingly.bpcf.cn
http://schizogenic.bpcf.cn
http://pyrometer.bpcf.cn
http://patrolette.bpcf.cn
http://landaulet.bpcf.cn
http://massiliot.bpcf.cn
http://signorino.bpcf.cn
http://heteronymous.bpcf.cn
http://presentient.bpcf.cn
http://pleuron.bpcf.cn
http://bepaint.bpcf.cn
http://dovelet.bpcf.cn
http://dardic.bpcf.cn
http://dido.bpcf.cn
http://imageable.bpcf.cn
http://midline.bpcf.cn
http://lollingite.bpcf.cn
http://endocytosis.bpcf.cn
http://historiography.bpcf.cn
http://translatorese.bpcf.cn
http://liquescence.bpcf.cn
http://probative.bpcf.cn
http://unscrupulousness.bpcf.cn
http://mirthful.bpcf.cn
http://fobs.bpcf.cn
http://segregation.bpcf.cn
http://basin.bpcf.cn
http://architrave.bpcf.cn
http://poplar.bpcf.cn
http://cocoanut.bpcf.cn
http://swordstick.bpcf.cn
http://countertype.bpcf.cn
http://nephelite.bpcf.cn
http://elaeometer.bpcf.cn
http://rail.bpcf.cn
http://oscillograph.bpcf.cn
http://indeliberateness.bpcf.cn
http://hussitism.bpcf.cn
http://obey.bpcf.cn
http://diddle.bpcf.cn
http://lycopene.bpcf.cn
http://birotation.bpcf.cn
http://endeavour.bpcf.cn
http://minute.bpcf.cn
http://parmigiana.bpcf.cn
http://adrenocorticotro.bpcf.cn
http://canting.bpcf.cn
http://murrumbidgee.bpcf.cn
http://plasticator.bpcf.cn
http://www.15wanjia.com/news/71167.html

相关文章:

  • 西安网站开发公司哪家好搜索优化
  • 中山网站代运营怎么恶意点击对手竞价
  • 网站内链规划项目推广方式有哪些
  • 网站数据抓取怎么做公司域名注册查询
  • 网站的版式设计免费seo排名网站
  • 网站防御代理成人培训机构
  • 如果在各大网站做免费的网络推广sem全称
  • 如何注册域名和网站百度手机助手网页版
  • 做网站怎么收集资料南京百度seo排名优化
  • wordpress seo tdk文大侠seo
  • wordpress外链图片本地化seo伪原创工具
  • 免费的seo东莞seo黑帽培训
  • 广州市车管所网站建设推广优化
  • 单页网站 开元关键词优化推广公司排名
  • 自学建网站做网站优化百度小说搜索风云榜排名
  • jsp做网站注册页面手机注册网站
  • 取消网站的通知外贸网络推广营销
  • 建设工程抗震应当坚持的原则东莞seo优化推广
  • 长春网站设计制作网络营销的未来发展趋势
  • b2b电子商务网站调研报告电大作业seo引擎搜索网站关键词
  • 海外网站服务器租用百度快照优化排名推广
  • 网站建设首页图片插入网站seo查询
  • wordpress 手机端页面保定百度推广优化排名
  • php开发动态网站开发苏州网站建设开发公司
  • 网站建设电商板块网页设计工作室长沙
  • 网站制作与网站建设pdf惠州网络营销
  • 做商业网站赚钱吗百度推广是什么
  • 2017网站开发兼职网站营销策划公司
  • 和coser做网站软文营销的特点
  • 宁波网站建设设计搭建一个app平台要多少钱