mirror of
https://github.com/element-hq/element-android
synced 2024-11-24 10:25:35 +03:00
Avoid using @tools:sample/full_names
And make preview works for some text
This commit is contained in:
parent
3e66988b6a
commit
0cd1d57fc0
7 changed files with 11 additions and 9 deletions
|
@ -37,7 +37,8 @@
|
||||||
app:layout_constraintEnd_toStartOf="@+id/bottom_sheet_message_preview_timestamp"
|
app:layout_constraintEnd_toStartOf="@+id/bottom_sheet_message_preview_timestamp"
|
||||||
app:layout_constraintStart_toEndOf="@id/bottom_sheet_message_preview_avatar"
|
app:layout_constraintStart_toEndOf="@id/bottom_sheet_message_preview_avatar"
|
||||||
app:layout_constraintTop_toTopOf="@id/bottom_sheet_message_preview_avatar"
|
app:layout_constraintTop_toTopOf="@id/bottom_sheet_message_preview_avatar"
|
||||||
tools:text="@tools:sample/full_names" />
|
tools:fontFamily="sans-serif"
|
||||||
|
tools:text="@sample/matrix.json/data/displayName" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/bottom_sheet_message_preview_timestamp"
|
android:id="@+id/bottom_sheet_message_preview_timestamp"
|
||||||
|
|
|
@ -41,7 +41,8 @@
|
||||||
app:layout_constraintEnd_toStartOf="@+id/bottomSheetRoomPreviewLowPriority"
|
app:layout_constraintEnd_toStartOf="@+id/bottomSheetRoomPreviewLowPriority"
|
||||||
app:layout_constraintStart_toEndOf="@id/bottomSheetRoomPreviewAvatar"
|
app:layout_constraintStart_toEndOf="@id/bottomSheetRoomPreviewAvatar"
|
||||||
app:layout_constraintTop_toTopOf="@id/bottomSheetRoomPreviewAvatar"
|
app:layout_constraintTop_toTopOf="@id/bottomSheetRoomPreviewAvatar"
|
||||||
tools:text="@tools:sample/full_names" />
|
tools:fontFamily="sans-serif"
|
||||||
|
tools:text="@sample/matrix.json/data/roomName" />
|
||||||
|
|
||||||
<ImageView
|
<ImageView
|
||||||
android:id="@+id/bottomSheetRoomPreviewLowPriority"
|
android:id="@+id/bottomSheetRoomPreviewLowPriority"
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
app:layout_constraintTop_toTopOf="parent"
|
app:layout_constraintTop_toTopOf="parent"
|
||||||
app:layout_constraintVertical_chainStyle="packed"
|
app:layout_constraintVertical_chainStyle="packed"
|
||||||
tools:text="@tools:sample/full_names" />
|
tools:text="@sample/matrix.json/data/displayName" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/contactDetailMatrixId"
|
android:id="@+id/contactDetailMatrixId"
|
||||||
|
|
|
@ -55,7 +55,7 @@
|
||||||
app:layout_constraintHorizontal_bias="0.5"
|
app:layout_constraintHorizontal_bias="0.5"
|
||||||
app:layout_constraintStart_toEndOf="@+id/createDirectRoomUserAvatarContainer"
|
app:layout_constraintStart_toEndOf="@+id/createDirectRoomUserAvatarContainer"
|
||||||
app:layout_constraintTop_toTopOf="parent"
|
app:layout_constraintTop_toTopOf="parent"
|
||||||
tools:text="@tools:sample/full_names" />
|
tools:text="@sample/matrix.json/data/displayName" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/createDirectRoomUserID"
|
android:id="@+id/createDirectRoomUserID"
|
||||||
|
@ -70,6 +70,6 @@
|
||||||
app:layout_constraintHorizontal_bias="0.5"
|
app:layout_constraintHorizontal_bias="0.5"
|
||||||
app:layout_constraintStart_toStartOf="@+id/createDirectRoomUserName"
|
app:layout_constraintStart_toStartOf="@+id/createDirectRoomUserName"
|
||||||
app:layout_constraintTop_toBottomOf="@+id/createDirectRoomUserName"
|
app:layout_constraintTop_toBottomOf="@+id/createDirectRoomUserName"
|
||||||
tools:text="Blabla" />
|
tools:text="@sample/matrix.json/data/mxid" />
|
||||||
|
|
||||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
@ -54,7 +54,7 @@
|
||||||
app:layout_constraintHorizontal_bias="0.5"
|
app:layout_constraintHorizontal_bias="0.5"
|
||||||
app:layout_constraintStart_toEndOf="@+id/knownUserAvatarContainer"
|
app:layout_constraintStart_toEndOf="@+id/knownUserAvatarContainer"
|
||||||
app:layout_constraintTop_toTopOf="parent"
|
app:layout_constraintTop_toTopOf="parent"
|
||||||
tools:text="@tools:sample/full_names" />
|
tools:text="@sample/matrix.json/data/displayName" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/knownUserID"
|
android:id="@+id/knownUserID"
|
||||||
|
@ -69,6 +69,6 @@
|
||||||
app:layout_constraintHorizontal_bias="0.5"
|
app:layout_constraintHorizontal_bias="0.5"
|
||||||
app:layout_constraintStart_toStartOf="@+id/knownUserName"
|
app:layout_constraintStart_toStartOf="@+id/knownUserName"
|
||||||
app:layout_constraintTop_toBottomOf="@+id/knownUserName"
|
app:layout_constraintTop_toBottomOf="@+id/knownUserName"
|
||||||
tools:text="Blabla" />
|
tools:text="@sample/matrix.json/data/mxid" />
|
||||||
|
|
||||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
@ -57,7 +57,7 @@
|
||||||
app:layout_constraintHorizontal_bias="0.5"
|
app:layout_constraintHorizontal_bias="0.5"
|
||||||
app:layout_constraintStart_toEndOf="@+id/childRoomAvatar"
|
app:layout_constraintStart_toEndOf="@+id/childRoomAvatar"
|
||||||
app:layout_constraintTop_toTopOf="parent"
|
app:layout_constraintTop_toTopOf="parent"
|
||||||
tools:text="@tools:sample/full_names" />
|
tools:text="@sample/matrix.json/data/spaceName" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/childRoomTopic"
|
android:id="@+id/childRoomTopic"
|
||||||
|
|
|
@ -62,6 +62,6 @@
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
app:layout_constraintStart_toEndOf="@+id/childSpaceAvatar"
|
app:layout_constraintStart_toEndOf="@+id/childSpaceAvatar"
|
||||||
app:layout_constraintTop_toTopOf="parent"
|
app:layout_constraintTop_toTopOf="parent"
|
||||||
tools:text="@tools:sample/full_names" />
|
tools:text="@sample/matrix.json/data/spaceName" />
|
||||||
|
|
||||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
Loading…
Reference in a new issue