forked from upstream-mirrors/quik
54 lines
1.8 KiB
XML
54 lines
1.8 KiB
XML
<RelativeLayout 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:orientation="vertical">
|
|
|
|
<LinearLayout
|
|
android:id="@+id/empty_state"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_centerInParent="true"
|
|
android:alpha="0.5"
|
|
android:gravity="center"
|
|
android:orientation="vertical"
|
|
android:paddingBottom="32dp"
|
|
android:visibility="gone">
|
|
|
|
<ImageView
|
|
android:id="@+id/empty_state_icon"
|
|
android:layout_width="120dp"
|
|
android:layout_height="120dp"
|
|
android:src="@drawable/ic_chat" />
|
|
|
|
<com.moez.QKSMS.ui.view.QKTextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="center"
|
|
android:text="@string/hint_no_messages"
|
|
app:type="dialog_title" />
|
|
|
|
</LinearLayout>
|
|
|
|
<android.support.v7.widget.RecyclerView
|
|
android:id="@+id/conversations_list"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:cacheColorHint="@color/transparent"
|
|
android:clipToPadding="false"
|
|
android:divider="@null"
|
|
android:paddingBottom="8sp"
|
|
android:paddingTop="8sp"
|
|
android:scrollbarStyle="outsideOverlay" />
|
|
|
|
<com.melnykov.fab.FloatingActionButton
|
|
android:id="@+id/fab"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignParentBottom="true"
|
|
android:layout_alignParentRight="true"
|
|
android:layout_margin="16dp"
|
|
android:src="@drawable/ic_add" />
|
|
|
|
</RelativeLayout>
|