* chore: bump target SDK version to 35 * fix: address nullability issues * chore: bump target SDK version to 36 * refactor: update edge-to-edge implementation * refactor: update edge-to-edge implementation * refactor: update edge-to-edge implementation * refactor: update edge-to-edge implementation * refactor: migrate away from deprecated onBackPressed() * chore(deps): update org.fossify.commons to 5.5.0 * docs: update changelog * fix: add missing dependencies * chore: update lint baselines
89 lines
4.1 KiB
XML
89 lines
4.1 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:id="@+id/archive_coordinator"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
|
|
<org.fossify.commons.views.MyAppBarLayout
|
|
android:id="@+id/archive_appbar"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content">
|
|
|
|
<com.google.android.material.appbar.MaterialToolbar
|
|
android:id="@+id/archive_toolbar"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="?attr/actionBarSize"
|
|
android:background="@color/color_primary"
|
|
app:title="@string/archived_conversations"
|
|
app:titleTextAppearance="@style/AppTheme.ActionBar.TitleTextStyle" />
|
|
|
|
</org.fossify.commons.views.MyAppBarLayout>
|
|
|
|
<RelativeLayout
|
|
android:id="@+id/archive_nested_scrollview"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:fillViewport="true"
|
|
android:scrollbars="none"
|
|
app:layout_behavior="@string/appbar_scrolling_view_behavior">
|
|
|
|
<androidx.coordinatorlayout.widget.CoordinatorLayout
|
|
android:id="@+id/archive_coordinator_wrapper"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
|
|
<RelativeLayout
|
|
android:id="@+id/archive_holder"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
|
|
<com.google.android.material.progressindicator.LinearProgressIndicator
|
|
android:id="@+id/conversations_progress_bar"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignParentTop="true"
|
|
android:indeterminate="true"
|
|
android:visibility="gone"
|
|
app:hideAnimationBehavior="outward"
|
|
app:showAnimationBehavior="inward"
|
|
app:showDelay="250"
|
|
tools:visibility="visible" />
|
|
|
|
<org.fossify.commons.views.MyTextView
|
|
android:id="@+id/no_conversations_placeholder"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_centerHorizontal="true"
|
|
android:layout_marginTop="@dimen/bigger_margin"
|
|
android:alpha="0.8"
|
|
android:gravity="center"
|
|
android:paddingLeft="@dimen/activity_margin"
|
|
android:paddingRight="@dimen/activity_margin"
|
|
android:text="@string/no_archived_conversations"
|
|
android:textSize="@dimen/bigger_text_size"
|
|
android:textStyle="italic"
|
|
android:visibility="gone" />
|
|
|
|
<com.qtalk.recyclerviewfastscroller.RecyclerViewFastScroller
|
|
android:id="@+id/conversations_fastscroller"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content">
|
|
|
|
<org.fossify.commons.views.MyRecyclerView
|
|
android:id="@+id/conversations_list"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:clipToPadding="false"
|
|
android:layoutAnimation="@anim/layout_animation"
|
|
android:overScrollMode="ifContentScrolls"
|
|
android:scrollbars="none"
|
|
app:layoutManager="org.fossify.commons.views.MyLinearLayoutManager" />
|
|
|
|
</com.qtalk.recyclerviewfastscroller.RecyclerViewFastScroller>
|
|
</RelativeLayout>
|
|
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|
|
</RelativeLayout>
|
|
|
|
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|