This commit is contained in:
nielsandriesse 2021-06-02 10:12:49 +10:00
parent 19550f7be9
commit 23100962e3
3 changed files with 2 additions and 6 deletions

View File

@ -24,7 +24,7 @@ class QuoteView : LinearLayout {
} }
private fun setUpViewHierarchy() { private fun setUpViewHierarchy() {
LayoutInflater.from(context).inflate(R.layout.view_link_preview, this) LayoutInflater.from(context).inflate(R.layout.view_quote, this)
} }
// endregion // endregion

View File

@ -24,7 +24,7 @@ class VoiceMessageView : LinearLayout {
} }
private fun setUpViewHierarchy() { private fun setUpViewHierarchy() {
LayoutInflater.from(context).inflate(R.layout.view_document, this) LayoutInflater.from(context).inflate(R.layout.view_voice_message, this)
} }
// endregion // endregion

View File

@ -21,10 +21,6 @@
android:orientation="horizontal" android:orientation="horizontal"
android:gravity="bottom"> android:gravity="bottom">
<!-- The linear layout below is marked as "useless", but this isn't the case. It's
convenient because it allows you to show or hide the profile picture plus the spacers
before and behind it in one go. -->
<LinearLayout <LinearLayout
android:id="@+id/profilePictureContainer" android:id="@+id/profilePictureContainer"
android:layout_width="wrap_content" android:layout_width="wrap_content"