2 Star 1 Fork 2

lagrange/Robot

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
pop_layout.xml 4.82 KB
一键复制 编辑 原始数据 按行查看 历史
lagrange 提交于 2021-04-17 17:52 . first commit
<?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="493dp"
android:layout_height="wrap_content"
tools:layout_editor_absoluteX="5dp"
tools:layout_editor_absoluteY="18dp">
<ImageView
android:id="@+id/popBackground"
android:layout_width="0dp"
android:layout_height="385dp"
app:layout_constraintBottom_toTopOf="@+id/guideline42"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="@+id/guideline42"
app:srcCompat="@android:drawable/editbox_dropdown_light_frame" />
<ImageView
android:id="@+id/popImage"
android:layout_width="0dp"
android:layout_height="0dp"
android:visibility="visible"
app:layout_constraintBottom_toTopOf="@+id/guideline37"
app:layout_constraintEnd_toStartOf="@+id/guideline40"
app:layout_constraintStart_toStartOf="@+id/guideline39"
app:layout_constraintTop_toTopOf="@+id/guideline38"
app:srcCompat="@drawable/flower" />
<TextView
android:id="@+id/popTitle"
android:layout_width="0dp"
android:layout_height="0dp"
android:text="纪念品商店"
android:textSize="24sp"
app:autoSizeTextType="uniform"
app:layout_constraintBottom_toTopOf="@+id/guideline38"
app:layout_constraintEnd_toStartOf="@+id/guideline40"
app:layout_constraintStart_toStartOf="@+id/guideline39"
app:layout_constraintTop_toTopOf="@+id/guideline36" />
<Button
android:id="@+id/popIntroduceButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="详情介绍"
android:textSize="14sp"
app:layout_constraintBottom_toTopOf="@+id/guideline42"
app:layout_constraintEnd_toEndOf="@+id/popBackButton"
app:layout_constraintStart_toStartOf="@+id/popBackButton"
app:layout_constraintTop_toTopOf="@+id/guideline38" />
<Button
android:id="@+id/popBackButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="b a c k"
android:textSize="14sp"
app:layout_constraintBottom_toTopOf="@+id/guideline37"
app:layout_constraintEnd_toStartOf="@+id/guideline41"
app:layout_constraintStart_toStartOf="@+id/guideline40"
app:layout_constraintTop_toTopOf="@+id/guideline42" />
<androidx.constraintlayout.widget.Guideline
android:id="@+id/guideline36"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="horizontal"
app:layout_constraintGuide_percent="0.1" />
<androidx.constraintlayout.widget.Guideline
android:id="@+id/guideline37"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="horizontal"
app:layout_constraintGuide_begin="17dp"
app:layout_constraintGuide_percent="0.8" />
<androidx.constraintlayout.widget.Guideline
android:id="@+id/guideline38"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="horizontal"
app:layout_constraintGuide_begin="268dp"
app:layout_constraintGuide_percent="0.2" />
<androidx.constraintlayout.widget.Guideline
android:id="@+id/guideline39"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="vertical"
app:layout_constraintGuide_begin="365dp"
app:layout_constraintGuide_percent="0.1" />
<androidx.constraintlayout.widget.Guideline
android:id="@+id/guideline40"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="vertical"
app:layout_constraintGuide_begin="338dp"
app:layout_constraintGuide_percent="0.65" />
<androidx.constraintlayout.widget.Guideline
android:id="@+id/guideline41"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="vertical"
app:layout_constraintGuide_begin="440dp"
app:layout_constraintGuide_percent="0.95" />
<androidx.constraintlayout.widget.Guideline
android:id="@+id/guideline42"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="horizontal"
app:layout_constraintGuide_begin="176dp"
app:layout_constraintGuide_percent="0.5" />
</androidx.constraintlayout.widget.ConstraintLayout>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/lagrangetay/robot.git
[email protected]:lagrangetay/robot.git
lagrangetay
robot
Robot
master

搜索帮助