Improved chat bubble layout

This commit is contained in:
Sylvain Berfini 2016-10-13 11:25:02 +02:00
parent 29817f91f5
commit a1dc06be96

View file

@ -108,25 +108,37 @@
</RelativeLayout> </RelativeLayout>
</LinearLayout> </LinearLayout>
</LinearLayout>
<RelativeLayout
android:layout_alignRight="@id/background"
android:layout_alignTop="@id/background"
android:layout_width="15dp"
android:layout_height="15dp"
android:paddingTop="5dp">
<ImageView <ImageView
android:id="@+id/status" android:id="@+id/status"
android:contentDescription="@string/content_description_message_status" android:contentDescription="@string/content_description_message_status"
android:visibility="invisible" android:visibility="invisible"
android:padding="5dp" android:layout_alignParentTop="true"
android:layout_gravity="top|right" android:layout_alignParentRight="true"
android:layout_width="20dp" android:paddingRight="5dp"
android:layout_height="20dp" android:layout_width="match_parent"
android:layout_height="match_parent"
android:adjustViewBounds="true" /> android:adjustViewBounds="true" />
<ProgressBar <ProgressBar
android:id="@+id/inprogress" android:id="@+id/inprogress"
android:visibility="gone" android:visibility="gone"
android:layout_alignParentTop="true"
android:layout_alignParentRight="true"
android:paddingRight="5dp" android:paddingRight="5dp"
android:layout_gravity="top|right" android:layout_width="match_parent"
android:layout_width="20dp" android:layout_height="match_parent"/>
android:layout_height="20dp"/>
</LinearLayout> </RelativeLayout>
</RelativeLayout> </RelativeLayout>