|
|
|
@ -10,7 +10,7 @@
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_marginTop="4dp"
|
|
|
|
|
android:id="@+id/switchItemTitle"
|
|
|
|
|
android:id="@+id/trackingProtectionCategoryTitle"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginStart="48dp"
|
|
|
|
@ -18,7 +18,7 @@
|
|
|
|
|
android:clickable="false"
|
|
|
|
|
android:textAppearance="@style/ListItemTextStyle"
|
|
|
|
|
android:textSize="16sp"
|
|
|
|
|
app:layout_constraintBottom_toTopOf="@+id/switchItemDescription"
|
|
|
|
|
app:layout_constraintBottom_toTopOf="@+id/trackingProtectionCategoryItemDescription"
|
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
|
app:layout_constraintHorizontal_bias="0"
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
@ -27,17 +27,17 @@
|
|
|
|
|
tools:text="@tools:sample/lorem" />
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/switchItemDescription"
|
|
|
|
|
android:id="@+id/trackingProtectionCategoryItemDescription"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:clickable="false"
|
|
|
|
|
android:textColor="?attr/secondaryText"
|
|
|
|
|
android:layout_marginBottom="4dp"
|
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
|
app:layout_constraintEnd_toEndOf="@id/switchItemTitle"
|
|
|
|
|
app:layout_constraintEnd_toEndOf="@id/trackingProtectionCategoryTitle"
|
|
|
|
|
app:layout_constraintHorizontal_bias="0.5"
|
|
|
|
|
app:layout_constraintStart_toStartOf="@id/switchItemTitle"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/switchItemTitle"
|
|
|
|
|
app:layout_constraintStart_toStartOf="@id/trackingProtectionCategoryTitle"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/trackingProtectionCategoryTitle"
|
|
|
|
|
app:layout_constraintVertical_chainStyle="packed"
|
|
|
|
|
tools:text="@tools:sample/lorem" />
|
|
|
|
|
|
|
|
|
@ -48,7 +48,7 @@
|
|
|
|
|
android:layout_marginStart="@dimen/library_item_icon_margin_horizontal"
|
|
|
|
|
android:layout_marginEnd="@dimen/library_item_icon_margin_horizontal"
|
|
|
|
|
app:drawableStartCompat="@drawable/ic_tracking_protection"
|
|
|
|
|
app:layout_constraintBottom_toBottomOf="@id/switchItemDescription"
|
|
|
|
|
app:layout_constraintBottom_toBottomOf="@id/trackingProtectionCategoryItemDescription"
|
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
|
app:layout_constraintTop_toTopOf="@id/switchItemTitle" />
|
|
|
|
|
app:layout_constraintTop_toTopOf="@id/trackingProtectionCategoryTitle" />
|
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
|
|