This view is not constrained. It only has designtime positions, so it will jump to (0,0) at runtime unless you add the constraints  The layout editor allows you to place widgets anywhere on the canvas, and it records the current position with designtime attributes (such as layout_editor_absoluteX). These attributes are not applied at runtime, so if you push your layout on a device, the widgets may appear in a different location than shown in the editor. To fix this, make sure a widget has both horizontal and vertical constraints by dragging from the edge connections.  Issue id: MissingConstraints

    app:layout_constraintBottom_toBottomOf="parent"    app:layout_constraintEnd_toEndOf="parent"    app:layout_constraintStart_toStartOf="parent"    app:layout_constraintTop_toTopOf="parent"/>

 

 

更多相关文章

  1. 代码中设置drawableleft
  2. android 3.0 隐藏 系统标题栏
  3. Android开发中activity切换动画的实现
  4. Android(安卓)学习 笔记_05. 文件下载
  5. Android中直播视频技术探究之—摄像头Camera视频源数据采集解析
  6. 技术博客汇总
  7. android 2.3 wifi (一)
  8. AndRoid Notification的清空和修改
  9. Android中的Chronometer

随机推荐

  1. 京东app首页布局
  2. 第一篇php博客hehe
  3. 好玩、有趣的 Linux 命令学习神器 kmdr!
  4. 百分点认知智能实验室:基于不完全标注样本
  5. 软件开发之交付清单详解
  6. kubernetes ingress 原理、部署
  7. 一个Python程序,可以帮助您自动备份文件
  8. 系统之眼!Linux系统性能监控工具Glances
  9. 介绍Dynamics 365/Power Apps生成PDF的功
  10. MuleSoft网站的架构变迁