|
@@ -60,6 +60,198 @@
|
|
|
</androidx.swiperefreshlayout.widget.SwipeRefreshLayout>
|
|
|
|
|
|
<include layout="@layout/empty_list" />
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:id="@+id/loading_content"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:orientation="vertical">
|
|
|
+
|
|
|
+ <com.elyeproj.loaderviewlibrary.LoaderTextView
|
|
|
+ android:id="@+id/shimmer_header"
|
|
|
+ android:layout_width="140dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="@dimen/standard_list_item_size"
|
|
|
+ android:layout_marginTop="10dp"
|
|
|
+ android:layout_marginBottom="40dp"/>
|
|
|
+
|
|
|
+ <RelativeLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:paddingRight="@dimen/standard_padding"
|
|
|
+ android:paddingBottom="@dimen/standard_padding"
|
|
|
+ android:paddingLeft="@dimen/standard_padding">
|
|
|
+
|
|
|
+ <com.elyeproj.loaderviewlibrary.LoaderImageView
|
|
|
+ android:id="@+id/activity_icon1"
|
|
|
+ app:corners="100"
|
|
|
+ android:layout_width="@dimen/activity_icon_width"
|
|
|
+ android:layout_height="@dimen/activity_icon_height"
|
|
|
+ android:layout_alignParentTop="true"
|
|
|
+ android:layout_marginTop="@dimen/standard_margin"
|
|
|
+ android:padding="2dp"
|
|
|
+ android:contentDescription="@null" />
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:orientation="vertical"
|
|
|
+ android:layout_toEndOf="@id/activity_icon1">
|
|
|
+
|
|
|
+ <com.elyeproj.loaderviewlibrary.LoaderTextView
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:ellipsize="end"
|
|
|
+ android:paddingEnd="@dimen/zero"
|
|
|
+ android:paddingStart="@dimen/activity_icon_layout_right_end_margin"
|
|
|
+ android:paddingTop="@dimen/standard_padding" />
|
|
|
+
|
|
|
+ <com.elyeproj.loaderviewlibrary.LoaderTextView
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="4dp"
|
|
|
+ android:paddingEnd="@dimen/zero"
|
|
|
+ android:paddingStart="@dimen/activity_icon_layout_right_end_margin"/>
|
|
|
+
|
|
|
+ <com.elyeproj.loaderviewlibrary.LoaderTextView
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="4dp"
|
|
|
+ android:paddingEnd="@dimen/zero"
|
|
|
+ android:paddingStart="@dimen/activity_icon_layout_right_end_margin"/>
|
|
|
+
|
|
|
+ <com.elyeproj.loaderviewlibrary.LoaderTextView
|
|
|
+ android:layout_width="120dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="4dp"
|
|
|
+ android:layout_gravity="end"
|
|
|
+ android:paddingEnd="@dimen/zero"
|
|
|
+ android:paddingStart="@dimen/activity_icon_layout_right_end_margin"/>
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ </RelativeLayout>
|
|
|
+
|
|
|
+ <RelativeLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:paddingRight="@dimen/standard_padding"
|
|
|
+ android:paddingBottom="@dimen/standard_padding"
|
|
|
+ android:paddingLeft="@dimen/standard_padding">
|
|
|
+
|
|
|
+ <com.elyeproj.loaderviewlibrary.LoaderImageView
|
|
|
+ android:id="@+id/activity_icon2"
|
|
|
+ app:corners="100"
|
|
|
+ android:layout_width="@dimen/activity_icon_width"
|
|
|
+ android:layout_height="@dimen/activity_icon_height"
|
|
|
+ android:layout_alignParentTop="true"
|
|
|
+ android:layout_marginTop="@dimen/standard_margin"
|
|
|
+ android:padding="2dp"
|
|
|
+ android:contentDescription="@null" />
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:orientation="vertical"
|
|
|
+ android:layout_toEndOf="@id/activity_icon2">
|
|
|
+
|
|
|
+ <com.elyeproj.loaderviewlibrary.LoaderTextView
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:ellipsize="end"
|
|
|
+ android:paddingEnd="@dimen/zero"
|
|
|
+ android:paddingStart="@dimen/activity_icon_layout_right_end_margin"
|
|
|
+ android:paddingTop="@dimen/standard_padding" />
|
|
|
+
|
|
|
+ <com.elyeproj.loaderviewlibrary.LoaderTextView
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="4dp"
|
|
|
+ android:paddingEnd="@dimen/zero"
|
|
|
+ android:paddingStart="@dimen/activity_icon_layout_right_end_margin"/>
|
|
|
+
|
|
|
+ <com.elyeproj.loaderviewlibrary.LoaderTextView
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="4dp"
|
|
|
+ android:paddingEnd="@dimen/zero"
|
|
|
+ android:paddingStart="@dimen/activity_icon_layout_right_end_margin"/>
|
|
|
+
|
|
|
+ <com.elyeproj.loaderviewlibrary.LoaderTextView
|
|
|
+ android:layout_width="120dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="4dp"
|
|
|
+ android:layout_gravity="end"
|
|
|
+ android:paddingEnd="@dimen/zero"
|
|
|
+ android:paddingStart="@dimen/activity_icon_layout_right_end_margin"/>
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ </RelativeLayout>
|
|
|
+
|
|
|
+ <RelativeLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:paddingRight="@dimen/standard_padding"
|
|
|
+ android:paddingBottom="@dimen/standard_padding"
|
|
|
+ android:paddingLeft="@dimen/standard_padding">
|
|
|
+
|
|
|
+ <com.elyeproj.loaderviewlibrary.LoaderImageView
|
|
|
+ android:id="@+id/activity_icon3"
|
|
|
+ app:corners="100"
|
|
|
+ android:layout_width="@dimen/activity_icon_width"
|
|
|
+ android:layout_height="@dimen/activity_icon_height"
|
|
|
+ android:layout_alignParentTop="true"
|
|
|
+ android:layout_marginTop="@dimen/standard_margin"
|
|
|
+ android:padding="2dp"
|
|
|
+ android:contentDescription="@null" />
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:orientation="vertical"
|
|
|
+ android:layout_toEndOf="@id/activity_icon3">
|
|
|
+
|
|
|
+ <com.elyeproj.loaderviewlibrary.LoaderTextView
|
|
|
+ android:id="@+id/activity_subject"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:ellipsize="end"
|
|
|
+ android:paddingEnd="@dimen/zero"
|
|
|
+ android:paddingStart="@dimen/activity_icon_layout_right_end_margin"
|
|
|
+ android:paddingTop="@dimen/standard_padding"
|
|
|
+ android:textAppearance="?android:attr/textAppearanceListItem" />
|
|
|
+
|
|
|
+ <com.elyeproj.loaderviewlibrary.LoaderTextView
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="4dp"
|
|
|
+ android:paddingEnd="@dimen/zero"
|
|
|
+ android:paddingStart="@dimen/activity_icon_layout_right_end_margin"/>
|
|
|
+
|
|
|
+ <com.elyeproj.loaderviewlibrary.LoaderTextView
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="4dp"
|
|
|
+ android:paddingEnd="@dimen/zero"
|
|
|
+ android:paddingStart="@dimen/activity_icon_layout_right_end_margin"/>
|
|
|
+
|
|
|
+ <com.elyeproj.loaderviewlibrary.LoaderTextView
|
|
|
+ android:layout_width="120dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="4dp"
|
|
|
+ android:layout_gravity="end"
|
|
|
+ android:paddingEnd="@dimen/zero"
|
|
|
+ android:paddingStart="@dimen/activity_icon_layout_right_end_margin"/>
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ </RelativeLayout>
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
</FrameLayout>
|
|
|
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|
|
|
|