|
@@ -9,23 +9,22 @@
|
|
|
|
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="56dp">
|
|
|
|
|
|
|
+ android:layout_height="wrap_content">
|
|
|
|
|
|
|
|
<TextView
|
|
<TextView
|
|
|
android:id="@+id/tv_title"
|
|
android:id="@+id/tv_title"
|
|
|
android:layout_width="0dp"
|
|
android:layout_width="0dp"
|
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_gravity="center"
|
|
android:layout_gravity="center"
|
|
|
- android:layout_marginEnd="16dp"
|
|
|
|
|
android:layout_marginStart="8dp"
|
|
android:layout_marginStart="8dp"
|
|
|
- android:layout_marginTop="4dp"
|
|
|
|
|
|
|
+ android:layout_marginEnd="10dp"
|
|
|
android:layout_weight="1"
|
|
android:layout_weight="1"
|
|
|
|
|
+ android:gravity="start"
|
|
|
android:text="Tool name"
|
|
android:text="Tool name"
|
|
|
android:textAlignment="viewStart"
|
|
android:textAlignment="viewStart"
|
|
|
- android:gravity="start"
|
|
|
|
|
android:textColor="@android:color/black"
|
|
android:textColor="@android:color/black"
|
|
|
android:textSize="14sp"
|
|
android:textSize="14sp"
|
|
|
- app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
|
|
|
+ app:layout_constraintEnd_toStartOf="@+id/tv_type"
|
|
|
app:layout_constraintStart_toEndOf="@+id/iv_thumb"
|
|
app:layout_constraintStart_toEndOf="@+id/iv_thumb"
|
|
|
app:layout_constraintTop_toTopOf="@+id/iv_thumb" />
|
|
app:layout_constraintTop_toTopOf="@+id/iv_thumb" />
|
|
|
|
|
|
|
@@ -34,7 +33,10 @@
|
|
|
android:layout_width="42dp"
|
|
android:layout_width="42dp"
|
|
|
android:layout_height="42dp"
|
|
android:layout_height="42dp"
|
|
|
android:layout_marginStart="16dp"
|
|
android:layout_marginStart="16dp"
|
|
|
- android:contentDescription="TODO" android:src="@mipmap/ic_launcher"
|
|
|
|
|
|
|
+ android:layout_marginTop="8dp"
|
|
|
|
|
+ android:layout_marginBottom="8dp"
|
|
|
|
|
+ android:contentDescription="TODO"
|
|
|
|
|
+ android:src="@mipmap/ic_launcher"
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
@@ -43,12 +45,35 @@
|
|
|
android:id="@+id/tv_detail"
|
|
android:id="@+id/tv_detail"
|
|
|
android:layout_width="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_marginStart="8dp"
|
|
|
|
|
android:lines="1"
|
|
android:lines="1"
|
|
|
android:text="TextView"
|
|
android:text="TextView"
|
|
|
android:textSize="9.7sp"
|
|
android:textSize="9.7sp"
|
|
|
- app:layout_constraintStart_toEndOf="@+id/iv_thumb"
|
|
|
|
|
- app:layout_constraintTop_toBottomOf="@+id/tv_title" />
|
|
|
|
|
|
|
+ app:layout_constraintBottom_toBottomOf="@+id/tv_company"
|
|
|
|
|
+ app:layout_constraintEnd_toEndOf="@+id/tv_type"
|
|
|
|
|
+ app:layout_constraintTop_toTopOf="@+id/tv_company" />
|
|
|
|
|
+
|
|
|
|
|
+ <TextView
|
|
|
|
|
+ android:id="@+id/tv_type"
|
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:layout_marginEnd="16dp"
|
|
|
|
|
+ android:text="TextView"
|
|
|
|
|
+ android:textColor="@android:color/black"
|
|
|
|
|
+ android:textSize="12sp"
|
|
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
|
+ app:layout_constraintTop_toTopOf="@+id/tv_title" />
|
|
|
|
|
+
|
|
|
|
|
+ <TextView
|
|
|
|
|
+ android:id="@+id/tv_company"
|
|
|
|
|
+ android:layout_width="0dp"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:layout_marginEnd="10dp"
|
|
|
|
|
+ android:text="TextView"
|
|
|
|
|
+ android:textColor="@android:color/black"
|
|
|
|
|
+ android:textSize="12sp"
|
|
|
|
|
+ app:layout_constraintBottom_toBottomOf="@+id/iv_thumb"
|
|
|
|
|
+ app:layout_constraintEnd_toStartOf="@+id/tv_detail"
|
|
|
|
|
+ app:layout_constraintStart_toStartOf="@+id/tv_title" />
|
|
|
|
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
|
|
|