Fixed display of chat events
This commit is contained in:
parent
0394ca2525
commit
851b219775
1 changed files with 40 additions and 63 deletions
|
@ -28,32 +28,21 @@
|
||||||
android:orientation="horizontal"
|
android:orientation="horizontal"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_toLeftOf="@id/rightAnchor"
|
android:layout_toLeftOf="@id/delete_message"
|
||||||
android:layout_marginTop="5dp"
|
android:layout_marginTop="5dp"
|
||||||
android:layout_marginBottom="5dp"
|
android:layout_marginBottom="5dp"
|
||||||
android:gravity="center_vertical">
|
android:gravity="center"
|
||||||
|
android:background="@drawable/event_decoration_gray">
|
||||||
<ImageView
|
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_weight="1"
|
|
||||||
android:layout_marginRight="10dp"
|
|
||||||
android:src="@drawable/event_decoration_gray"
|
|
||||||
android:scaleType="fitXY"/>
|
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/event_text"
|
android:id="@+id/event_text"
|
||||||
|
android:textAppearance="@style/font_group_chat_event"
|
||||||
|
android:background="@color/colorH"
|
||||||
|
android:paddingLeft="10dp"
|
||||||
|
android:paddingRight="10dp"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"/>
|
android:layout_height="wrap_content"/>
|
||||||
|
|
||||||
<ImageView
|
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_weight="1"
|
|
||||||
android:layout_marginLeft="10dp"
|
|
||||||
android:src="@drawable/event_decoration_gray"
|
|
||||||
android:scaleType="fitXY"/>
|
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
|
@ -62,32 +51,20 @@
|
||||||
android:orientation="horizontal"
|
android:orientation="horizontal"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_toLeftOf="@id/rightAnchor"
|
android:layout_toLeftOf="@id/delete_message"
|
||||||
android:layout_marginTop="5dp"
|
android:layout_marginTop="5dp"
|
||||||
android:layout_marginBottom="5dp"
|
android:layout_marginBottom="5dp"
|
||||||
android:gravity="center_vertical">
|
android:gravity="center"
|
||||||
|
android:background="@drawable/event_decoration_red">
|
||||||
<ImageView
|
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_weight="1"
|
|
||||||
android:layout_marginRight="10dp"
|
|
||||||
android:src="@drawable/event_decoration_red"
|
|
||||||
android:scaleType="fitXY"/>
|
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/security_event_text"
|
android:id="@+id/security_event_text"
|
||||||
|
android:textAppearance="@style/font_group_chat_event"
|
||||||
|
android:background="@color/colorI"
|
||||||
|
android:paddingLeft="10dp"
|
||||||
|
android:paddingRight="10dp"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"/>
|
||||||
android:textColor="@color/colorI"/>
|
|
||||||
|
|
||||||
<ImageView
|
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_weight="1"
|
|
||||||
android:layout_marginLeft="10dp"
|
|
||||||
android:src="@drawable/event_decoration_red"
|
|
||||||
android:scaleType="fitXY"/>
|
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue