1 Star 0 Fork 2

LJunius/Robot

forked from lagrange/Robot 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
fragment_view_fragment.xml 5.88 KB
一键复制 编辑 原始数据 按行查看 历史
lagrange 提交于 2021-04-17 17:52 . first commit
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout 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"
tools:context=".ui.view.fragment_view">
<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="match_parent"
android:layout_height="match_parent">
<ImageButton
android:id="@+id/imageButton_back_View"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="4dp"
android:layout_marginLeft="4dp"
android:layout_marginEnd="668dp"
android:layout_marginRight="668dp"
android:layout_marginBottom="33dp"
android:contentDescription="TODO"
app:layout_constraintBottom_toTopOf="@+id/scenicImage"
app:layout_constraintEnd_toStartOf="@+id/scenicName"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintVertical_bias="0.0"
app:srcCompat="@drawable/ic_baseline_arrow_back_24" />
<TextView
android:id="@+id/scenicName"
android:layout_width="0dp"
android:layout_height="0dp"
android:text="@string/景点名称"
app:autoSizeTextType="uniform"
app:layout_constraintBottom_toTopOf="@+id/guideline20"
app:layout_constraintEnd_toStartOf="@+id/guideline21"
app:layout_constraintHorizontal_bias="0.0"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintVertical_bias="0.0" />
<ImageView
android:id="@+id/scenicImage"
android:layout_width="0dp"
android:layout_height="0dp"
android:src="@drawable/robot"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toStartOf="@+id/guideline21"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="@+id/guideline20" />
<TextView
android:id="@+id/openTime"
android:layout_width="0dp"
android:layout_height="0dp"
android:text="开放时间"
app:autoSizeTextType="uniform"
app:layout_constraintBottom_toTopOf="@+id/guideline31"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="@+id/guideline21"
app:layout_constraintTop_toTopOf="@+id/guideline20" />
<TextView
android:id="@+id/introduction"
android:layout_width="0dp"
android:layout_height="0dp"
android:text="简介"
app:autoSizeTextType="uniform"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="@+id/guideline21"
app:layout_constraintTop_toTopOf="@+id/guideline35" />
<TextView
android:id="@+id/ticketPrice"
android:layout_width="0dp"
android:layout_height="0dp"
android:text="票价"
app:autoSizeTextType="uniform"
app:layout_constraintBottom_toTopOf="@+id/guideline34"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="@+id/guideline21"
app:layout_constraintTop_toTopOf="@+id/guideline31" />
<TextView
android:id="@+id/suggestedTime"
android:layout_width="0dp"
android:layout_height="0dp"
android:text="建议游玩时间"
app:autoSizeTextType="uniform"
app:layout_constraintBottom_toTopOf="@+id/guideline35"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="@+id/guideline21"
app:layout_constraintTop_toTopOf="@+id/guideline34" />
<androidx.constraintlayout.widget.Guideline
android:id="@+id/guideline20"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="horizontal"
app:layout_constraintGuide_begin="85dp"
app:layout_constraintGuide_percent="0.1" />
<androidx.constraintlayout.widget.Guideline
android:id="@+id/guideline21"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="vertical"
app:layout_constraintGuide_begin="1642dp"
app:layout_constraintGuide_percent="0.8" />
<androidx.constraintlayout.widget.Guideline
android:id="@+id/guideline31"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="horizontal"
app:layout_constraintGuide_begin="225dp"
app:layout_constraintGuide_percent="0.2" />
<androidx.constraintlayout.widget.Guideline
android:id="@+id/guideline34"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="horizontal"
app:layout_constraintGuide_begin="320dp"
app:layout_constraintGuide_percent="0.3" />
<androidx.constraintlayout.widget.Guideline
android:id="@+id/guideline35"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="horizontal"
app:layout_constraintGuide_begin="473dp"
app:layout_constraintGuide_percent="0.5" />
</androidx.constraintlayout.widget.ConstraintLayout>
</FrameLayout>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/Ljunius/robot.git
[email protected]:Ljunius/robot.git
Ljunius
robot
Robot
master

搜索帮助