Merge pull request #3310 from vector-im/feature/bma/samples
Improve layout preview regarding avatars
|
@ -1,58 +1,22 @@
|
||||||
{
|
{
|
||||||
"data": [
|
"data": [
|
||||||
{
|
{
|
||||||
"displayName": "Long display name useful to test layout with a long display name",
|
"message": "William Shakespeare (bapt. 26 April 1564 – 23 April 1616) was an English poet, playwright and actor, widely regarded as the greatest writer in the English language and the world's greatest dramatist. He is often called England's national poet and the \"Bard of Avon\". His extant works, including collaborations, consist of approximately 39 plays, 154 sonnets, two long narrative poems, and a few other verses, some of uncertain authorship. His plays have been translated into every major living language and are performed more often than those of any other playwright.\n\nShakespeare was born and raised in Stratford-upon-Avon, Warwickshire. At the age of 18, he married Anne Hathaway, with whom he had three children: Susanna and twins Hamnet and Judith. Sometime between 1585 and 1592, he began a successful career in London as an actor, writer, and part-owner of a playing company called the Lord Chamberlain's Men, later known as the King's Men. At age 49 (around 1613), he appears to have retired to Stratford, where he died three years later. Few records of Shakespeare's private life survive; this has stimulated considerable speculation about such matters as his physical appearance, his sexuality, his religious beliefs, and whether the works attributed to him were written by others. Such theories are often criticised for failing to adequately note that few records survive of most commoners of the period.\n\nShakespeare produced most of his known works between 1589 and 1613. His early plays were primarily comedies and histories and are regarded as some of the best work produced in these genres. Until about 1608, he wrote mainly tragedies, among them Hamlet, Othello, King Lear, and Macbeth, all considered to be among the finest works in the English language. In the last phase of his life, he wrote tragicomedies (also known as romances) and collaborated with other playwrights.\n\nMany of Shakespeare's plays were published in editions of varying quality and accuracy in his lifetime. However, in 1623, two fellow actors and friends of Shakespeare's, John Heminges and Henry Condell, published a more definitive text known as the First Folio, a posthumous collected edition of Shakespeare's dramatic works that included all but two of his plays. The volume was prefaced with a poem by Ben Jonson, in which Jonson presciently hails Shakespeare in a now-famous quote as \"not of an age, but for all time\".\n\nThroughout the 20th and 21st centuries, Shakespeare's works have been continually adapted and rediscovered by new movements in scholarship and performance. His plays remain popular and are studied, performed, and reinterpreted through various cultural and political contexts around the world."
|
||||||
"mxid": "@longmatrixidbecausesometimesuserschooselongmxid:matrix.org",
|
|
||||||
"message": "William Shakespeare (bapt. 26 April 1564 – 23 April 1616) was an English poet, playwright and actor, widely regarded as the greatest writer in the English language and the world's greatest dramatist. He is often called England's national poet and the \"Bard of Avon\". His extant works, including collaborations, consist of approximately 39 plays, 154 sonnets, two long narrative poems, and a few other verses, some of uncertain authorship. His plays have been translated into every major living language and are performed more often than those of any other playwright.\n\nShakespeare was born and raised in Stratford-upon-Avon, Warwickshire. At the age of 18, he married Anne Hathaway, with whom he had three children: Susanna and twins Hamnet and Judith. Sometime between 1585 and 1592, he began a successful career in London as an actor, writer, and part-owner of a playing company called the Lord Chamberlain's Men, later known as the King's Men. At age 49 (around 1613), he appears to have retired to Stratford, where he died three years later. Few records of Shakespeare's private life survive; this has stimulated considerable speculation about such matters as his physical appearance, his sexuality, his religious beliefs, and whether the works attributed to him were written by others. Such theories are often criticised for failing to adequately note that few records survive of most commoners of the period.\n\nShakespeare produced most of his known works between 1589 and 1613. His early plays were primarily comedies and histories and are regarded as some of the best work produced in these genres. Until about 1608, he wrote mainly tragedies, among them Hamlet, Othello, King Lear, and Macbeth, all considered to be among the finest works in the English language. In the last phase of his life, he wrote tragicomedies (also known as romances) and collaborated with other playwrights.\n\nMany of Shakespeare's plays were published in editions of varying quality and accuracy in his lifetime. However, in 1623, two fellow actors and friends of Shakespeare's, John Heminges and Henry Condell, published a more definitive text known as the First Folio, a posthumous collected edition of Shakespeare's dramatic works that included all but two of his plays. The volume was prefaced with a poem by Ben Jonson, in which Jonson presciently hails Shakespeare in a now-famous quote as \"not of an age, but for all time\".\n\nThroughout the 20th and 21st centuries, Shakespeare's works have been continually adapted and rediscovered by new movements in scholarship and performance. His plays remain popular and are studied, performed, and reinterpreted through various cultural and political contexts around the world.",
|
|
||||||
"roomName": "Matrix HQ",
|
|
||||||
"roomAlias": "#matrix:matrix.org",
|
|
||||||
"spaceName": "Runner's world",
|
|
||||||
"roomTopic": "Welcome to Matrix HQ! Here is the rest of the room topic, with a https://www.example.org url and a phone number: 0102030405 which should not be clickable."
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"displayName": "benoit",
|
"message": "Hello!"
|
||||||
"mxid": "@benoit:matrix.org",
|
|
||||||
"message": "Hello!",
|
|
||||||
"roomName": "Room name very loooooooong with some details",
|
|
||||||
"roomAlias": "#matrix:matrix.org",
|
|
||||||
"spaceName": "Matrix Org",
|
|
||||||
"roomTopic": "Room topic very loooooooong with some details"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"displayName": "ganfra",
|
"message": "How are you?"
|
||||||
"mxid": "@ganfra:matrix.org",
|
|
||||||
"message": "How are you?",
|
|
||||||
"roomName": "Room name very loooooooong with some details",
|
|
||||||
"roomAlias": "#matrix:matrix.org",
|
|
||||||
"spaceName": "Rennes",
|
|
||||||
"roomTopic": "Room topic very loooooooong with some details"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"displayName": "Manu",
|
"message": "Great weather today!"
|
||||||
"mxid": "@manu:matrix.org",
|
|
||||||
"message": "Great weather today!",
|
|
||||||
"roomName": "Room name very loooooooong with some details",
|
|
||||||
"roomAlias": "#matrix:matrix.org",
|
|
||||||
"spaceName": "Est London",
|
|
||||||
"roomTopic": "Room topic very loooooooong with some details"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"displayName": "Giom",
|
"message": "Let's do a picnic"
|
||||||
"mxid": "@giom:matrix.org",
|
|
||||||
"message": "Let's do a picnic",
|
|
||||||
"roomName": "Room name very loooooooong with some details",
|
|
||||||
"roomAlias": "#matrix:matrix.org",
|
|
||||||
"spaceName": "Element HQ",
|
|
||||||
"roomTopic": "Room topic very loooooooong with some details"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"displayName": "Nad",
|
"message": "Yes, great idea"
|
||||||
"mxid": "@nadonomy:matrix.org",
|
|
||||||
"message": "Yes, great idea",
|
|
||||||
"roomName": "Room name very loooooooong with some details",
|
|
||||||
"roomAlias": "#matrix:matrix.org",
|
|
||||||
"spaceName": "My Company",
|
|
||||||
"roomTopic": "Room topic very loooooooong with some details"
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
BIN
vector/sampledata/room_round_avatars/0_element_rainbow.png
Normal file
After Width: | Height: | Size: 6.2 KiB |
BIN
vector/sampledata/room_round_avatars/element_black.png
Normal file
After Width: | Height: | Size: 1.7 KiB |
BIN
vector/sampledata/room_round_avatars/element_ems.png
Normal file
After Width: | Height: | Size: 2.3 KiB |
BIN
vector/sampledata/room_round_avatars/element_multi.png
Normal file
After Width: | Height: | Size: 3.1 KiB |
BIN
vector/sampledata/room_round_avatars/element_sky.png
Normal file
After Width: | Height: | Size: 2.1 KiB |
BIN
vector/sampledata/room_round_avatars/element_verde.png
Normal file
After Width: | Height: | Size: 4.5 KiB |
BIN
vector/sampledata/room_round_avatars/element_web.png
Normal file
After Width: | Height: | Size: 4.6 KiB |
BIN
vector/sampledata/room_round_avatars/element_x.png
Normal file
After Width: | Height: | Size: 4.3 KiB |
BIN
vector/sampledata/room_round_avatars/matrix.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
vector/sampledata/room_round_avatars/new_vector.png
Normal file
After Width: | Height: | Size: 3.1 KiB |
BIN
vector/sampledata/room_round_avatars/ops.png
Normal file
After Width: | Height: | Size: 9.4 KiB |
BIN
vector/sampledata/room_round_avatars/write_club.png
Normal file
After Width: | Height: | Size: 10 KiB |
14
vector/sampledata/rooms.json
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
{
|
||||||
|
"data": [
|
||||||
|
{
|
||||||
|
"name": "Matrix HQ",
|
||||||
|
"alias": "#matrix:matrix.org",
|
||||||
|
"topic": "Welcome to Matrix HQ! Here is the rest of the room topic, with a https://www.example.org url and a phone number: 0102030405 which should not be clickable."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Room name very loooooooong with some details",
|
||||||
|
"alias": "#matrix:matrix.org",
|
||||||
|
"topic": "Room topic very loooooooong with some details"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
BIN
vector/sampledata/space_avatars/car.png
Normal file
After Width: | Height: | Size: 2.5 KiB |
BIN
vector/sampledata/space_avatars/face.png
Normal file
After Width: | Height: | Size: 2.7 KiB |
BIN
vector/sampledata/space_avatars/london.png
Normal file
After Width: | Height: | Size: 3 KiB |
BIN
vector/sampledata/space_avatars/paris.png
Normal file
After Width: | Height: | Size: 2.6 KiB |
BIN
vector/sampledata/space_avatars/runner.png
Normal file
After Width: | Height: | Size: 2.5 KiB |
BIN
vector/sampledata/space_avatars/snow.png
Normal file
After Width: | Height: | Size: 2.5 KiB |
28
vector/sampledata/spaces.json
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
{
|
||||||
|
"data": [
|
||||||
|
{
|
||||||
|
"name": "Runner's world",
|
||||||
|
"topic": "Space about running around the world!"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Matrix Org",
|
||||||
|
"topic": "Space about matrix.org!"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Rennes",
|
||||||
|
"topic": "Venez visiter Rennes!"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Est London",
|
||||||
|
"topic": "All about Est London!"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Element HQ",
|
||||||
|
"topic": "All about Element!"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "My Company",
|
||||||
|
"topic": "All about My company!"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
BIN
vector/sampledata/user_round_avatars/0_amandine.png
Normal file
After Width: | Height: | Size: 5.2 KiB |
BIN
vector/sampledata/user_round_avatars/1_benoit.png
Normal file
After Width: | Height: | Size: 8.1 KiB |
BIN
vector/sampledata/user_round_avatars/2_gaelle.png
Normal file
After Width: | Height: | Size: 8.1 KiB |
BIN
vector/sampledata/user_round_avatars/3_manu.png
Normal file
After Width: | Height: | Size: 9.1 KiB |
BIN
vector/sampledata/user_round_avatars/4_matthew.png
Normal file
After Width: | Height: | Size: 9.4 KiB |
BIN
vector/sampledata/user_round_avatars/5_nad.png
Normal file
After Width: | Height: | Size: 6.4 KiB |
BIN
vector/sampledata/user_round_avatars/ben.png
Normal file
After Width: | Height: | Size: 9 KiB |
BIN
vector/sampledata/user_round_avatars/bruno.png
Normal file
After Width: | Height: | Size: 7.7 KiB |
BIN
vector/sampledata/user_round_avatars/nique.png
Normal file
After Width: | Height: | Size: 8.9 KiB |
BIN
vector/sampledata/user_round_avatars/toml.png
Normal file
After Width: | Height: | Size: 6.4 KiB |
BIN
vector/sampledata/user_round_avatars/victor.png
Normal file
After Width: | Height: | Size: 8.5 KiB |
28
vector/sampledata/users.json
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
{
|
||||||
|
"data": [
|
||||||
|
{
|
||||||
|
"displayName": "amandine",
|
||||||
|
"id": "@amandine:matrix.org"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"displayName": "benoit",
|
||||||
|
"id": "@benoit:matrix.org"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"displayName": "gaelle",
|
||||||
|
"id": "@gawa:matrix.org"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"displayName": "Manu",
|
||||||
|
"id": "@manu:matrix.org"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"displayName": "Matthew",
|
||||||
|
"id": "@matthew:matrix.org"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"displayName": "Nad",
|
||||||
|
"id": "@nadonomy:matrix.org"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
|
@ -79,7 +79,7 @@
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
app:layout_constraintTop_toTopOf="parent"
|
app:layout_constraintTop_toTopOf="parent"
|
||||||
tools:src="@tools:sample/avatars" />
|
tools:src="@sample/user_round_avatars" />
|
||||||
|
|
||||||
<ImageView
|
<ImageView
|
||||||
android:id="@+id/smallIsHeldIcon"
|
android:id="@+id/smallIsHeldIcon"
|
||||||
|
@ -106,7 +106,7 @@
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
app:layout_constraintTop_toBottomOf="@id/otherMemberAvatar"
|
app:layout_constraintTop_toBottomOf="@id/otherMemberAvatar"
|
||||||
tools:text="@sample/matrix.json/data/displayName" />
|
tools:text="@sample/users.json/data/displayName" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/callStatusText"
|
android:id="@+id/callStatusText"
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
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"
|
||||||
tools:src="@tools:sample/avatars" />
|
tools:src="@sample/user_round_avatars" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/incomingCallNameView"
|
android:id="@+id/incomingCallNameView"
|
||||||
|
@ -34,7 +34,7 @@
|
||||||
app:layout_constraintEnd_toStartOf="@+id/incomingCallRejectView"
|
app:layout_constraintEnd_toStartOf="@+id/incomingCallRejectView"
|
||||||
app:layout_constraintStart_toEndOf="@id/incomingCallAvatar"
|
app:layout_constraintStart_toEndOf="@id/incomingCallAvatar"
|
||||||
app:layout_constraintTop_toTopOf="@id/incomingCallAvatar"
|
app:layout_constraintTop_toTopOf="@id/incomingCallAvatar"
|
||||||
tools:text="@sample/matrix.json/data/displayName" />
|
tools:text="@sample/users.json/data/displayName" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/incomingCallKindView"
|
android:id="@+id/incomingCallKindView"
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
app:layout_constraintEnd_toStartOf="@+id/alerter_texts"
|
app:layout_constraintEnd_toStartOf="@+id/alerter_texts"
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
app:layout_constraintTop_toTopOf="parent"
|
app:layout_constraintTop_toTopOf="parent"
|
||||||
tools:src="@tools:sample/avatars" />
|
tools:src="@sample/user_round_avatars" />
|
||||||
|
|
||||||
<androidx.appcompat.widget.AppCompatImageView
|
<androidx.appcompat.widget.AppCompatImageView
|
||||||
android:id="@+id/ivIcon"
|
android:id="@+id/ivIcon"
|
||||||
|
|
|
@ -31,7 +31,7 @@
|
||||||
app:layout_constraintHorizontal_bias="0"
|
app:layout_constraintHorizontal_bias="0"
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
app:layout_constraintTop_toTopOf="parent"
|
app:layout_constraintTop_toTopOf="parent"
|
||||||
tools:src="@tools:sample/avatars" />
|
tools:src="@sample/user_round_avatars" />
|
||||||
|
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
|
@ -57,7 +57,7 @@
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
app:layout_constraintStart_toEndOf="@id/inviterAvatarImage"
|
app:layout_constraintStart_toEndOf="@id/inviterAvatarImage"
|
||||||
app:layout_constraintTop_toBottomOf="@id/inviterText"
|
app:layout_constraintTop_toBottomOf="@id/inviterText"
|
||||||
tools:text="@sample/matrix.json/data/mxid" />
|
tools:text="@sample/users.json/data/id" />
|
||||||
|
|
||||||
|
|
||||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||||
|
|
|
@ -46,7 +46,7 @@
|
||||||
android:layout_height="40dp"
|
android:layout_height="40dp"
|
||||||
android:layout_gravity="center"
|
android:layout_gravity="center"
|
||||||
android:contentDescription="@string/avatar"
|
android:contentDescription="@string/avatar"
|
||||||
tools:src="@tools:sample/avatars" />
|
tools:src="@sample/user_round_avatars" />
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:layout_width="0dp"
|
android:layout_width="0dp"
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
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"
|
||||||
tools:src="@tools:sample/avatars" />
|
tools:src="@sample/space_avatars" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/spaceNameView"
|
android:id="@+id/spaceNameView"
|
||||||
|
@ -42,7 +42,7 @@
|
||||||
app:layout_constraintStart_toEndOf="@id/spaceAvatarImageView"
|
app:layout_constraintStart_toEndOf="@id/spaceAvatarImageView"
|
||||||
app:layout_constraintTop_toTopOf="parent"
|
app:layout_constraintTop_toTopOf="parent"
|
||||||
app:layout_constraintVertical_chainStyle="packed"
|
app:layout_constraintVertical_chainStyle="packed"
|
||||||
tools:text="@sample/matrix.json/data/displayName" />
|
tools:text="@sample/spaces.json/data/name" />
|
||||||
|
|
||||||
<ImageView
|
<ImageView
|
||||||
android:id="@+id/spaceBetaTag"
|
android:id="@+id/spaceBetaTag"
|
||||||
|
@ -70,7 +70,7 @@
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
app:layout_constraintStart_toEndOf="@id/spaceAvatarImageView"
|
app:layout_constraintStart_toEndOf="@id/spaceAvatarImageView"
|
||||||
app:layout_constraintTop_toBottomOf="@+id/spaceNameView"
|
app:layout_constraintTop_toBottomOf="@+id/spaceNameView"
|
||||||
tools:text="@sample/matrix.json/data/message"
|
tools:text="@sample/spaces.json/data/topic"
|
||||||
tools:visibility="visible" />
|
tools:visibility="visible" />
|
||||||
|
|
||||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
android:scaleType="centerCrop"
|
android:scaleType="centerCrop"
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
app:layout_constraintTop_toTopOf="parent"
|
app:layout_constraintTop_toTopOf="parent"
|
||||||
tools:src="@tools:sample/avatars" />
|
tools:src="@sample/user_round_avatars" />
|
||||||
|
|
||||||
<im.vector.app.core.ui.views.ShieldImageView
|
<im.vector.app.core.ui.views.ShieldImageView
|
||||||
android:id="@+id/otherUserShield"
|
android:id="@+id/otherUserShield"
|
||||||
|
|
|
@ -37,8 +37,7 @@
|
||||||
android:layout_width="0dp"
|
android:layout_width="0dp"
|
||||||
android:layout_height="0dp"
|
android:layout_height="0dp"
|
||||||
android:contentDescription="@string/avatar"
|
android:contentDescription="@string/avatar"
|
||||||
tools:ignore="MissingConstraints"
|
tools:ignore="MissingConstraints" />
|
||||||
tools:src="@tools:sample/avatars" />
|
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/composerRelatedMessageTitle"
|
android:id="@+id/composerRelatedMessageTitle"
|
||||||
|
|
|
@ -45,8 +45,7 @@
|
||||||
android:contentDescription="@string/avatar"
|
android:contentDescription="@string/avatar"
|
||||||
android:visibility="invisible"
|
android:visibility="invisible"
|
||||||
app:layout_constraintBottom_toTopOf="parent"
|
app:layout_constraintBottom_toTopOf="parent"
|
||||||
app:layout_constraintEnd_toStartOf="parent"
|
app:layout_constraintEnd_toStartOf="parent" />
|
||||||
tools:src="@tools:sample/avatars" />
|
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/composerRelatedMessageTitle"
|
android:id="@+id/composerRelatedMessageTitle"
|
||||||
|
|
|
@ -47,7 +47,7 @@
|
||||||
app:layout_constraintEnd_toStartOf="@+id/composerRelatedMessageTitle"
|
app:layout_constraintEnd_toStartOf="@+id/composerRelatedMessageTitle"
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
app:layout_constraintTop_toTopOf="@id/composerRelatedMessageTitle"
|
app:layout_constraintTop_toTopOf="@id/composerRelatedMessageTitle"
|
||||||
tools:src="@tools:sample/avatars" />
|
tools:src="@sample/user_round_avatars" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/composerRelatedMessageTitle"
|
android:id="@+id/composerRelatedMessageTitle"
|
||||||
|
|
|
@ -40,7 +40,7 @@
|
||||||
android:transitionName="profile"
|
android:transitionName="profile"
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
app:layout_constraintTop_toTopOf="parent"
|
app:layout_constraintTop_toTopOf="parent"
|
||||||
tools:src="@tools:sample/avatars" />
|
tools:src="@sample/user_round_avatars" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/homeDrawerUsernameView"
|
android:id="@+id/homeDrawerUsernameView"
|
||||||
|
@ -55,7 +55,7 @@
|
||||||
app:layout_constraintEnd_toStartOf="@+id/homeDrawerQRCodeButton"
|
app:layout_constraintEnd_toStartOf="@+id/homeDrawerQRCodeButton"
|
||||||
app:layout_constraintStart_toStartOf="@+id/homeDrawerHeaderAvatarView"
|
app:layout_constraintStart_toStartOf="@+id/homeDrawerHeaderAvatarView"
|
||||||
app:layout_constraintTop_toBottomOf="@+id/homeDrawerHeaderAvatarView"
|
app:layout_constraintTop_toBottomOf="@+id/homeDrawerHeaderAvatarView"
|
||||||
tools:text="@sample/matrix.json/data/displayName" />
|
tools:text="@sample/users.json/data/displayName" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/homeDrawerUserIdView"
|
android:id="@+id/homeDrawerUserIdView"
|
||||||
|
@ -70,7 +70,7 @@
|
||||||
app:layout_constraintEnd_toStartOf="@+id/homeDrawerQRCodeButton"
|
app:layout_constraintEnd_toStartOf="@+id/homeDrawerQRCodeButton"
|
||||||
app:layout_constraintStart_toStartOf="@+id/homeDrawerHeaderAvatarView"
|
app:layout_constraintStart_toStartOf="@+id/homeDrawerHeaderAvatarView"
|
||||||
app:layout_constraintTop_toBottomOf="@+id/homeDrawerUsernameView"
|
app:layout_constraintTop_toBottomOf="@+id/homeDrawerUsernameView"
|
||||||
tools:text="@sample/matrix.json/data/mxid" />
|
tools:text="@sample/users.json/data/id" />
|
||||||
|
|
||||||
<com.google.android.material.button.MaterialButton
|
<com.google.android.material.button.MaterialButton
|
||||||
android:id="@+id/homeDrawerQRCodeButton"
|
android:id="@+id/homeDrawerQRCodeButton"
|
||||||
|
|
|
@ -58,7 +58,7 @@
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
app:layout_constraintTop_toTopOf="parent"
|
app:layout_constraintTop_toTopOf="parent"
|
||||||
tools:alpha="1"
|
tools:alpha="1"
|
||||||
tools:src="@tools:sample/avatars" />
|
tools:src="@sample/room_round_avatars" />
|
||||||
|
|
||||||
<im.vector.app.core.ui.views.ShieldImageView
|
<im.vector.app.core.ui.views.ShieldImageView
|
||||||
android:id="@+id/matrixProfileDecorationToolbarAvatarImageView"
|
android:id="@+id/matrixProfileDecorationToolbarAvatarImageView"
|
||||||
|
@ -87,7 +87,7 @@
|
||||||
app:layout_constraintStart_toEndOf="@+id/matrixProfileToolbarAvatarImageView"
|
app:layout_constraintStart_toEndOf="@+id/matrixProfileToolbarAvatarImageView"
|
||||||
app:layout_constraintTop_toTopOf="parent"
|
app:layout_constraintTop_toTopOf="parent"
|
||||||
tools:alpha="1"
|
tools:alpha="1"
|
||||||
tools:text="@sample/matrix.json/data/roomName" />
|
tools:text="@sample/rooms.json/data/name" />
|
||||||
|
|
||||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||||
|
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
app:layout_constraintHorizontal_bias="0"
|
app:layout_constraintHorizontal_bias="0"
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
app:layout_constraintTop_toTopOf="parent"
|
app:layout_constraintTop_toTopOf="parent"
|
||||||
tools:src="@tools:sample/avatars" />
|
tools:src="@sample/room_round_avatars" />
|
||||||
|
|
||||||
<ImageView
|
<ImageView
|
||||||
android:id="@+id/matrixToBetaTag"
|
android:id="@+id/matrixToBetaTag"
|
||||||
|
@ -52,7 +52,7 @@
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
android:textStyle="bold"
|
android:textStyle="bold"
|
||||||
app:layout_constraintTop_toBottomOf="@+id/matrixToCardAvatar"
|
app:layout_constraintTop_toBottomOf="@+id/matrixToCardAvatar"
|
||||||
tools:text="@sample/matrix.json/data/roomName" />
|
tools:text="@sample/rooms.json/data/name" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/matrixToCardAliasText"
|
android:id="@+id/matrixToCardAliasText"
|
||||||
|
@ -67,7 +67,8 @@
|
||||||
android:visibility="gone"
|
android:visibility="gone"
|
||||||
app:layout_constraintTop_toBottomOf="@id/matrixToCardNameText"
|
app:layout_constraintTop_toBottomOf="@id/matrixToCardNameText"
|
||||||
app:layout_goneMarginTop="0dp"
|
app:layout_goneMarginTop="0dp"
|
||||||
tools:text="@sample/matrix.json/data/roomAlias" />
|
tools:text="@sample/rooms.json/data/alias"
|
||||||
|
tools:visibility="visible" />
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:id="@+id/matrixToMemberPills"
|
android:id="@+id/matrixToMemberPills"
|
||||||
|
@ -117,7 +118,7 @@
|
||||||
android:textColor="?riotx_text_secondary"
|
android:textColor="?riotx_text_secondary"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
app:layout_constraintTop_toBottomOf="@id/matrixToMemberPills"
|
app:layout_constraintTop_toBottomOf="@id/matrixToMemberPills"
|
||||||
tools:text="@sample/matrix.json/data/roomTopic" />
|
tools:text="@sample/rooms.json/data/topic" />
|
||||||
|
|
||||||
<ImageView
|
<ImageView
|
||||||
android:id="@+id/knownMember5"
|
android:id="@+id/knownMember5"
|
||||||
|
@ -128,7 +129,7 @@
|
||||||
app:layout_constraintCircleAngle="90"
|
app:layout_constraintCircleAngle="90"
|
||||||
app:layout_constraintCircleRadius="20dp"
|
app:layout_constraintCircleRadius="20dp"
|
||||||
tools:ignore="MissingConstraints"
|
tools:ignore="MissingConstraints"
|
||||||
tools:src="@tools:sample/avatars"
|
tools:src="@sample/user_round_avatars"
|
||||||
tools:visibility="gone" />
|
tools:visibility="gone" />
|
||||||
|
|
||||||
<ImageView
|
<ImageView
|
||||||
|
@ -140,7 +141,7 @@
|
||||||
app:layout_constraintCircleAngle="90"
|
app:layout_constraintCircleAngle="90"
|
||||||
app:layout_constraintCircleRadius="20dp"
|
app:layout_constraintCircleRadius="20dp"
|
||||||
tools:ignore="MissingConstraints"
|
tools:ignore="MissingConstraints"
|
||||||
tools:src="@tools:sample/avatars"
|
tools:src="@sample/user_round_avatars"
|
||||||
tools:visibility="gone" />
|
tools:visibility="gone" />
|
||||||
|
|
||||||
<ImageView
|
<ImageView
|
||||||
|
@ -152,7 +153,7 @@
|
||||||
app:layout_constraintCircleAngle="90"
|
app:layout_constraintCircleAngle="90"
|
||||||
app:layout_constraintCircleRadius="20dp"
|
app:layout_constraintCircleRadius="20dp"
|
||||||
tools:ignore="MissingConstraints"
|
tools:ignore="MissingConstraints"
|
||||||
tools:src="@tools:sample/avatars" />
|
tools:src="@sample/user_round_avatars" />
|
||||||
|
|
||||||
<ImageView
|
<ImageView
|
||||||
android:id="@+id/knownMember2"
|
android:id="@+id/knownMember2"
|
||||||
|
@ -163,7 +164,7 @@
|
||||||
app:layout_constraintCircleAngle="90"
|
app:layout_constraintCircleAngle="90"
|
||||||
app:layout_constraintCircleRadius="20dp"
|
app:layout_constraintCircleRadius="20dp"
|
||||||
tools:ignore="MissingConstraints"
|
tools:ignore="MissingConstraints"
|
||||||
tools:src="@tools:sample/avatars" />
|
tools:src="@sample/user_round_avatars" />
|
||||||
|
|
||||||
<ImageView
|
<ImageView
|
||||||
android:id="@+id/knownMember1"
|
android:id="@+id/knownMember1"
|
||||||
|
@ -173,19 +174,21 @@
|
||||||
android:contentDescription="@string/avatar"
|
android:contentDescription="@string/avatar"
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
app:layout_constraintTop_toBottomOf="@id/matrixToCardDescText"
|
app:layout_constraintTop_toBottomOf="@id/matrixToCardDescText"
|
||||||
tools:src="@tools:sample/avatars" />
|
tools:src="@sample/user_round_avatars" />
|
||||||
|
|
||||||
|
<!-- layout_goneMarginStart: add half the width of the avatar: 15dp -->
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/peopleYouMayKnowText"
|
android:id="@+id/peopleYouMayKnowText"
|
||||||
android:layout_width="0dp"
|
android:layout_width="0dp"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginStart="20dp"
|
android:layout_marginStart="10dp"
|
||||||
android:textColor="?riotx_text_secondary"
|
android:textColor="?riotx_text_secondary"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
app:layout_constraintBottom_toBottomOf="@id/knownMember1"
|
app:layout_constraintBottom_toBottomOf="@id/knownMember1"
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
app:layout_constraintStart_toEndOf="@id/knownMember5"
|
app:layout_constraintStart_toEndOf="@id/knownMember5"
|
||||||
app:layout_constraintTop_toTopOf="@id/knownMember1"
|
app:layout_constraintTop_toTopOf="@id/knownMember1"
|
||||||
|
app:layout_goneMarginStart="25dp"
|
||||||
tools:text="7 people you may know" />
|
tools:text="7 people you may know" />
|
||||||
|
|
||||||
<im.vector.app.core.platform.ButtonStateView
|
<im.vector.app.core.platform.ButtonStateView
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
app:layout_constraintTop_toTopOf="parent"
|
app:layout_constraintTop_toTopOf="parent"
|
||||||
tools:src="@tools:sample/avatars" />
|
tools:src="@sample/user_round_avatars" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/matrixToCardNameText"
|
android:id="@+id/matrixToCardNameText"
|
||||||
|
@ -32,7 +32,7 @@
|
||||||
android:textColor="?riotx_text_primary"
|
android:textColor="?riotx_text_primary"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
app:layout_constraintTop_toBottomOf="@+id/matrixToCardAvatar"
|
app:layout_constraintTop_toBottomOf="@+id/matrixToCardAvatar"
|
||||||
tools:text="@sample/matrix.json/data/displayName" />
|
tools:text="@sample/users.json/data/displayName" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/matrixToCardUserIdText"
|
android:id="@+id/matrixToCardUserIdText"
|
||||||
|
@ -47,7 +47,7 @@
|
||||||
android:textColor="?riotx_text_secondary"
|
android:textColor="?riotx_text_secondary"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
app:layout_constraintTop_toBottomOf="@id/matrixToCardNameText"
|
app:layout_constraintTop_toBottomOf="@id/matrixToCardNameText"
|
||||||
tools:text="@sample/matrix.json/data/mxid" />
|
tools:text="@sample/users.json/data/id" />
|
||||||
|
|
||||||
<com.google.android.material.button.MaterialButton
|
<com.google.android.material.button.MaterialButton
|
||||||
android:id="@+id/matrixToCardSendMessageButton"
|
android:id="@+id/matrixToCardSendMessageButton"
|
||||||
|
|
|
@ -32,7 +32,7 @@
|
||||||
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"
|
||||||
tools:src="@tools:sample/avatars" />
|
tools:src="@sample/room_round_avatars" />
|
||||||
|
|
||||||
<im.vector.app.core.ui.views.ShieldImageView
|
<im.vector.app.core.ui.views.ShieldImageView
|
||||||
android:id="@+id/roomToolbarDecorationImageView"
|
android:id="@+id/roomToolbarDecorationImageView"
|
||||||
|
@ -58,7 +58,7 @@
|
||||||
app:layout_constraintHorizontal_bias="0.0"
|
app:layout_constraintHorizontal_bias="0.0"
|
||||||
app:layout_constraintStart_toEndOf="@+id/roomToolbarAvatarImageView"
|
app:layout_constraintStart_toEndOf="@+id/roomToolbarAvatarImageView"
|
||||||
app:layout_constraintTop_toTopOf="parent"
|
app:layout_constraintTop_toTopOf="parent"
|
||||||
tools:text="@sample/matrix.json/data/roomName" />
|
tools:text="@sample/rooms.json/data/name" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/roomToolbarSubtitleView"
|
android:id="@+id/roomToolbarSubtitleView"
|
||||||
|
@ -75,7 +75,7 @@
|
||||||
app:layout_constraintHorizontal_bias="0.0"
|
app:layout_constraintHorizontal_bias="0.0"
|
||||||
app:layout_constraintStart_toEndOf="@+id/roomToolbarAvatarImageView"
|
app:layout_constraintStart_toEndOf="@+id/roomToolbarAvatarImageView"
|
||||||
app:layout_constraintTop_toBottomOf="@+id/roomToolbarTitleView"
|
app:layout_constraintTop_toBottomOf="@+id/roomToolbarTitleView"
|
||||||
tools:text="@sample/matrix.json/data/roomTopic" />
|
tools:text="@sample/rooms.json/data/topic" />
|
||||||
|
|
||||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||||
|
|
||||||
|
|
|
@ -32,7 +32,7 @@
|
||||||
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"
|
||||||
tools:src="@tools:sample/avatars" />
|
tools:src="@sample/room_round_avatars" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/roomPreviewNoPreviewToolbarTitle"
|
android:id="@+id/roomPreviewNoPreviewToolbarTitle"
|
||||||
|
@ -49,7 +49,7 @@
|
||||||
app:layout_constraintHorizontal_bias="0.0"
|
app:layout_constraintHorizontal_bias="0.0"
|
||||||
app:layout_constraintStart_toEndOf="@+id/roomPreviewNoPreviewToolbarAvatar"
|
app:layout_constraintStart_toEndOf="@+id/roomPreviewNoPreviewToolbarAvatar"
|
||||||
app:layout_constraintTop_toTopOf="parent"
|
app:layout_constraintTop_toTopOf="parent"
|
||||||
tools:text="@sample/matrix.json/data/displayName" />
|
tools:text="@sample/users.json/data/displayName" />
|
||||||
|
|
||||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||||
|
|
||||||
|
@ -82,7 +82,7 @@
|
||||||
android:layout_height="128dp"
|
android:layout_height="128dp"
|
||||||
android:layout_marginTop="60dp"
|
android:layout_marginTop="60dp"
|
||||||
android:importantForAccessibility="no"
|
android:importantForAccessibility="no"
|
||||||
tools:src="@tools:sample/avatars" />
|
tools:src="@sample/room_round_avatars" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/roomPreviewNoPreviewName"
|
android:id="@+id/roomPreviewNoPreviewName"
|
||||||
|
@ -93,7 +93,7 @@
|
||||||
android:textAppearance="@style/TextAppearance.Vector.Title"
|
android:textAppearance="@style/TextAppearance.Vector.Title"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
android:textStyle="bold"
|
android:textStyle="bold"
|
||||||
tools:text="@sample/matrix.json/data/roomName" />
|
tools:text="@sample/rooms.json/data/name" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/roomPreviewNoPreviewTopic"
|
android:id="@+id/roomPreviewNoPreviewTopic"
|
||||||
|
@ -104,7 +104,7 @@
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
android:textAppearance="@style/TextAppearance.Vector.Subtitle"
|
android:textAppearance="@style/TextAppearance.Vector.Subtitle"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
tools:text="@sample/matrix.json/data/roomTopic" />
|
tools:text="@sample/rooms.json/data/topic" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/roomPreviewNoPreviewLabel"
|
android:id="@+id/roomPreviewNoPreviewLabel"
|
||||||
|
|
|
@ -32,7 +32,7 @@
|
||||||
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"
|
||||||
tools:src="@tools:sample/avatars" />
|
tools:src="@sample/room_round_avatars" />
|
||||||
|
|
||||||
<im.vector.app.core.ui.views.ShieldImageView
|
<im.vector.app.core.ui.views.ShieldImageView
|
||||||
android:id="@+id/roomSettingsDecorationToolbarAvatarImageView"
|
android:id="@+id/roomSettingsDecorationToolbarAvatarImageView"
|
||||||
|
@ -57,7 +57,7 @@
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
app:layout_constraintStart_toEndOf="@+id/roomSettingsToolbarAvatarImageView"
|
app:layout_constraintStart_toEndOf="@+id/roomSettingsToolbarAvatarImageView"
|
||||||
app:layout_constraintTop_toTopOf="parent"
|
app:layout_constraintTop_toTopOf="parent"
|
||||||
tools:text="@sample/matrix.json/data/roomName" />
|
tools:text="@sample/rooms.json/data/name" />
|
||||||
|
|
||||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||||
|
|
||||||
|
|
|
@ -37,7 +37,7 @@
|
||||||
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"
|
||||||
tools:src="@tools:sample/avatars" />
|
tools:src="@sample/room_round_avatars" />
|
||||||
|
|
||||||
<im.vector.app.core.ui.views.ShieldImageView
|
<im.vector.app.core.ui.views.ShieldImageView
|
||||||
android:id="@+id/roomUploadsDecorationToolbarAvatarImageView"
|
android:id="@+id/roomUploadsDecorationToolbarAvatarImageView"
|
||||||
|
@ -62,7 +62,7 @@
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
app:layout_constraintStart_toEndOf="@+id/roomUploadsToolbarAvatarImageView"
|
app:layout_constraintStart_toEndOf="@+id/roomUploadsToolbarAvatarImageView"
|
||||||
app:layout_constraintTop_toTopOf="parent"
|
app:layout_constraintTop_toTopOf="parent"
|
||||||
tools:text="@sample/matrix.json/data/roomName" />
|
tools:text="@sample/rooms.json/data/name" />
|
||||||
|
|
||||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||||
|
|
||||||
|
|
|
@ -63,7 +63,7 @@
|
||||||
android:maxLines="1"
|
android:maxLines="1"
|
||||||
android:textColor="?riotx_text_secondary"
|
android:textColor="?riotx_text_secondary"
|
||||||
android:textSize="16sp"
|
android:textSize="16sp"
|
||||||
tools:text="@sample/matrix.json/data/spaceName" />
|
tools:text="@sample/spaces.json/data/name" />
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
|
|
|
@ -46,7 +46,7 @@
|
||||||
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"
|
||||||
tools:src="@tools:sample/avatars" />
|
tools:src="@sample/space_avatars" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/roomPreviewNoPreviewToolbarTitle"
|
android:id="@+id/roomPreviewNoPreviewToolbarTitle"
|
||||||
|
@ -63,7 +63,7 @@
|
||||||
app:layout_constraintHorizontal_bias="0.0"
|
app:layout_constraintHorizontal_bias="0.0"
|
||||||
app:layout_constraintStart_toEndOf="@+id/spacePreviewToolbarAvatar"
|
app:layout_constraintStart_toEndOf="@+id/spacePreviewToolbarAvatar"
|
||||||
app:layout_constraintTop_toTopOf="parent"
|
app:layout_constraintTop_toTopOf="parent"
|
||||||
tools:text="@sample/matrix.json/data/displayName" />
|
tools:text="@sample/users.json/data/displayName" />
|
||||||
|
|
||||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||||
|
|
||||||
|
|
|
@ -69,7 +69,7 @@
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
app:layout_constraintTop_toTopOf="@id/showUserCodeCardTopBarrier"
|
app:layout_constraintTop_toTopOf="@id/showUserCodeCardTopBarrier"
|
||||||
tools:src="@tools:sample/avatars" />
|
tools:src="@sample/user_round_avatars" />
|
||||||
|
|
||||||
<androidx.constraintlayout.widget.Barrier
|
<androidx.constraintlayout.widget.Barrier
|
||||||
android:id="@+id/showUserCodeCardTopBarrier"
|
android:id="@+id/showUserCodeCardTopBarrier"
|
||||||
|
@ -109,7 +109,7 @@
|
||||||
android:textColor="?riotx_text_primary"
|
android:textColor="?riotx_text_primary"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
app:layout_constraintTop_toTopOf="parent"
|
app:layout_constraintTop_toTopOf="parent"
|
||||||
tools:text="@sample/matrix.json/data/displayName" />
|
tools:text="@sample/users.json/data/displayName" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/showUserCodeCardUserIdText"
|
android:id="@+id/showUserCodeCardUserIdText"
|
||||||
|
@ -124,7 +124,7 @@
|
||||||
android:textColor="?riotx_text_secondary"
|
android:textColor="?riotx_text_secondary"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
app:layout_constraintTop_toBottomOf="@id/showUserCodeCardNameText"
|
app:layout_constraintTop_toBottomOf="@id/showUserCodeCardNameText"
|
||||||
tools:text="@sample/matrix.json/data/mxid" />
|
tools:text="@sample/users.json/data/id" />
|
||||||
|
|
||||||
|
|
||||||
<!-- android:id="@+id/itemShareQrCodeImage"-->
|
<!-- android:id="@+id/itemShareQrCodeImage"-->
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
android:layout_height="28dp"
|
android:layout_height="28dp"
|
||||||
android:layout_gravity="center_vertical"
|
android:layout_gravity="center_vertical"
|
||||||
android:importantForAccessibility="no"
|
android:importantForAccessibility="no"
|
||||||
tools:src="@tools:sample/avatars" />
|
tools:src="@sample/user_round_avatars" />
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
app:layout_constraintTop_toTopOf="parent"
|
app:layout_constraintTop_toTopOf="parent"
|
||||||
app:layout_constraintVertical_bias="0"
|
app:layout_constraintVertical_bias="0"
|
||||||
tools:src="@tools:sample/avatars" />
|
tools:src="@sample/user_round_avatars" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/bottom_sheet_message_preview_sender"
|
android:id="@+id/bottom_sheet_message_preview_sender"
|
||||||
|
@ -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/users.json/data/displayName" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/bottom_sheet_message_preview_timestamp"
|
android:id="@+id/bottom_sheet_message_preview_timestamp"
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
app:layout_constraintTop_toTopOf="parent"
|
app:layout_constraintTop_toTopOf="parent"
|
||||||
app:layout_constraintVertical_bias="0"
|
app:layout_constraintVertical_bias="0"
|
||||||
tools:src="@tools:sample/avatars" />
|
tools:src="@sample/room_round_avatars" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/bottomSheetRoomPreviewName"
|
android:id="@+id/bottomSheetRoomPreviewName"
|
||||||
|
@ -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/rooms.json/data/name" />
|
||||||
|
|
||||||
<ImageView
|
<ImageView
|
||||||
android:id="@+id/bottomSheetRoomPreviewLowPriority"
|
android:id="@+id/bottomSheetRoomPreviewLowPriority"
|
||||||
|
|
|
@ -34,7 +34,7 @@
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
app:layout_constraintTop_toTopOf="parent"
|
app:layout_constraintTop_toTopOf="parent"
|
||||||
tools:ignore="ContentDescription"
|
tools:ignore="ContentDescription"
|
||||||
tools:src="@tools:sample/avatars" />
|
tools:src="@sample/room_round_avatars" />
|
||||||
|
|
||||||
<im.vector.app.features.home.room.list.UnreadCounterBadgeView
|
<im.vector.app.features.home.room.list.UnreadCounterBadgeView
|
||||||
android:id="@+id/breadcrumbsUnreadCounterBadgeView"
|
android:id="@+id/breadcrumbsUnreadCounterBadgeView"
|
||||||
|
|
|
@ -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/users.json/data/displayName" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/contactDetailMatrixId"
|
android:id="@+id/contactDetailMatrixId"
|
||||||
|
@ -40,7 +40,7 @@
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
app:layout_constraintStart_toStartOf="@+id/contactDetailName"
|
app:layout_constraintStart_toStartOf="@+id/contactDetailName"
|
||||||
app:layout_constraintTop_toBottomOf="@+id/contactDetailName"
|
app:layout_constraintTop_toBottomOf="@+id/contactDetailName"
|
||||||
tools:text="@sample/matrix.json/data/mxid"
|
tools:text="@sample/users.json/data/id"
|
||||||
tools:visibility="visible" />
|
tools:visibility="visible" />
|
||||||
|
|
||||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
@ -18,7 +18,7 @@
|
||||||
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"
|
||||||
tools:src="@tools:sample/avatars" />
|
tools:src="@sample/user_round_avatars" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/contactDisplayName"
|
android:id="@+id/contactDisplayName"
|
||||||
|
|
|
@ -25,7 +25,7 @@
|
||||||
android:layout_width="40dp"
|
android:layout_width="40dp"
|
||||||
android:layout_height="40dp"
|
android:layout_height="40dp"
|
||||||
android:contentDescription="@string/avatar"
|
android:contentDescription="@string/avatar"
|
||||||
tools:src="@tools:sample/avatars" />
|
tools:src="@sample/user_round_avatars" />
|
||||||
|
|
||||||
<ImageView
|
<ImageView
|
||||||
android:id="@+id/createDirectRoomUserAvatarChecked"
|
android:id="@+id/createDirectRoomUserAvatarChecked"
|
||||||
|
@ -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/users.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/users.json/data/id" />
|
||||||
|
|
||||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
@ -17,12 +17,12 @@
|
||||||
android:layout_height="32dp"
|
android:layout_height="32dp"
|
||||||
android:layout_marginEnd="8dp"
|
android:layout_marginEnd="8dp"
|
||||||
android:contentDescription="@string/avatar"
|
android:contentDescription="@string/avatar"
|
||||||
tools:src="@tools:sample/avatars" />
|
tools:src="@sample/user_round_avatars" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/readReceiptName"
|
android:id="@+id/readReceiptName"
|
||||||
style="@style/BottomSheetItemTextMain"
|
style="@style/BottomSheetItemTextMain"
|
||||||
tools:text="@sample/matrix.json/data/displayName" />
|
tools:text="@sample/users.json/data/displayName" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/readReceiptDate"
|
android:id="@+id/readReceiptDate"
|
||||||
|
|
|
@ -34,7 +34,7 @@
|
||||||
android:importantForAccessibility="no"
|
android:importantForAccessibility="no"
|
||||||
android:scaleType="center"
|
android:scaleType="center"
|
||||||
tools:alpha="0.3"
|
tools:alpha="0.3"
|
||||||
tools:src="@tools:sample/avatars" />
|
tools:src="@sample/user_round_avatars" />
|
||||||
|
|
||||||
</FrameLayout>
|
</FrameLayout>
|
||||||
|
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
app:layout_constraintTop_toTopOf="parent"
|
app:layout_constraintTop_toTopOf="parent"
|
||||||
tools:maxLines="2"
|
tools:maxLines="2"
|
||||||
tools:text="@sample/matrix.json/data/roomTopic" />
|
tools:text="@sample/rooms.json/data/topic" />
|
||||||
|
|
||||||
<ImageView
|
<ImageView
|
||||||
android:id="@+id/expandableArrow"
|
android:id="@+id/expandableArrow"
|
||||||
|
|
|
@ -58,7 +58,8 @@
|
||||||
app:layout_constraintEnd_toStartOf="@+id/item_generic_barrier"
|
app:layout_constraintEnd_toStartOf="@+id/item_generic_barrier"
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
app:layout_constraintTop_toBottomOf="@+id/item_generic_title_text"
|
app:layout_constraintTop_toBottomOf="@+id/item_generic_title_text"
|
||||||
tools:text="At totam delectus et aliquid dolorem. Consectetur voluptas tempore et non blanditiis id optio. Dolorum impedit quidem minus nihil. "
|
tools:maxLines="3"
|
||||||
|
tools:text="@tools:sample/lorem/random"
|
||||||
tools:visibility="visible" />
|
tools:visibility="visible" />
|
||||||
|
|
||||||
<androidx.constraintlayout.widget.Barrier
|
<androidx.constraintlayout.widget.Barrier
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
app:layout_constraintBottom_toTopOf="@+id/groupBottomSeparator"
|
app:layout_constraintBottom_toTopOf="@+id/groupBottomSeparator"
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
app:layout_constraintTop_toTopOf="parent"
|
app:layout_constraintTop_toTopOf="parent"
|
||||||
tools:src="@tools:sample/avatars" />
|
tools:src="@sample/room_round_avatars" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/groupNameView"
|
android:id="@+id/groupNameView"
|
||||||
|
|
|
@ -25,7 +25,7 @@
|
||||||
android:layout_width="40dp"
|
android:layout_width="40dp"
|
||||||
android:layout_height="40dp"
|
android:layout_height="40dp"
|
||||||
android:contentDescription="@string/avatar"
|
android:contentDescription="@string/avatar"
|
||||||
tools:src="@tools:sample/avatars" />
|
tools:src="@sample/user_round_avatars" />
|
||||||
|
|
||||||
<ImageView
|
<ImageView
|
||||||
android:id="@+id/knownUserAvatarChecked"
|
android:id="@+id/knownUserAvatarChecked"
|
||||||
|
@ -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/users.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/users.json/data/id" />
|
||||||
|
|
||||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
@ -24,7 +24,7 @@
|
||||||
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"
|
||||||
tools:src="@tools:sample/avatars" />
|
tools:src="@sample/user_round_avatars" />
|
||||||
|
|
||||||
<im.vector.app.core.ui.views.ShieldImageView
|
<im.vector.app.core.ui.views.ShieldImageView
|
||||||
android:id="@+id/matrixItemAvatarDecoration"
|
android:id="@+id/matrixItemAvatarDecoration"
|
||||||
|
@ -51,7 +51,7 @@
|
||||||
app:layout_constraintStart_toEndOf="@id/matrixItemAvatar"
|
app:layout_constraintStart_toEndOf="@id/matrixItemAvatar"
|
||||||
app:layout_constraintTop_toTopOf="parent"
|
app:layout_constraintTop_toTopOf="parent"
|
||||||
app:layout_goneMarginEnd="80dp"
|
app:layout_goneMarginEnd="80dp"
|
||||||
tools:text="@sample/matrix.json/data/displayName" />
|
tools:text="@sample/users.json/data/displayName" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/matrixItemSubtitle"
|
android:id="@+id/matrixItemSubtitle"
|
||||||
|
@ -69,7 +69,7 @@
|
||||||
app:layout_constraintStart_toEndOf="@id/matrixItemAvatar"
|
app:layout_constraintStart_toEndOf="@id/matrixItemAvatar"
|
||||||
app:layout_constraintTop_toBottomOf="@id/matrixItemTitle"
|
app:layout_constraintTop_toBottomOf="@id/matrixItemTitle"
|
||||||
app:layout_goneMarginEnd="8dp"
|
app:layout_goneMarginEnd="8dp"
|
||||||
tools:text="@sample/matrix.json/data/mxid" />
|
tools:text="@sample/users.json/data/id" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/matrixItemPowerLevelLabel"
|
android:id="@+id/matrixItemPowerLevelLabel"
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
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"
|
||||||
tools:src="@tools:sample/avatars" />
|
tools:src="@sample/user_round_avatars" />
|
||||||
|
|
||||||
<im.vector.app.core.ui.views.ShieldImageView
|
<im.vector.app.core.ui.views.ShieldImageView
|
||||||
android:id="@+id/matrixItemAvatarDecoration"
|
android:id="@+id/matrixItemAvatarDecoration"
|
||||||
|
@ -51,7 +51,7 @@
|
||||||
app:layout_constraintStart_toEndOf="@id/matrixItemAvatar"
|
app:layout_constraintStart_toEndOf="@id/matrixItemAvatar"
|
||||||
app:layout_constraintTop_toTopOf="parent"
|
app:layout_constraintTop_toTopOf="parent"
|
||||||
app:layout_goneMarginEnd="80dp"
|
app:layout_goneMarginEnd="80dp"
|
||||||
tools:text="@sample/matrix.json/data/displayName" />
|
tools:text="@sample/users.json/data/displayName" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/matrixItemSubtitle"
|
android:id="@+id/matrixItemSubtitle"
|
||||||
|
@ -69,7 +69,7 @@
|
||||||
app:layout_constraintStart_toEndOf="@id/matrixItemAvatar"
|
app:layout_constraintStart_toEndOf="@id/matrixItemAvatar"
|
||||||
app:layout_constraintTop_toBottomOf="@id/matrixItemTitle"
|
app:layout_constraintTop_toBottomOf="@id/matrixItemTitle"
|
||||||
app:layout_goneMarginEnd="8dp"
|
app:layout_goneMarginEnd="8dp"
|
||||||
tools:text="@sample/matrix.json/data/mxid" />
|
tools:text="@sample/users.json/data/id" />
|
||||||
|
|
||||||
<ProgressBar
|
<ProgressBar
|
||||||
android:id="@+id/matrixItemProgress"
|
android:id="@+id/matrixItemProgress"
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
app:layout_constraintBottom_toTopOf="@+id/itemPublicRoomBottomSeparator"
|
app:layout_constraintBottom_toTopOf="@+id/itemPublicRoomBottomSeparator"
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
app:layout_constraintTop_toTopOf="parent"
|
app:layout_constraintTop_toTopOf="parent"
|
||||||
tools:src="@tools:sample/avatars" />
|
tools:src="@sample/room_round_avatars" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/itemPublicRoomName"
|
android:id="@+id/itemPublicRoomName"
|
||||||
|
@ -39,7 +39,7 @@
|
||||||
app:layout_constraintStart_toEndOf="@id/itemPublicRoomAvatar"
|
app:layout_constraintStart_toEndOf="@id/itemPublicRoomAvatar"
|
||||||
app:layout_constraintTop_toTopOf="parent"
|
app:layout_constraintTop_toTopOf="parent"
|
||||||
app:layout_constraintVertical_chainStyle="packed"
|
app:layout_constraintVertical_chainStyle="packed"
|
||||||
tools:text="@sample/matrix.json/data/roomName" />
|
tools:text="@sample/rooms.json/data/name" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/itemPublicRoomTopic"
|
android:id="@+id/itemPublicRoomTopic"
|
||||||
|
@ -57,7 +57,7 @@
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
app:layout_constraintStart_toStartOf="@+id/itemPublicRoomName"
|
app:layout_constraintStart_toStartOf="@+id/itemPublicRoomName"
|
||||||
app:layout_constraintTop_toBottomOf="@+id/itemPublicRoomName"
|
app:layout_constraintTop_toBottomOf="@+id/itemPublicRoomName"
|
||||||
tools:text="@sample/matrix.json/data/roomTopic"
|
tools:text="@sample/rooms.json/data/topic"
|
||||||
tools:visibility="visible" />
|
tools:visibility="visible" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
|
@ -93,7 +93,7 @@
|
||||||
app:layout_constraintBaseline_toBaselineOf="@+id/itemPublicRoomMembersCount"
|
app:layout_constraintBaseline_toBaselineOf="@+id/itemPublicRoomMembersCount"
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
app:layout_constraintStart_toEndOf="@+id/itemPublicRoomMembersCount"
|
app:layout_constraintStart_toEndOf="@+id/itemPublicRoomMembersCount"
|
||||||
tools:text="@sample/matrix.json/data/roomAlias" />
|
tools:text="@sample/rooms.json/data/alias" />
|
||||||
|
|
||||||
<im.vector.app.core.platform.ButtonStateView
|
<im.vector.app.core.platform.ButtonStateView
|
||||||
android:id="@+id/itemPublicRoomButtonState"
|
android:id="@+id/itemPublicRoomButtonState"
|
||||||
|
|
|
@ -35,7 +35,7 @@
|
||||||
android:layout_width="56dp"
|
android:layout_width="56dp"
|
||||||
android:layout_height="56dp"
|
android:layout_height="56dp"
|
||||||
android:contentDescription="@string/avatar"
|
android:contentDescription="@string/avatar"
|
||||||
tools:src="@tools:sample/avatars" />
|
tools:src="@sample/room_round_avatars" />
|
||||||
|
|
||||||
<ImageView
|
<ImageView
|
||||||
android:id="@+id/roomAvatarCheckedImageView"
|
android:id="@+id/roomAvatarCheckedImageView"
|
||||||
|
@ -114,7 +114,7 @@
|
||||||
app:layout_constraintHorizontal_chainStyle="packed"
|
app:layout_constraintHorizontal_chainStyle="packed"
|
||||||
app:layout_constraintStart_toEndOf="@id/roomAvatarContainer"
|
app:layout_constraintStart_toEndOf="@id/roomAvatarContainer"
|
||||||
app:layout_constraintTop_toTopOf="parent"
|
app:layout_constraintTop_toTopOf="parent"
|
||||||
tools:text="@sample/matrix.json/data/displayName" />
|
tools:text="@sample/users.json/data/displayName" />
|
||||||
|
|
||||||
<ImageView
|
<ImageView
|
||||||
android:id="@+id/roomDraftBadge"
|
android:id="@+id/roomDraftBadge"
|
||||||
|
@ -179,7 +179,7 @@
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
app:layout_constraintStart_toStartOf="@+id/roomNameView"
|
app:layout_constraintStart_toStartOf="@+id/roomNameView"
|
||||||
app:layout_constraintTop_toBottomOf="@+id/roomNameView"
|
app:layout_constraintTop_toBottomOf="@+id/roomNameView"
|
||||||
tools:text="@sample/matrix.json/data/message" />
|
tools:text="@sample/messages.json/data/message" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/roomTypingView"
|
android:id="@+id/roomTypingView"
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
android:contentDescription="@string/avatar"
|
android:contentDescription="@string/avatar"
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
app:layout_constraintTop_toTopOf="parent"
|
app:layout_constraintTop_toTopOf="parent"
|
||||||
tools:src="@tools:sample/avatars" />
|
tools:src="@sample/room_round_avatars" />
|
||||||
|
|
||||||
<!-- Margin bottom does not work, so I use space -->
|
<!-- Margin bottom does not work, so I use space -->
|
||||||
<Space
|
<Space
|
||||||
|
@ -50,7 +50,7 @@
|
||||||
app:layout_constraintHorizontal_chainStyle="packed"
|
app:layout_constraintHorizontal_chainStyle="packed"
|
||||||
app:layout_constraintStart_toEndOf="@id/roomInvitationAvatarImageView"
|
app:layout_constraintStart_toEndOf="@id/roomInvitationAvatarImageView"
|
||||||
app:layout_constraintTop_toTopOf="parent"
|
app:layout_constraintTop_toTopOf="parent"
|
||||||
tools:text="@sample/matrix.json/data/displayName" />
|
tools:text="@sample/rooms.json/data/name" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/roomInvitationSubTitle"
|
android:id="@+id/roomInvitationSubTitle"
|
||||||
|
@ -64,7 +64,7 @@
|
||||||
app:layout_constraintEnd_toEndOf="@+id/roomInvitationNameView"
|
app:layout_constraintEnd_toEndOf="@+id/roomInvitationNameView"
|
||||||
app:layout_constraintStart_toStartOf="@+id/roomInvitationNameView"
|
app:layout_constraintStart_toStartOf="@+id/roomInvitationNameView"
|
||||||
app:layout_constraintTop_toBottomOf="@+id/roomInvitationNameView"
|
app:layout_constraintTop_toBottomOf="@+id/roomInvitationNameView"
|
||||||
tools:text="@sample/matrix.json/data/message" />
|
tools:text="@sample/rooms.json/data/topic" />
|
||||||
|
|
||||||
<!-- Margin bottom does not work, so I use space -->
|
<!-- Margin bottom does not work, so I use space -->
|
||||||
<Space
|
<Space
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
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"
|
||||||
tools:src="@tools:sample/avatars" />
|
tools:src="@sample/room_round_avatars" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/itemAddRoomRoomNameText"
|
android:id="@+id/itemAddRoomRoomNameText"
|
||||||
|
@ -38,7 +38,7 @@
|
||||||
app:layout_constraintStart_toEndOf="@id/itemAddRoomRoomAvatar"
|
app:layout_constraintStart_toEndOf="@id/itemAddRoomRoomAvatar"
|
||||||
app:layout_constraintTop_toTopOf="parent"
|
app:layout_constraintTop_toTopOf="parent"
|
||||||
app:layout_constraintVertical_chainStyle="packed"
|
app:layout_constraintVertical_chainStyle="packed"
|
||||||
tools:text="@sample/matrix.json/data/roomName" />
|
tools:text="@sample/rooms.json/data/name" />
|
||||||
|
|
||||||
<ImageView
|
<ImageView
|
||||||
android:id="@+id/itemAddRoomRoomCheckBox"
|
android:id="@+id/itemAddRoomRoomCheckBox"
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||||
xmlns:tools="http://schemas.android.com/tools"
|
|
||||||
android:id="@+id/itemPublicRoomLayout"
|
android:id="@+id/itemPublicRoomLayout"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
|
@ -28,29 +27,10 @@
|
||||||
android:layout_marginStart="17dp"
|
android:layout_marginStart="17dp"
|
||||||
android:layout_marginEnd="40dp"
|
android:layout_marginEnd="40dp"
|
||||||
android:background="@drawable/rounded_rect_shape_8"
|
android:background="@drawable/rounded_rect_shape_8"
|
||||||
android:ellipsize="end"
|
|
||||||
android:maxLines="2"
|
|
||||||
android:textColor="?riotx_text_primary"
|
|
||||||
android:textSize="15sp"
|
|
||||||
android:textStyle="bold"
|
|
||||||
app:layout_constraintBottom_toBottomOf="parent"
|
app:layout_constraintBottom_toBottomOf="parent"
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
app:layout_constraintStart_toEndOf="@id/itemAddRoomRoomAvatar"
|
app:layout_constraintStart_toEndOf="@id/itemAddRoomRoomAvatar"
|
||||||
app:layout_constraintTop_toTopOf="parent"
|
app:layout_constraintTop_toTopOf="parent"
|
||||||
app:layout_constraintVertical_chainStyle="packed"
|
app:layout_constraintVertical_chainStyle="packed" />
|
||||||
tools:text="@sample/matrix.json/data/roomName" />
|
|
||||||
|
|
||||||
<!-- <ImageView-->
|
|
||||||
<!-- android:id="@+id/itemAddRoomRoomCheckBox"-->
|
|
||||||
<!-- android:layout_width="20dp"-->
|
|
||||||
<!-- android:layout_height="20dp"-->
|
|
||||||
<!-- android:layout_marginEnd="16dp"-->
|
|
||||||
<!-- android:importantForAccessibility="no"-->
|
|
||||||
<!-- android:src="@drawable/ic_checkbox_off"-->
|
|
||||||
<!-- app:layout_constraintBottom_toBottomOf="parent"-->
|
|
||||||
<!-- app:layout_constraintEnd_toEndOf="parent"-->
|
|
||||||
<!-- app:layout_constraintStart_toEndOf="@id/itemAddRoomRoomNameText"-->
|
|
||||||
<!-- app:layout_constraintTop_toTopOf="parent" />-->
|
|
||||||
|
|
||||||
|
|
||||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
@ -15,7 +15,7 @@
|
||||||
android:contentDescription="@string/avatar"
|
android:contentDescription="@string/avatar"
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
app:layout_constraintTop_toTopOf="parent"
|
app:layout_constraintTop_toTopOf="parent"
|
||||||
tools:src="@tools:sample/avatars" />
|
tools:src="@sample/user_round_avatars" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/messageMemberNameView"
|
android:id="@+id/messageMemberNameView"
|
||||||
|
@ -33,7 +33,7 @@
|
||||||
app:layout_constraintEnd_toStartOf="@+id/messageTimeView"
|
app:layout_constraintEnd_toStartOf="@+id/messageTimeView"
|
||||||
app:layout_constraintStart_toEndOf="@+id/messageAvatarImageView"
|
app:layout_constraintStart_toEndOf="@+id/messageAvatarImageView"
|
||||||
app:layout_constraintTop_toTopOf="parent"
|
app:layout_constraintTop_toTopOf="parent"
|
||||||
tools:text="@sample/matrix.json/data/displayName" />
|
tools:text="@sample/users.json/data/displayName" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/messageTimeView"
|
android:id="@+id/messageTimeView"
|
||||||
|
@ -58,6 +58,6 @@
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
app:layout_constraintStart_toStartOf="@+id/messageMemberNameView"
|
app:layout_constraintStart_toStartOf="@+id/messageMemberNameView"
|
||||||
app:layout_constraintTop_toBottomOf="@+id/messageMemberNameView"
|
app:layout_constraintTop_toBottomOf="@+id/messageMemberNameView"
|
||||||
tools:text="@sample/matrix.json/data/message" />
|
tools:text="@sample/messages.json/data/message" />
|
||||||
|
|
||||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
@ -24,7 +24,7 @@
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/itemSimpleReactionInfoMemberName"
|
android:id="@+id/itemSimpleReactionInfoMemberName"
|
||||||
style="@style/BottomSheetItemTextMain"
|
style="@style/BottomSheetItemTextMain"
|
||||||
tools:text="@sample/matrix.json/data/displayName" />
|
tools:text="@sample/users.json/data/displayName" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/itemSimpleReactionInfoTime"
|
android:id="@+id/itemSimpleReactionInfoTime"
|
||||||
|
|
|
@ -31,7 +31,7 @@
|
||||||
app:layout_constraintBottom_toTopOf="@+id/groupBottomSeparator"
|
app:layout_constraintBottom_toTopOf="@+id/groupBottomSeparator"
|
||||||
app:layout_constraintStart_toEndOf="@id/indent"
|
app:layout_constraintStart_toEndOf="@id/indent"
|
||||||
app:layout_constraintTop_toTopOf="parent"
|
app:layout_constraintTop_toTopOf="parent"
|
||||||
tools:src="@tools:sample/avatars" />
|
tools:src="@sample/space_avatars" />
|
||||||
|
|
||||||
<im.vector.app.features.home.room.list.UnreadCounterBadgeView
|
<im.vector.app.features.home.room.list.UnreadCounterBadgeView
|
||||||
android:id="@+id/groupCounterBadge"
|
android:id="@+id/groupCounterBadge"
|
||||||
|
|
|
@ -37,7 +37,7 @@
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
app:layout_constraintTop_toTopOf="parent"
|
app:layout_constraintTop_toTopOf="parent"
|
||||||
tools:ignore="MissingPrefix"
|
tools:ignore="MissingPrefix"
|
||||||
tools:src="@tools:sample/avatars" />
|
tools:src="@sample/room_round_avatars" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/childRoomName"
|
android:id="@+id/childRoomName"
|
||||||
|
@ -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/rooms.json/data/name" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/childRoomTopic"
|
android:id="@+id/childRoomTopic"
|
||||||
|
@ -71,7 +71,7 @@
|
||||||
app:layout_constraintHorizontal_bias="0.5"
|
app:layout_constraintHorizontal_bias="0.5"
|
||||||
app:layout_constraintStart_toStartOf="@+id/childRoomName"
|
app:layout_constraintStart_toStartOf="@+id/childRoomName"
|
||||||
app:layout_constraintTop_toBottomOf="@+id/childRoomName"
|
app:layout_constraintTop_toBottomOf="@+id/childRoomName"
|
||||||
tools:text="@sample/matrix.json/data/roomTopic" />
|
tools:text="@sample/rooms.json/data/topic" />
|
||||||
|
|
||||||
<ImageView
|
<ImageView
|
||||||
android:id="@+id/spaceChildMemberCountIcon"
|
android:id="@+id/spaceChildMemberCountIcon"
|
||||||
|
|
|
@ -32,7 +32,7 @@
|
||||||
app:layout_constraintStart_toEndOf="@id/childSpaceTab"
|
app:layout_constraintStart_toEndOf="@id/childSpaceTab"
|
||||||
app:layout_constraintTop_toTopOf="@id/childSpaceName"
|
app:layout_constraintTop_toTopOf="@id/childSpaceName"
|
||||||
tools:ignore="MissingPrefix"
|
tools:ignore="MissingPrefix"
|
||||||
tools:src="@tools:sample/avatars" />
|
tools:src="@sample/space_avatars" />
|
||||||
|
|
||||||
<View
|
<View
|
||||||
android:layout_width="2dp"
|
android:layout_width="2dp"
|
||||||
|
@ -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/spaces.json/data/name" />
|
||||||
|
|
||||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
@ -44,6 +44,6 @@
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
app:layout_constraintTop_toBottomOf="@id/spaceSummaryMemberCountIcon"
|
app:layout_constraintTop_toBottomOf="@id/spaceSummaryMemberCountIcon"
|
||||||
tools:text="@sample/matrix.json/data/roomTopic" />
|
tools:text="@sample/spaces.json/data/topic" />
|
||||||
|
|
||||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
@ -22,7 +22,7 @@
|
||||||
android:layout_width="56dp"
|
android:layout_width="56dp"
|
||||||
android:layout_height="56dp"
|
android:layout_height="56dp"
|
||||||
android:contentDescription="@string/avatar"
|
android:contentDescription="@string/avatar"
|
||||||
tools:src="@tools:sample/avatars" />
|
tools:src="@sample/room_round_avatars" />
|
||||||
|
|
||||||
</FrameLayout>
|
</FrameLayout>
|
||||||
|
|
||||||
|
@ -55,7 +55,7 @@
|
||||||
app:layout_constraintHorizontal_chainStyle="packed"
|
app:layout_constraintHorizontal_chainStyle="packed"
|
||||||
app:layout_constraintStart_toEndOf="@id/roomAvatarContainer"
|
app:layout_constraintStart_toEndOf="@id/roomAvatarContainer"
|
||||||
app:layout_constraintTop_toTopOf="parent"
|
app:layout_constraintTop_toTopOf="parent"
|
||||||
tools:text="@sample/matrix.json/data/displayName" />
|
tools:text="@sample/users.json/data/displayName" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/suggestedRoomDescription"
|
android:id="@+id/suggestedRoomDescription"
|
||||||
|
@ -70,7 +70,7 @@
|
||||||
app:layout_constraintEnd_toStartOf="@id/joinSuggestedRoomButton"
|
app:layout_constraintEnd_toStartOf="@id/joinSuggestedRoomButton"
|
||||||
app:layout_constraintStart_toStartOf="@+id/roomNameView"
|
app:layout_constraintStart_toStartOf="@+id/roomNameView"
|
||||||
app:layout_constraintTop_toBottomOf="@+id/roomNameView"
|
app:layout_constraintTop_toBottomOf="@+id/roomNameView"
|
||||||
tools:text="@sample/matrix.json/data/message" />
|
tools:text="@sample/rooms.json/data/topic" />
|
||||||
|
|
||||||
<com.google.android.material.button.MaterialButton
|
<com.google.android.material.button.MaterialButton
|
||||||
android:id="@+id/joinSuggestedRoomButton"
|
android:id="@+id/joinSuggestedRoomButton"
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
android:layout_marginStart="8dp"
|
android:layout_marginStart="8dp"
|
||||||
android:layout_marginTop="4dp"
|
android:layout_marginTop="4dp"
|
||||||
android:contentDescription="@string/avatar"
|
android:contentDescription="@string/avatar"
|
||||||
tools:src="@tools:sample/avatars" />
|
tools:src="@sample/user_round_avatars" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/messageMemberNameView"
|
android:id="@+id/messageMemberNameView"
|
||||||
|
@ -39,7 +39,7 @@
|
||||||
android:textColor="?riotx_text_primary"
|
android:textColor="?riotx_text_primary"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
android:textStyle="bold"
|
android:textStyle="bold"
|
||||||
tools:text="@sample/matrix.json/data/displayName" />
|
tools:text="@sample/users.json/data/displayName" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/messageTimeView"
|
android:id="@+id/messageTimeView"
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
android:layout_height="40dp"
|
android:layout_height="40dp"
|
||||||
android:layout_gravity="center_horizontal"
|
android:layout_gravity="center_horizontal"
|
||||||
android:contentDescription="@string/avatar"
|
android:contentDescription="@string/avatar"
|
||||||
tools:src="@tools:sample/avatars" />
|
tools:src="@sample/user_round_avatars" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/itemCallCreatorNameTextView"
|
android:id="@+id/itemCallCreatorNameTextView"
|
||||||
|
@ -25,7 +25,7 @@
|
||||||
android:textColor="?riotx_text_primary"
|
android:textColor="?riotx_text_primary"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
android:textStyle="bold"
|
android:textStyle="bold"
|
||||||
tools:text="@sample/matrix.json/data/displayName" />
|
tools:text="@sample/users.json/data/displayName" />
|
||||||
|
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
|
|
|
@ -73,7 +73,7 @@
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
app:layout_constraintTop_toBottomOf="@id/creationTileRoomAvatarImageView"
|
app:layout_constraintTop_toBottomOf="@id/creationTileRoomAvatarImageView"
|
||||||
tools:text="@sample/matrix.json/data/roomName" />
|
tools:text="@sample/rooms.json/data/name" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/roomNameDescriptionText"
|
android:id="@+id/roomNameDescriptionText"
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textColor="?riotx_text_primary"
|
android:textColor="?riotx_text_primary"
|
||||||
android:textSize="14sp"
|
android:textSize="14sp"
|
||||||
tools:text="@sample/matrix.json/data/message" />
|
tools:text="@sample/messages.json/data/message" />
|
||||||
|
|
||||||
<im.vector.app.features.home.room.detail.timeline.url.PreviewUrlView
|
<im.vector.app.features.home.room.detail.timeline.url.PreviewUrlView
|
||||||
android:id="@+id/messageUrlPreview"
|
android:id="@+id/messageUrlPreview"
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
app:layout_constraintBottom_toTopOf="@+id/itemPublicRoomBottomSeparator"
|
app:layout_constraintBottom_toTopOf="@+id/itemPublicRoomBottomSeparator"
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
app:layout_constraintTop_toTopOf="parent"
|
app:layout_constraintTop_toTopOf="parent"
|
||||||
tools:src="@tools:sample/avatars" />
|
tools:src="@sample/room_round_avatars" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/itemUnknownRoomName"
|
android:id="@+id/itemUnknownRoomName"
|
||||||
|
@ -39,7 +39,7 @@
|
||||||
app:layout_constraintStart_toEndOf="@id/itemUnknownRoomAvatar"
|
app:layout_constraintStart_toEndOf="@id/itemUnknownRoomAvatar"
|
||||||
app:layout_constraintTop_toTopOf="parent"
|
app:layout_constraintTop_toTopOf="parent"
|
||||||
app:layout_constraintVertical_chainStyle="packed"
|
app:layout_constraintVertical_chainStyle="packed"
|
||||||
tools:text="@sample/matrix.json/data/roomName" />
|
tools:text="@sample/rooms.json/data/name" />
|
||||||
|
|
||||||
<View
|
<View
|
||||||
android:id="@+id/itemPublicRoomBottomSeparator"
|
android:id="@+id/itemPublicRoomBottomSeparator"
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
android:contentDescription="@string/avatar"
|
android:contentDescription="@string/avatar"
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
app:layout_constraintTop_toTopOf="parent"
|
app:layout_constraintTop_toTopOf="parent"
|
||||||
tools:src="@tools:sample/avatars" />
|
tools:src="@sample/user_round_avatars" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/itemUserId"
|
android:id="@+id/itemUserId"
|
||||||
|
@ -37,7 +37,7 @@
|
||||||
app:layout_constraintStart_toEndOf="@+id/itemUserAvatar"
|
app:layout_constraintStart_toEndOf="@+id/itemUserAvatar"
|
||||||
app:layout_constraintTop_toTopOf="parent"
|
app:layout_constraintTop_toTopOf="parent"
|
||||||
app:layout_constraintVertical_chainStyle="packed"
|
app:layout_constraintVertical_chainStyle="packed"
|
||||||
tools:text="@sample/matrix.json/data/mxid" />
|
tools:text="@sample/users.json/data/id" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/itemUserName"
|
android:id="@+id/itemUserName"
|
||||||
|
@ -53,7 +53,7 @@
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
app:layout_constraintStart_toEndOf="@+id/itemUserAvatar"
|
app:layout_constraintStart_toEndOf="@+id/itemUserAvatar"
|
||||||
app:layout_constraintTop_toBottomOf="@+id/itemUserId"
|
app:layout_constraintTop_toBottomOf="@+id/itemUserId"
|
||||||
tools:text="@sample/matrix.json/data/displayName"
|
tools:text="@sample/users.json/data/displayName"
|
||||||
tools:visibility="visible" />
|
tools:visibility="visible" />
|
||||||
|
|
||||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
@ -17,7 +17,7 @@
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
app:layout_constraintTop_toTopOf="parent"
|
app:layout_constraintTop_toTopOf="parent"
|
||||||
tools:src="@tools:sample/avatars" />
|
tools:src="@sample/user_round_avatars" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/inviteNameView"
|
android:id="@+id/inviteNameView"
|
||||||
|
@ -30,7 +30,7 @@
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
app:layout_constraintTop_toBottomOf="@id/inviteAvatarView"
|
app:layout_constraintTop_toBottomOf="@id/inviteAvatarView"
|
||||||
tools:text="@sample/matrix.json/data/displayName" />
|
tools:text="@sample/users.json/data/displayName" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/inviteIdentifierView"
|
android:id="@+id/inviteIdentifierView"
|
||||||
|
@ -43,7 +43,7 @@
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
app:layout_constraintTop_toBottomOf="@id/inviteNameView"
|
app:layout_constraintTop_toBottomOf="@id/inviteNameView"
|
||||||
tools:text="@sample/matrix.json/data/mxid" />
|
tools:text="@sample/users.json/data/id" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/inviteLabelView"
|
android:id="@+id/inviteLabelView"
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
android:adjustViewBounds="true"
|
android:adjustViewBounds="true"
|
||||||
android:importantForAccessibility="no"
|
android:importantForAccessibility="no"
|
||||||
android:scaleType="centerCrop"
|
android:scaleType="centerCrop"
|
||||||
tools:src="@tools:sample/avatars" />
|
tools:src="@sample/user_round_avatars" />
|
||||||
|
|
||||||
<ImageView
|
<ImageView
|
||||||
android:id="@+id/mels_list_avatar_2"
|
android:id="@+id/mels_list_avatar_2"
|
||||||
|
@ -23,7 +23,7 @@
|
||||||
android:importantForAccessibility="no"
|
android:importantForAccessibility="no"
|
||||||
android:scaleType="centerCrop"
|
android:scaleType="centerCrop"
|
||||||
tools:ignore="NegativeMargin"
|
tools:ignore="NegativeMargin"
|
||||||
tools:src="@tools:sample/avatars" />
|
tools:src="@sample/user_round_avatars" />
|
||||||
|
|
||||||
<ImageView
|
<ImageView
|
||||||
android:id="@+id/mels_list_avatar_3"
|
android:id="@+id/mels_list_avatar_3"
|
||||||
|
@ -34,7 +34,7 @@
|
||||||
android:importantForAccessibility="no"
|
android:importantForAccessibility="no"
|
||||||
android:scaleType="centerCrop"
|
android:scaleType="centerCrop"
|
||||||
tools:ignore="NegativeMargin"
|
tools:ignore="NegativeMargin"
|
||||||
tools:src="@tools:sample/avatars" />
|
tools:src="@sample/user_round_avatars" />
|
||||||
|
|
||||||
<ImageView
|
<ImageView
|
||||||
android:id="@+id/mels_list_avatar_4"
|
android:id="@+id/mels_list_avatar_4"
|
||||||
|
@ -45,7 +45,7 @@
|
||||||
android:importantForAccessibility="no"
|
android:importantForAccessibility="no"
|
||||||
android:scaleType="centerCrop"
|
android:scaleType="centerCrop"
|
||||||
tools:ignore="NegativeMargin"
|
tools:ignore="NegativeMargin"
|
||||||
tools:src="@tools:sample/avatars" />
|
tools:src="@sample/user_round_avatars" />
|
||||||
|
|
||||||
<ImageView
|
<ImageView
|
||||||
android:id="@+id/mels_list_avatar_5"
|
android:id="@+id/mels_list_avatar_5"
|
||||||
|
@ -56,6 +56,6 @@
|
||||||
android:importantForAccessibility="no"
|
android:importantForAccessibility="no"
|
||||||
android:scaleType="centerCrop"
|
android:scaleType="centerCrop"
|
||||||
tools:ignore="NegativeMargin"
|
tools:ignore="NegativeMargin"
|
||||||
tools:src="@tools:sample/avatars" />
|
tools:src="@sample/user_round_avatars" />
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
|
@ -11,7 +11,7 @@
|
||||||
android:adjustViewBounds="true"
|
android:adjustViewBounds="true"
|
||||||
android:contentDescription="@string/avatar"
|
android:contentDescription="@string/avatar"
|
||||||
android:scaleType="centerCrop"
|
android:scaleType="centerCrop"
|
||||||
tools:src="@tools:sample/avatars" />
|
tools:src="@sample/user_round_avatars" />
|
||||||
|
|
||||||
<ProgressBar
|
<ProgressBar
|
||||||
android:id="@+id/avatar_update_progress_bar"
|
android:id="@+id/avatar_update_progress_bar"
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
android:adjustViewBounds="true"
|
android:adjustViewBounds="true"
|
||||||
android:importantForAccessibility="no"
|
android:importantForAccessibility="no"
|
||||||
android:scaleType="centerCrop"
|
android:scaleType="centerCrop"
|
||||||
tools:src="@tools:sample/avatars" />
|
tools:src="@sample/user_round_avatars" />
|
||||||
|
|
||||||
<ImageView
|
<ImageView
|
||||||
android:id="@+id/receiptAvatar4"
|
android:id="@+id/receiptAvatar4"
|
||||||
|
@ -30,7 +30,7 @@
|
||||||
android:adjustViewBounds="true"
|
android:adjustViewBounds="true"
|
||||||
android:importantForAccessibility="no"
|
android:importantForAccessibility="no"
|
||||||
android:scaleType="centerCrop"
|
android:scaleType="centerCrop"
|
||||||
tools:src="@tools:sample/avatars" />
|
tools:src="@sample/user_round_avatars" />
|
||||||
|
|
||||||
<ImageView
|
<ImageView
|
||||||
android:id="@+id/receiptAvatar3"
|
android:id="@+id/receiptAvatar3"
|
||||||
|
@ -39,7 +39,7 @@
|
||||||
android:adjustViewBounds="true"
|
android:adjustViewBounds="true"
|
||||||
android:importantForAccessibility="no"
|
android:importantForAccessibility="no"
|
||||||
android:scaleType="centerCrop"
|
android:scaleType="centerCrop"
|
||||||
tools:src="@tools:sample/avatars" />
|
tools:src="@sample/user_round_avatars" />
|
||||||
|
|
||||||
<ImageView
|
<ImageView
|
||||||
android:id="@+id/receiptAvatar2"
|
android:id="@+id/receiptAvatar2"
|
||||||
|
@ -48,7 +48,7 @@
|
||||||
android:adjustViewBounds="true"
|
android:adjustViewBounds="true"
|
||||||
android:importantForAccessibility="no"
|
android:importantForAccessibility="no"
|
||||||
android:scaleType="centerCrop"
|
android:scaleType="centerCrop"
|
||||||
tools:src="@tools:sample/avatars" />
|
tools:src="@sample/user_round_avatars" />
|
||||||
|
|
||||||
<ImageView
|
<ImageView
|
||||||
android:id="@+id/receiptAvatar1"
|
android:id="@+id/receiptAvatar1"
|
||||||
|
@ -57,6 +57,6 @@
|
||||||
android:adjustViewBounds="true"
|
android:adjustViewBounds="true"
|
||||||
android:importantForAccessibility="no"
|
android:importantForAccessibility="no"
|
||||||
android:scaleType="centerCrop"
|
android:scaleType="centerCrop"
|
||||||
tools:src="@tools:sample/avatars" />
|
tools:src="@sample/user_round_avatars" />
|
||||||
|
|
||||||
</merge>
|
</merge>
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
android:adjustViewBounds="true"
|
android:adjustViewBounds="true"
|
||||||
android:importantForAccessibility="no"
|
android:importantForAccessibility="no"
|
||||||
android:scaleType="centerCrop"
|
android:scaleType="centerCrop"
|
||||||
tools:src="@tools:sample/avatars" />
|
tools:src="@sample/user_round_avatars" />
|
||||||
|
|
||||||
<ImageView
|
<ImageView
|
||||||
android:id="@+id/receiptAvatar4"
|
android:id="@+id/receiptAvatar4"
|
||||||
|
@ -36,7 +36,7 @@
|
||||||
android:adjustViewBounds="true"
|
android:adjustViewBounds="true"
|
||||||
android:importantForAccessibility="no"
|
android:importantForAccessibility="no"
|
||||||
android:scaleType="centerCrop"
|
android:scaleType="centerCrop"
|
||||||
tools:src="@tools:sample/avatars" />
|
tools:src="@sample/user_round_avatars" />
|
||||||
|
|
||||||
<ImageView
|
<ImageView
|
||||||
android:id="@+id/receiptAvatar3"
|
android:id="@+id/receiptAvatar3"
|
||||||
|
@ -46,7 +46,7 @@
|
||||||
android:adjustViewBounds="true"
|
android:adjustViewBounds="true"
|
||||||
android:importantForAccessibility="no"
|
android:importantForAccessibility="no"
|
||||||
android:scaleType="centerCrop"
|
android:scaleType="centerCrop"
|
||||||
tools:src="@tools:sample/avatars" />
|
tools:src="@sample/user_round_avatars" />
|
||||||
|
|
||||||
<ImageView
|
<ImageView
|
||||||
android:id="@+id/receiptAvatar2"
|
android:id="@+id/receiptAvatar2"
|
||||||
|
@ -56,7 +56,7 @@
|
||||||
android:adjustViewBounds="true"
|
android:adjustViewBounds="true"
|
||||||
android:importantForAccessibility="no"
|
android:importantForAccessibility="no"
|
||||||
android:scaleType="centerCrop"
|
android:scaleType="centerCrop"
|
||||||
tools:src="@tools:sample/avatars" />
|
tools:src="@sample/user_round_avatars" />
|
||||||
|
|
||||||
<ImageView
|
<ImageView
|
||||||
android:id="@+id/receiptAvatar1"
|
android:id="@+id/receiptAvatar1"
|
||||||
|
@ -66,6 +66,6 @@
|
||||||
android:adjustViewBounds="true"
|
android:adjustViewBounds="true"
|
||||||
android:importantForAccessibility="no"
|
android:importantForAccessibility="no"
|
||||||
android:scaleType="centerCrop"
|
android:scaleType="centerCrop"
|
||||||
tools:src="@tools:sample/avatars" />
|
tools:src="@sample/user_round_avatars" />
|
||||||
|
|
||||||
</merge>
|
</merge>
|
||||||
|
|
|
@ -28,7 +28,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="spread_inside"
|
app:layout_constraintVertical_chainStyle="spread_inside"
|
||||||
tools:src="@tools:sample/avatars" />
|
tools:src="@sample/user_round_avatars" />
|
||||||
|
|
||||||
<im.vector.app.core.ui.views.ShieldImageView
|
<im.vector.app.core.ui.views.ShieldImageView
|
||||||
android:id="@+id/memberProfileDecorationImageView"
|
android:id="@+id/memberProfileDecorationImageView"
|
||||||
|
@ -51,7 +51,7 @@
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
app:layout_constraintTop_toBottomOf="@+id/memberProfileAvatarView"
|
app:layout_constraintTop_toBottomOf="@+id/memberProfileAvatarView"
|
||||||
tools:text="@sample/matrix.json/data/displayName" />
|
tools:text="@sample/users.json/data/displayName" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/memberProfileIdView"
|
android:id="@+id/memberProfileIdView"
|
||||||
|
@ -67,7 +67,7 @@
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
app:layout_constraintTop_toBottomOf="@+id/memberProfileNameView"
|
app:layout_constraintTop_toBottomOf="@+id/memberProfileNameView"
|
||||||
tools:text="@sample/matrix.json/data/mxid" />
|
tools:text="@sample/users.json/data/id" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/memberProfilePowerLevelView"
|
android:id="@+id/memberProfilePowerLevelView"
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
app:layout_constraintTop_toTopOf="parent"
|
app:layout_constraintTop_toTopOf="parent"
|
||||||
tools:src="@tools:sample/avatars" />
|
tools:src="@sample/room_round_avatars" />
|
||||||
|
|
||||||
<im.vector.app.core.ui.views.ShieldImageView
|
<im.vector.app.core.ui.views.ShieldImageView
|
||||||
android:id="@+id/roomProfileDecorationImageView"
|
android:id="@+id/roomProfileDecorationImageView"
|
||||||
|
@ -41,7 +41,7 @@
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
app:layout_constraintTop_toBottomOf="@+id/roomProfileAvatarView"
|
app:layout_constraintTop_toBottomOf="@+id/roomProfileAvatarView"
|
||||||
tools:text="@sample/matrix.json/data/roomName" />
|
tools:text="@sample/rooms.json/data/name" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/roomProfileAliasView"
|
android:id="@+id/roomProfileAliasView"
|
||||||
|
@ -57,6 +57,6 @@
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
app:layout_constraintTop_toBottomOf="@+id/roomProfileNameView"
|
app:layout_constraintTop_toBottomOf="@+id/roomProfileNameView"
|
||||||
tools:text="@sample/matrix.json/data/roomAlias" />
|
tools:text="@sample/rooms.json/data/alias" />
|
||||||
|
|
||||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||||
|
|