Commit 94ffccc4 authored by Filipe de Lima Brito's avatar Filipe de Lima Brito

Update room_list_item.xml

parent ba6b932a
......@@ -2,50 +2,49 @@
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingTop="10dp"
android:paddingStart="?attr/listPreferredItemPaddingLeft"
android:paddingEnd="?attr/listPreferredItemPaddingRight"
android:paddingLeft="?attr/listPreferredItemPaddingLeft"
android:paddingRight="?attr/listPreferredItemPaddingRight"
android:paddingEnd="?attr/listPreferredItemPaddingRight">
android:paddingBottom="10dp">
<FrameLayout
android:layout_width="32dp"
android:layout_height="?attr/listPreferredItemHeightSmall"
android:layout_marginEnd="16dp"
android:layout_marginRight="16dp">
<ImageView
android:id="@+id/image_room_type"
android:layout_width="20dp"
android:layout_height="wrap_content"
android:visibility="gone" />
<io.github.yusukeiwaki.android.widget.FontAwesomeTextView
android:id="@+id/icon"
android:layout_width="wrap_content"
<ImageView
android:id="@+id/image_user_status"
android:layout_marginLeft="5dp"
android:layout_marginStart="5dp"
android:layout_marginRight="5dp"
android:layout_marginEnd="5dp"
android:layout_width="10dp"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:textAppearance="@style/TextAppearance.AppCompat.Body1" />
</FrameLayout>
android:visibility="gone" />
<TextView
android:id="@+id/text"
android:id="@+id/text_room_name"
android:layout_width="0dp"
android:layout_height="?attr/listPreferredItemHeightSmall"
android:layout_weight="1"
android:layout_height="match_parent"
android:layout_weight="0.9"
android:layout_marginStart="16dp"
android:layout_marginLeft="16dp"
android:layout_marginEnd="16dp"
android:layout_marginRight="16dp"
android:gravity="center_vertical"
android:textAppearance="@style/TextAppearance.AppCompat.Body2" />
<FrameLayout
android:id="@+id/alert_count_container"
android:layout_width="wrap_content"
android:minWidth="20dp"
android:layout_height="wrap_content"
android:layout_marginStart="8dp"
android:padding="3dp"
android:layout_gravity="center_vertical"
android:background="@drawable/unread_count_background"
android:layout_marginLeft="8dp">
<TextView
android:id="@+id/alert_count"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textSize="14dp"
android:layout_gravity="center"
android:textAppearance="@style/TextAppearance.AppCompat.Body1" />
</FrameLayout>
android:id="@+id/text_alert_count"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="0.1"
android:gravity="center"
android:textSize="14sp"
android:textAppearance="@style/TextAppearance.AppCompat.Body1"
android:background="@drawable/style_alert_count"
android:visibility="gone" />
</LinearLayout>
\ 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