Commit fd1283a2 authored by divyanshu's avatar divyanshu

Improvement in message notify layout

parent 98b0b8f6
......@@ -4,7 +4,7 @@
<solid android:color="@color/colorAccent" />
<size
android:width="20dp"
android:height="20dp" />
android:width="24dp"
android:height="24dp" />
</shape>
\ No newline at end of file
......@@ -2,7 +2,8 @@
<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent">
android:layout_height="match_parent"
xmlns:tools="http://schemas.android.com/tools">
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/recycler_view"
......@@ -10,40 +11,33 @@
android:layout_height="match_parent"
android:scrollbars="vertical" />
<RelativeLayout
<com.google.android.material.floatingactionbutton.FloatingActionButton
android:id="@+id/button_fab"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentEnd="true"
android:layout_alignParentBottom="true"
app:layout_anchor="@id/recycler_view"
app:layout_anchorGravity="bottom|end">
android:visibility="invisible"
android:layout_margin="16dp"
android:src="@drawable/ic_arrow_downward_24dp"
android:theme="@style/Theme.AppCompat"
android:tint="@color/actionMenuColor"
app:backgroundTint="@color/colorWhite"
tools:visibility="visible"
android:layout_gravity="end|bottom" />
<com.google.android.material.floatingactionbutton.FloatingActionButton
android:id="@+id/button_fab"
android:layout_alignParentEnd="true"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:visibility="invisible"
android:layout_margin="16dp"
android:src="@drawable/ic_arrow_downward_24dp"
android:theme="@style/Theme.AppCompat"
android:tint="@color/actionMenuColor"
app:backgroundTint="@color/colorWhite"
app:fabSize="mini" />
<TextView
android:id="@+id/text_count"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:elevation="7dp"
android:padding="2dp"
android:gravity="center"
android:layout_margin="10dp"
android:textColor="@color/colorWhite"
android:visibility="invisible"
android:layout_alignParentEnd="true"
android:textSize="@dimen/message_time_text_size"
android:background="@drawable/round_textview" />
</RelativeLayout>
<TextView
android:id="@+id/text_count"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:elevation="6dp"
android:gravity="center"
android:textColor="@color/colorWhite"
android:visibility="invisible"
android:textSize="@dimen/message_time_text_size"
android:background="@drawable/round_textview"
tools:visibility="visible"
tools:text="1"
android:layout_gravity="center_vertical"
app:layout_anchor="@id/button_fab"
app:layout_anchorGravity="end"/>
</androidx.coordinatorlayout.widget.CoordinatorLayout>
\ No newline at end of file
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