2 Star 1 Fork 2

lagrange/Robot

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
cell_goods.xml 2.96 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="match_parent"
android:layout_height="match_parent">
<androidx.constraintlayout.widget.Guideline
android:id="@+id/guideline_hh2_goods"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="horizontal"
app:layout_constraintGuide_percent="0.7" />
<androidx.constraintlayout.widget.Guideline
android:id="@+id/guideline_vv2_goods"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="vertical"
app:layout_constraintGuide_percent="0.85" />
<TextView
android:id="@+id/textView_title_goods"
android:layout_width="0dp"
android:layout_height="0dp"
android:text="TextView"
android:textSize="80sp"
app:autoSizeTextType="uniform"
app:layout_constraintBottom_toTopOf="@+id/guideline_hh1_goods"
app:layout_constraintEnd_toStartOf="@+id/guideline_vv2_goods"
app:layout_constraintStart_toStartOf="@+id/guideline_vv1_goods"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintVertical_bias="0.478" />
<androidx.constraintlayout.widget.Guideline
android:id="@+id/guideline_vv1_goods"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="vertical"
app:layout_constraintGuide_percent="0.15" />
<androidx.constraintlayout.widget.Guideline
android:id="@+id/guideline_hh1_goods"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="horizontal"
app:layout_constraintGuide_percent="0.25" />
<ImageView
android:id="@+id/imageView_goods"
android:layout_width="0dp"
android:layout_height="0dp"
app:layout_constraintBottom_toTopOf="@+id/guideline_hh2_goods"
app:layout_constraintEnd_toStartOf="@+id/guideline_vv2_goods"
app:layout_constraintStart_toStartOf="@+id/guideline_vv1_goods"
app:layout_constraintTop_toTopOf="@+id/guideline_hh1_goods"
tools:srcCompat="@tools:sample/backgrounds/scenic" />
<TextView
android:id="@+id/textView_detail_goods"
android:layout_width="0dp"
android:layout_height="0dp"
android:text="TextView"
android:textSize="30sp"
app:autoSizeTextType="uniform"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toStartOf="@+id/guideline_vv2_goods"
app:layout_constraintStart_toStartOf="@+id/guideline_vv1_goods"
app:layout_constraintTop_toTopOf="@+id/guideline_hh2_goods" />
</androidx.constraintlayout.widget.ConstraintLayout>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/lagrangetay/robot.git
[email protected]:lagrangetay/robot.git
lagrangetay
robot
Robot
master

搜索帮助