Skip to content

Commit 321a55e

Browse files
committed
Remove customization from typing samples
1 parent 0dcffcf commit 321a55e

File tree

4 files changed

+6
-24
lines changed

4 files changed

+6
-24
lines changed

samplejava/src/main/res/layout/activity_channel_3.xml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,10 @@
2626
android:id="@+id/messageListView"
2727
android:layout_width="0dp"
2828
android:layout_height="0dp"
29-
android:background="#f3f5f8"
3029
app:layout_constraintBottom_toTopOf="@+id/messageInputView"
3130
app:layout_constraintEnd_toEndOf="parent"
3231
app:layout_constraintStart_toStartOf="parent"
33-
app:layout_constraintTop_toBottomOf="@+id/typingHeaderView"
34-
app:streamUiMessageBackgroundColorMine="#70AF74"
35-
app:streamUiMessageBackgroundColorTheirs="#FFF"
36-
app:streamUiMessageTextColorMine="#FFF"
37-
app:streamUiMessageTextColorTheirs="#000" />
32+
app:layout_constraintTop_toBottomOf="@+id/typingHeaderView" />
3833

3934
<io.getstream.chat.android.ui.message.input.MessageInputView
4035
android:id="@+id/messageInputView"

samplejava/src/main/res/layout/activity_channel_4.xml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,17 +24,12 @@
2424

2525
<io.getstream.chat.android.ui.message.list.MessageListView
2626
android:id="@+id/messageListView"
27-
android:layout_width="match_parent"
27+
android:layout_width="0dp"
2828
android:layout_height="0dp"
29-
android:background="#f3f5f8"
3029
app:layout_constraintBottom_toTopOf="@+id/messageInputView"
3130
app:layout_constraintEnd_toEndOf="parent"
3231
app:layout_constraintStart_toStartOf="parent"
33-
app:layout_constraintTop_toBottomOf="@+id/typingHeaderView"
34-
app:streamUiMessageBackgroundColorMine="#70AF74"
35-
app:streamUiMessageBackgroundColorTheirs="#FFF"
36-
app:streamUiMessageTextColorMine="#FFF"
37-
app:streamUiMessageTextColorTheirs="#000" />
32+
app:layout_constraintTop_toBottomOf="@+id/typingHeaderView" />
3833

3934
<io.getstream.chat.android.ui.message.input.MessageInputView
4035
android:id="@+id/messageInputView"

samplekotlin/src/main/res/layout/activity_channel_3.xml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,7 @@
3030
app:layout_constraintBottom_toTopOf="@+id/messageInputView"
3131
app:layout_constraintEnd_toEndOf="parent"
3232
app:layout_constraintStart_toStartOf="parent"
33-
app:layout_constraintTop_toBottomOf="@+id/typingHeaderView"
34-
app:streamUiMessageBackgroundColorMine="#70AF74"
35-
app:streamUiMessageBackgroundColorTheirs="#FFF"
36-
app:streamUiMessageTextColorMine="#FFF"
37-
app:streamUiMessageTextColorTheirs="#000" />
33+
app:layout_constraintTop_toBottomOf="@+id/typingHeaderView" />
3834

3935
<io.getstream.chat.android.ui.message.input.MessageInputView
4036
android:id="@+id/messageInputView"

samplekotlin/src/main/res/layout/activity_channel_4.xml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,16 +25,12 @@
2525

2626
<io.getstream.chat.android.ui.message.list.MessageListView
2727
android:id="@+id/messageListView"
28-
android:layout_width="match_parent"
28+
android:layout_width="0dp"
2929
android:layout_height="0dp"
3030
app:layout_constraintBottom_toTopOf="@+id/messageInputView"
3131
app:layout_constraintEnd_toEndOf="parent"
3232
app:layout_constraintStart_toStartOf="parent"
33-
app:layout_constraintTop_toBottomOf="@+id/typingHeaderView"
34-
app:streamUiMessageBackgroundColorMine="#70AF74"
35-
app:streamUiMessageBackgroundColorTheirs="#FFF"
36-
app:streamUiMessageTextColorMine="#FFF"
37-
app:streamUiMessageTextColorTheirs="#000" />
33+
app:layout_constraintTop_toBottomOf="@+id/typingHeaderView" />
3834

3935
<io.getstream.chat.android.ui.message.input.MessageInputView
4036
android:id="@+id/messageInputView"

0 commit comments

Comments
 (0)