You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<RelativeLayoutxmlns:android="http://schemas.android.com/apk/res/android"xmlns:tools="http://schemas.android.com/tools"android:layout_width="match_parent"android:layout_height="wrap_content">
<LinearLayoutandroid:id="@id/bubble"android:layout_width="wrap_content"android:layout_height="wrap_content"android:layout_alignParentEnd="true"android:layout_alignParentRight="true"android:layout_marginLeft="40dp"android:layout_marginStart="40dp"android:orientation="vertical"android:background="@drawable/outgoing_message_wrapper"android:paddingTop="8dp"android:paddingBottom="4dp"android:paddingHorizontal="12dp">
<TextViewandroid:id="@id/messageText"android:layout_width="wrap_content"android:layout_height="wrap_content"android:textAppearance="@style/message_text"android:layout_marginBottom="4dp"android:inputType="text|textMultiLine"tools:text="Just testing text box. but much more bigger to test line break with this text box dasdasd asdaasdasd"/>
<LinearLayoutandroid:layout_width="wrap_content"android:layout_height="16dp"android:layout_gravity="center_vertical|right"android:orientation="horizontal">
<TextViewandroid:id="@id/messageTime"android:layout_width="wrap_content"android:layout_height="16dp"android:gravity="right"android:layout_gravity="center_vertical|right"android:layout_weight="1"android:textAppearance="@style/message_date_text"tools:text="08:21"/>
<ImageViewandroid:id="@+id/messageTick"android:layout_width="wrap_content"android:layout_height="wrap_content"android:gravity="right"android:layout_gravity="center_vertical|right"android:layout_weight="0"android:src="@drawable/clock"android:layout_marginLeft="4dp" />
</LinearLayout>
</LinearLayout>
</RelativeLayout>
My bubbles are supposed to be like:
(incoming)
(outcoming)
But as you can see here:
Layout is just partially applied.
I don't have any idea why it isn't working. But if I use styling via attributes, I can apply my custom bubbles, but inner styling like put clock icon next to time just stops to work.
Can anyone help me to achieve that?
The text was updated successfully, but these errors were encountered:
Hey, I'm using ChatKit to build a custom chat implementation and unfortunately I guess it's not working properly.
I have this layout for my chat:
For outcoming text message I have
and
outgoing_message_wrapper
background is:And I have an init method to initialize all what I need:
My bubbles are supposed to be like:
(incoming)
(outcoming)
But as you can see here:
Layout is just partially applied.
I don't have any idea why it isn't working. But if I use styling via attributes, I can apply my custom bubbles, but inner styling like put clock icon next to time just stops to work.
Can anyone help me to achieve that?
The text was updated successfully, but these errors were encountered: