|
@@ -9,40 +9,37 @@
|
|
|
|
|
|
|
|
<io.legato.kazusa.lib.theme.view.ThemeCheckBox
|
|
<io.legato.kazusa.lib.theme.view.ThemeCheckBox
|
|
|
android:id="@+id/cb_source_name"
|
|
android:id="@+id/cb_source_name"
|
|
|
- android:layout_width="wrap_content"
|
|
|
|
|
|
|
+ android:layout_width="0dp"
|
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
|
- android:maxLines="1"
|
|
|
|
|
- android:singleLine="true"
|
|
|
|
|
- app:layout_constrainedWidth="true"
|
|
|
|
|
- app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
|
- app:layout_constraintHorizontal_bias="0"
|
|
|
|
|
- app:layout_constraintHorizontal_chainStyle="packed"
|
|
|
|
|
- app:layout_constraintLeft_toLeftOf="parent"
|
|
|
|
|
- app:layout_constraintRight_toLeftOf="@+id/tv_source_state"
|
|
|
|
|
|
|
+ android:maxLines="2"
|
|
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
+ app:layout_constraintEnd_toStartOf="@+id/tv_source_state"
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent"
|
|
|
tools:ignore="TouchTargetSizeCheck" />
|
|
tools:ignore="TouchTargetSizeCheck" />
|
|
|
|
|
|
|
|
- <TextView
|
|
|
|
|
|
|
+ <com.google.android.material.button.MaterialButton
|
|
|
android:id="@+id/tv_source_state"
|
|
android:id="@+id/tv_source_state"
|
|
|
android:layout_width="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
|
|
- android:padding="8dp"
|
|
|
|
|
|
|
+ android:layout_height="40dp"
|
|
|
|
|
+ style="@style/Widget.Material3Expressive.Button.IconButton.Outlined"
|
|
|
|
|
+ android:minWidth="0dp"
|
|
|
|
|
+ android:textSize="11sp"
|
|
|
android:singleLine="true"
|
|
android:singleLine="true"
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
- app:layout_constraintHorizontal_chainStyle="packed"
|
|
|
|
|
- app:layout_constraintLeft_toRightOf="@id/cb_source_name"
|
|
|
|
|
- app:layout_constraintRight_toLeftOf="@id/tv_open"
|
|
|
|
|
|
|
+ app:layout_constraintStart_toEndOf="@id/cb_source_name"
|
|
|
|
|
+ app:layout_constraintEnd_toStartOf="@id/tv_open"
|
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
|
|
|
|
- <TextView
|
|
|
|
|
|
|
+ <com.google.android.material.button.MaterialButton
|
|
|
android:id="@+id/tv_open"
|
|
android:id="@+id/tv_open"
|
|
|
- android:layout_width="wrap_content"
|
|
|
|
|
- android:layout_height="wrap_content"
|
|
|
|
|
- android:layout_marginEnd="12dp"
|
|
|
|
|
- android:padding="8dp"
|
|
|
|
|
- android:text="@string/open"
|
|
|
|
|
|
|
+ android:layout_width="40dp"
|
|
|
|
|
+ android:layout_height="40dp"
|
|
|
|
|
+ style="@style/Widget.Material3Expressive.Button.IconButton.Tonal"
|
|
|
|
|
+ app:icon="@drawable/ic_edit"
|
|
|
|
|
+ app:iconGravity="textStart"
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
- app:layout_constraintRight_toRightOf="parent"
|
|
|
|
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|