.....

android:id="@+id/toolbar"

android:layout_height="wrap_content"

android:layout_width="match_parent"

android:background="@color/colorAccent"

tools:layout_editor_absoluteY="0dp"

tools:layout_editor_absoluteX="8dp">

...

This view is not constrained, it only has designtime positions, so it will jump to (0,0) unless you add constraints


layout_editor_absoluteY 是绝对位置,删除就好了

更多相关文章

  1. 自定义对话框 位置 大小等
  2. android > 获取当前位置
  3. Android(安卓)Media Recorder录音播放源代码
  4. Android带删除按钮的ListView
  5. 融云清空历史消息 Android(安卓)端
  6. Android(安卓)ApiDemos示例解析(101):Views->Auto Complete->3.
  7. android 开发-系统设置界面的实现
  8. Android通过GPS或NetWork获取当前位置信息
  9. Android(安卓)Studio常用快捷键---不断更新中

随机推荐

  1. markdown语法和Emmet插件的使用
  2. 10.66G的Spring Boot 2.0深度实践之核心
  3. 2021-03-24:给定一个整数组成的无序数组ar
  4. synchronized 是可重入锁吗?为什么?
  5. 一文看懂 java 10 中 var 关键字(类型推
  6. oracle-xe centos7安装配置
  7. 图书管理系统设计与实现(毕业设计)
  8. 详解高并发的解决思路与手段!
  9. Redis 5.0 正式发布,19大新特性你值得拥有
  10. Google Guice之注入方式