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. Android面试计划指南
  2. android客户端通过Get方式提交参数给服务
  3. Android display system overview
  4. 有关Android(安卓)Bluetooth - OBEX OPP
  5. android控件之ProgressBar进度条
  6. Android基站定位——通过手机信号获取基
  7. Android(安卓)Notification(Android(安卓)
  8. 2018-08-17 Android(安卓)Gradle(1)
  9. 你需要知道的Android(安卓)View的测量
  10. Android(安卓)修改framework实现 全局唯