adding tools preview for the use case option icons

- this is only the background layer though as the real image is programatically constructed
This commit is contained in:
Adam Brown 2022-01-24 17:53:40 +00:00
parent 57be0ba913
commit 203c7e0cd7
2 changed files with 7 additions and 5 deletions

View file

@ -25,7 +25,6 @@ import androidx.annotation.FloatRange
import androidx.core.content.ContextCompat
import dagger.hilt.EntryPoints
import im.vector.app.core.di.SingletonEntryPoint
import kotlin.math.round
import kotlin.math.roundToInt
fun Context.singletonEntryPoint(): SingletonEntryPoint {

View file

@ -33,8 +33,8 @@
android:id="@+id/useCaseHeaderIcon"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:contentDescription="@null"
android:layout_marginTop="52dp"
android:contentDescription="@null"
android:src="@drawable/ic_onboarding_use_case_icon"
app:layout_constraintBottom_toTopOf="@id/useCaseHeaderTitle"
app:layout_constraintEnd_toEndOf="@id/useCaseGutterEnd"
@ -92,7 +92,8 @@
app:layout_constraintBottom_toTopOf="@id/useCaseOptionTwo"
app:layout_constraintEnd_toEndOf="@id/useCaseGutterEnd"
app:layout_constraintStart_toStartOf="@id/useCaseGutterStart"
app:layout_constraintTop_toBottomOf="@id/titleContentSpacing" />
app:layout_constraintTop_toBottomOf="@id/titleContentSpacing"
tools:drawableStartCompat="@drawable/bg_feature_icon" />
<TextView
android:id="@+id/useCaseOptionTwo"
@ -109,7 +110,8 @@
app:layout_constraintBottom_toTopOf="@id/useCaseOptionThree"
app:layout_constraintEnd_toEndOf="@id/useCaseGutterEnd"
app:layout_constraintStart_toStartOf="@id/useCaseGutterStart"
app:layout_constraintTop_toBottomOf="@id/useCaseOptionOne" />
app:layout_constraintTop_toBottomOf="@id/useCaseOptionOne"
tools:drawableStartCompat="@drawable/bg_feature_icon" />
<TextView
android:id="@+id/useCaseOptionThree"
@ -126,7 +128,8 @@
app:layout_constraintBottom_toTopOf="@id/useCaseSkip"
app:layout_constraintEnd_toEndOf="@id/useCaseGutterEnd"
app:layout_constraintStart_toStartOf="@id/useCaseGutterStart"
app:layout_constraintTop_toBottomOf="@id/useCaseOptionTwo" />
app:layout_constraintTop_toBottomOf="@id/useCaseOptionTwo"
tools:drawableStartCompat="@drawable/bg_feature_icon" />
<TextView
android:id="@+id/useCaseSkip"