Commit 85142b69 authored by Grigory Fedorov's avatar Grigory Fedorov

Chat viewer: layout improvements. Send button null background. Avatar bottom aligned.

parent bbccea6b
...@@ -58,7 +58,9 @@ ...@@ -58,7 +58,9 @@
android:layout_alignParentBottom="true" android:layout_alignParentBottom="true"
android:layout_alignParentRight="true" android:layout_alignParentRight="true"
android:layout_alignParentEnd="true" android:layout_alignParentEnd="true"
android:padding="8dp"
android:src="@drawable/ic_send_white_24dp" android:src="@drawable/ic_send_white_24dp"
android:background="@null"
android:contentDescription="@string/chat_send" /> android:contentDescription="@string/chat_send" />
</RelativeLayout> </RelativeLayout>
...@@ -27,10 +27,9 @@ ...@@ -27,10 +27,9 @@
android:layout_height="32dip" android:layout_height="32dip"
android:src="@drawable/avatar_1_1" android:src="@drawable/avatar_1_1"
android:layout_marginTop="4dp" android:layout_alignParentBottom="true"
android:layout_marginBottom="4dp" android:layout_alignParentLeft="true"
android:layout_alignParentStart="true" />
/>
<TextView <TextView
android:id="@+id/text" android:id="@+id/text"
...@@ -55,8 +54,6 @@ ...@@ -55,8 +54,6 @@
android:layout_marginStart="40dp" android:layout_marginStart="40dp"
android:layout_marginLeft="4dp" android:layout_marginLeft="4dp"
android:textColor="@android:color/primary_text_light"
android:text="Some text\n line \nrgregrere" android:text="Some text\n line \nrgregrere"
android:background="@drawable/msg_in" android:background="@drawable/msg_in"
......
...@@ -39,8 +39,6 @@ ...@@ -39,8 +39,6 @@
android:layout_marginEnd="4dp" android:layout_marginEnd="4dp"
android:layout_marginRight="4dp" android:layout_marginRight="4dp"
android:textColor="@android:color/primary_text_light"
android:text="Some text\n line \nrgregrere" android:text="Some text\n line \nrgregrere"
android:background="@drawable/msg_out" android:background="@drawable/msg_out"
android:gravity="end" android:gravity="end"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment