2019-06-03 23:25:05 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2022-09-14 20:40:44 +02:00
|
|
|
<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2022-08-15 16:26:02 +02:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
2022-04-22 17:18:38 +02:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
2020-05-30 18:59:52 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
2022-09-14 20:40:44 +02:00
|
|
|
android:background="?attr/primaryBackgroundColor"
|
|
|
|
android:orientation="vertical">
|
2019-06-03 23:25:05 +02:00
|
|
|
|
|
|
|
<com.google.android.material.appbar.AppBarLayout
|
2020-03-28 13:44:45 +01:00
|
|
|
android:id="@+id/appbar"
|
2019-06-03 23:25:05 +02:00
|
|
|
android:layout_width="match_parent"
|
2019-06-08 21:50:08 +02:00
|
|
|
android:layout_height="wrap_content"
|
2022-09-14 20:40:44 +02:00
|
|
|
android:theme="@style/Widget.AppCompat.SearchView"
|
|
|
|
app:elevation="@dimen/dimen0dp">
|
2019-06-03 23:25:05 +02:00
|
|
|
|
2020-08-08 17:43:14 +02:00
|
|
|
<com.google.android.material.appbar.MaterialToolbar
|
2019-06-03 23:25:05 +02:00
|
|
|
android:id="@+id/toolbar"
|
|
|
|
android:layout_width="match_parent"
|
2020-08-09 10:23:51 +02:00
|
|
|
android:layout_height="wrap_content"
|
2020-08-08 17:43:14 +02:00
|
|
|
android:background="?attr/primaryBackgroundColor">
|
2020-01-02 08:51:10 +01:00
|
|
|
|
2020-09-13 06:52:30 +02:00
|
|
|
<ImageView
|
|
|
|
android:id="@+id/issuePrState"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2022-09-14 20:40:44 +02:00
|
|
|
android:contentDescription="@string/generalImgContentText"
|
2022-08-07 21:34:02 +02:00
|
|
|
android:paddingStart="@dimen/dimen0dp"
|
|
|
|
android:paddingEnd="@dimen/dimen8dp"
|
2022-09-14 20:40:44 +02:00
|
|
|
android:src="@drawable/ic_issue"
|
|
|
|
android:visibility="gone" />
|
2020-09-13 06:52:30 +02:00
|
|
|
|
2020-01-02 08:51:10 +01:00
|
|
|
<TextView
|
2022-09-14 20:40:44 +02:00
|
|
|
android:id="@+id/toolbar_title"
|
2020-01-02 08:51:10 +01:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:gravity="center_vertical"
|
2020-03-04 20:37:28 +01:00
|
|
|
android:textColor="?attr/primaryTextColor"
|
2022-09-14 20:40:44 +02:00
|
|
|
android:textSize="@dimen/dimen20sp" />
|
2020-01-02 08:51:10 +01:00
|
|
|
|
2020-08-08 17:43:14 +02:00
|
|
|
</com.google.android.material.appbar.MaterialToolbar>
|
2019-06-03 23:25:05 +02:00
|
|
|
|
|
|
|
</com.google.android.material.appbar.AppBarLayout>
|
|
|
|
|
2021-03-09 22:15:42 +01:00
|
|
|
<com.google.android.material.progressindicator.LinearProgressIndicator
|
2020-08-09 10:23:51 +02:00
|
|
|
android:id="@+id/progressBar"
|
2022-09-14 20:40:44 +02:00
|
|
|
style="@style/Widget.Material3.LinearProgressIndicator"
|
2020-08-09 10:23:51 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2022-08-07 21:34:02 +02:00
|
|
|
android:layout_marginTop="@dimen/dimen56dp"
|
2021-03-09 22:15:42 +01:00
|
|
|
android:indeterminate="true"
|
2022-09-14 20:40:44 +02:00
|
|
|
app:indicatorColor="?attr/progressIndicatorColor" />
|
2020-08-09 10:23:51 +02:00
|
|
|
|
Don't use TinyDB as cache (#1034)
Do not use TinyDB as a cache or a way to send data between activities.
### How is this working
Instead of saving everything into the TinyDB, I created three `Context`s (a `RepositoryContext`, an `IssueContext` and an `AccountContext`). All are used to store things like API or database values/models and additional data, e.g. the `RepositoryContext` also contains information about the current filter state of a repository (issues, pull requests, releases/tags and milestones). These are sent using `Intent`s and `Bundle`s between activities and fragments. Changing a field (e.g. filter state) in any fragment changes it also for the whole repository (or at least it should do so).
Due to the size of the changes (after https://codeberg.org/gitnex/GitNex/commit/c9172f85efafd9f25739fdd8385e1904b711ea41, Git says `154 files changed, 3318 insertions(+), 3835 deletions(-)`) **I highly recommend you to create a beta/pre release before releasing a stable version**.
Additional changes:
* after logging out, the account remains in the account list (with a note) and you can log in again (you can't switch to this account)
* repositories and organizations are clickable on user profiles
* deleted two unused classes
Once finished, hopefully
* closes #354
* replaces #897
* fixes #947
* closes #1001
* closes #1015
* marks #876 and #578 as `Wontfix` since they are not necessary at this point
* and all the other TinyDB issues
Co-authored-by: qwerty287 <ndev@web.de>
Co-authored-by: M M Arif <mmarif@noreply.codeberg.org>
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://codeberg.org/gitnex/GitNex/pulls/1034
Reviewed-by: 6543 <6543@noreply.codeberg.org>
Co-authored-by: qwerty287 <qwerty287@noreply.codeberg.org>
Co-committed-by: qwerty287 <qwerty287@noreply.codeberg.org>
2022-03-13 03:59:13 +01:00
|
|
|
<com.google.android.material.floatingactionbutton.ExtendedFloatingActionButton
|
|
|
|
android:id="@+id/addNewComment"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2022-09-14 20:40:44 +02:00
|
|
|
android:layout_gravity="bottom|end"
|
2022-08-07 21:34:02 +02:00
|
|
|
android:layout_margin="@dimen/dimen16dp"
|
2022-09-14 20:40:44 +02:00
|
|
|
android:backgroundTint="?attr/fabColor"
|
2022-08-26 19:00:08 +02:00
|
|
|
android:contentDescription="@string/commentButtonText"
|
2022-09-14 20:40:44 +02:00
|
|
|
android:text="@string/commentButtonText"
|
2023-03-26 08:11:59 +02:00
|
|
|
android:textColor="?attr/materialCardBackgroundColor"
|
|
|
|
app:iconTint="?attr/materialCardBackgroundColor"
|
|
|
|
app:icon="@drawable/ic_reply" />
|
2020-08-09 10:23:51 +02:00
|
|
|
|
2019-06-03 23:25:05 +02:00
|
|
|
<RelativeLayout
|
|
|
|
android:id="@+id/relativeMainLayoutFrame"
|
|
|
|
android:layout_width="match_parent"
|
2022-09-14 20:40:44 +02:00
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_marginTop="@dimen/dimen64dp">
|
2019-06-03 23:25:05 +02:00
|
|
|
|
|
|
|
<androidx.swiperefreshlayout.widget.SwipeRefreshLayout
|
|
|
|
android:id="@+id/pullToRefresh"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content">
|
|
|
|
|
2021-12-15 23:39:04 +01:00
|
|
|
<androidx.core.widget.NestedScrollView
|
2022-09-14 20:40:44 +02:00
|
|
|
android:id="@+id/scrollViewComments"
|
2020-05-30 18:59:52 +02:00
|
|
|
android:layout_width="wrap_content"
|
2019-06-03 23:25:05 +02:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:fillViewport="true">
|
|
|
|
|
|
|
|
<RelativeLayout
|
|
|
|
android:id="@+id/relativeLayoutFrame"
|
|
|
|
android:layout_width="match_parent"
|
2022-08-26 19:00:08 +02:00
|
|
|
android:layout_height="wrap_content"
|
2022-09-14 20:40:44 +02:00
|
|
|
android:paddingStart="@dimen/dimen8dp"
|
|
|
|
android:paddingTop="@dimen/dimen2dp"
|
|
|
|
android:paddingEnd="@dimen/dimen8dp"
|
|
|
|
android:paddingBottom="@dimen/dimen8dp">
|
2019-06-03 23:25:05 +02:00
|
|
|
|
2022-08-26 19:00:08 +02:00
|
|
|
<com.google.android.material.card.MaterialCardView
|
2022-09-14 20:40:44 +02:00
|
|
|
android:id="@+id/titleCard"
|
2023-03-26 08:11:59 +02:00
|
|
|
style="?attr/materialCardViewElevatedStyle"
|
2019-06-03 23:25:05 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2022-09-14 20:40:44 +02:00
|
|
|
android:layout_marginBottom="@dimen/dimen12dp"
|
2022-08-26 19:00:08 +02:00
|
|
|
app:cardElevation="@dimen/dimen0dp">
|
2020-05-30 18:59:52 +02:00
|
|
|
|
2022-04-22 17:18:38 +02:00
|
|
|
<LinearLayout
|
2020-05-30 18:59:52 +02:00
|
|
|
android:layout_width="match_parent"
|
2019-06-03 23:25:05 +02:00
|
|
|
android:layout_height="wrap_content"
|
2022-08-26 19:00:08 +02:00
|
|
|
android:background="?attr/materialCardBackgroundColor"
|
2022-09-14 20:40:44 +02:00
|
|
|
android:foreground="?android:attr/selectableItemBackground"
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:padding="@dimen/dimen12dp">
|
2022-04-22 17:18:38 +02:00
|
|
|
|
2022-09-14 20:40:44 +02:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/issueTitle"
|
2022-04-22 17:18:38 +02:00
|
|
|
android:layout_width="match_parent"
|
2020-05-30 18:59:52 +02:00
|
|
|
android:layout_height="wrap_content"
|
2022-09-14 20:40:44 +02:00
|
|
|
android:gravity="start"
|
|
|
|
android:textColor="?attr/primaryTextColor"
|
|
|
|
android:textIsSelectable="true"
|
|
|
|
android:textSize="@dimen/dimen16sp" />
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
</com.google.android.material.card.MaterialCardView>
|
|
|
|
|
|
|
|
<com.google.android.material.card.MaterialCardView
|
|
|
|
android:id="@+id/mainThreadCard"
|
2023-03-26 08:11:59 +02:00
|
|
|
style="?attr/materialCardViewElevatedStyle"
|
2022-09-14 20:40:44 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_below="@+id/titleCard"
|
|
|
|
android:layout_marginBottom="@dimen/dimen0dp"
|
|
|
|
app:cardElevation="@dimen/dimen0dp">
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2024-02-11 14:20:23 +01:00
|
|
|
android:orientation="vertical">
|
2022-09-14 20:40:44 +02:00
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
2024-02-11 14:20:23 +01:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:background="?attr/materialCardBackgroundColor"
|
|
|
|
android:foreground="?android:attr/selectableItemBackground"
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:padding="@dimen/dimen12dp">
|
2022-08-26 19:00:08 +02:00
|
|
|
|
2024-02-11 14:20:23 +01:00
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:orientation="horizontal">
|
2022-08-26 19:00:08 +02:00
|
|
|
|
2024-02-11 14:20:23 +01:00
|
|
|
<com.google.android.material.card.MaterialCardView
|
|
|
|
style="?attr/materialCardViewElevatedStyle"
|
|
|
|
android:layout_width="@dimen/dimen24dp"
|
|
|
|
android:layout_height="@dimen/dimen24dp"
|
|
|
|
app:cardCornerRadius="@dimen/dimen12dp"
|
|
|
|
app:cardElevation="@dimen/dimen0dp">
|
2022-04-22 17:18:38 +02:00
|
|
|
|
2024-02-11 14:20:23 +01:00
|
|
|
<ImageView
|
|
|
|
android:id="@+id/assigneeAvatar"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_weight="0"
|
|
|
|
android:contentDescription="@string/generalImgContentText"
|
|
|
|
tools:srcCompat="@tools:sample/avatars"
|
|
|
|
tools:ignore="TooDeepLayout" />
|
2022-08-26 19:00:08 +02:00
|
|
|
|
2024-02-11 14:20:23 +01:00
|
|
|
</com.google.android.material.card.MaterialCardView>
|
2022-08-26 19:00:08 +02:00
|
|
|
|
|
|
|
<LinearLayout
|
2024-02-11 14:20:23 +01:00
|
|
|
android:layout_width="0dp"
|
2022-08-26 19:00:08 +02:00
|
|
|
android:layout_height="wrap_content"
|
2024-02-11 14:20:23 +01:00
|
|
|
android:layout_marginLeft="@dimen/dimen16dp"
|
|
|
|
android:layout_marginRight="@dimen/dimen16dp"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:orientation="vertical">
|
2022-08-26 19:00:08 +02:00
|
|
|
|
2022-09-14 20:40:44 +02:00
|
|
|
<TextView
|
2024-02-11 14:20:23 +01:00
|
|
|
android:id="@+id/author"
|
2022-09-14 20:40:44 +02:00
|
|
|
android:layout_width="wrap_content"
|
2022-08-26 19:00:08 +02:00
|
|
|
android:layout_height="wrap_content"
|
2024-02-11 14:20:23 +01:00
|
|
|
android:ellipsize="middle"
|
|
|
|
android:singleLine="true"
|
|
|
|
android:textIsSelectable="true"
|
|
|
|
android:textColor="?attr/primaryTextColor"
|
|
|
|
android:textSize="14sp"
|
|
|
|
android:textStyle="bold" />
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
2022-08-26 19:00:08 +02:00
|
|
|
android:layout_height="wrap_content"
|
2024-02-11 14:20:23 +01:00
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/issueCreatedTime"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:gravity="start"
|
|
|
|
android:textColor="?attr/hintColor"
|
|
|
|
android:textSize="12sp"
|
|
|
|
android:visibility="gone" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/issueModified"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:gravity="start"
|
|
|
|
android:text="@string/modifiedText"
|
|
|
|
android:textColor="?attr/hintColor"
|
|
|
|
android:textSize="12sp"
|
|
|
|
android:visibility="gone" />
|
|
|
|
|
|
|
|
</LinearLayout>
|
2022-08-26 19:00:08 +02:00
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
2024-02-11 14:20:23 +01:00
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/dueDateFrame"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:gravity="end|center_vertical"
|
|
|
|
android:orientation="horizontal"
|
|
|
|
android:visibility="gone"
|
|
|
|
tools:ignore="UseCompoundDrawables">
|
2022-08-26 19:00:08 +02:00
|
|
|
|
2024-02-11 14:20:23 +01:00
|
|
|
<ImageView
|
|
|
|
android:layout_width="@dimen/dimen20dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:contentDescription="@string/generalImgContentText"
|
|
|
|
app:srcCompat="@drawable/ic_calendar" />
|
2022-08-26 19:00:08 +02:00
|
|
|
|
2024-02-11 14:20:23 +01:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/issueDueDate"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="@dimen/dimen8dp"
|
|
|
|
android:singleLine="true"
|
|
|
|
android:textIsSelectable="true"
|
|
|
|
android:textColor="?attr/primaryTextColor"
|
|
|
|
android:textSize="@dimen/dimen14sp" />
|
|
|
|
|
|
|
|
</LinearLayout>
|
2022-08-26 19:00:08 +02:00
|
|
|
|
2024-02-11 14:20:23 +01:00
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/milestoneFrame"
|
|
|
|
android:layout_width="match_parent"
|
2022-08-26 19:00:08 +02:00
|
|
|
android:layout_height="wrap_content"
|
2024-02-11 14:20:23 +01:00
|
|
|
android:gravity="end|center_vertical"
|
|
|
|
android:orientation="horizontal"
|
|
|
|
android:visibility="gone"
|
|
|
|
tools:ignore="UseCompoundDrawables">
|
2022-09-14 20:40:44 +02:00
|
|
|
|
2024-02-11 14:20:23 +01:00
|
|
|
<ImageView
|
|
|
|
android:layout_width="@dimen/dimen20dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:contentDescription="@string/generalImgContentText"
|
|
|
|
app:srcCompat="@drawable/ic_milestone" />
|
2022-09-14 20:40:44 +02:00
|
|
|
|
2024-02-11 14:20:23 +01:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/issueMilestone"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="@dimen/dimen8dp"
|
|
|
|
android:singleLine="true"
|
|
|
|
android:textColor="?attr/primaryTextColor"
|
|
|
|
android:textSize="@dimen/dimen14sp" />
|
|
|
|
|
|
|
|
</LinearLayout>
|
2022-09-14 20:40:44 +02:00
|
|
|
|
2024-02-11 14:20:23 +01:00
|
|
|
<HorizontalScrollView
|
|
|
|
android:id="@+id/assigneesScrollView"
|
|
|
|
android:layout_width="match_parent"
|
2022-04-22 17:18:38 +02:00
|
|
|
android:layout_height="wrap_content"
|
2024-02-11 14:20:23 +01:00
|
|
|
android:fillViewport="true"
|
|
|
|
android:foregroundGravity="right"
|
|
|
|
android:visibility="gone"
|
|
|
|
android:scrollbarThumbHorizontal="@android:color/transparent">
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/frameAssignees"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="end"
|
|
|
|
android:layout_marginTop="@dimen/dimen10dp"
|
|
|
|
android:gravity="end"
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
</HorizontalScrollView>
|
2022-08-26 19:00:08 +02:00
|
|
|
|
2024-02-11 14:20:23 +01:00
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
|
|
android:id="@+id/issueDescription"
|
|
|
|
android:layout_width="match_parent"
|
2022-09-14 20:40:44 +02:00
|
|
|
android:layout_height="wrap_content"
|
2024-02-11 14:20:23 +01:00
|
|
|
android:paddingTop="@dimen/dimen8dp"
|
|
|
|
android:autoLink="web"
|
|
|
|
android:gravity="start"
|
|
|
|
android:visibility="gone"
|
2022-09-14 20:40:44 +02:00
|
|
|
android:textColor="?attr/primaryTextColor"
|
2024-02-11 14:20:23 +01:00
|
|
|
android:textColorLink="@color/lightBlue"
|
|
|
|
android:textIsSelectable="true"
|
2022-09-14 20:40:44 +02:00
|
|
|
android:textSize="@dimen/dimen14sp" />
|
2022-08-26 19:00:08 +02:00
|
|
|
|
2024-02-11 14:20:23 +01:00
|
|
|
<HorizontalScrollView
|
|
|
|
android:id="@+id/labelsScrollView"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:fillViewport="true"
|
|
|
|
android:foregroundGravity="right"
|
|
|
|
android:visibility="gone"
|
|
|
|
android:scrollbarThumbHorizontal="@android:color/transparent">
|
2022-08-26 19:00:08 +02:00
|
|
|
|
2024-02-11 14:20:23 +01:00
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/frameLabels"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="@dimen/dimen10dp"
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
</HorizontalScrollView>
|
2022-09-14 20:40:44 +02:00
|
|
|
|
|
|
|
<LinearLayout
|
2024-02-11 14:20:23 +01:00
|
|
|
android:id="@+id/commentReactionBadges"
|
|
|
|
android:layout_width="match_parent"
|
2022-04-22 17:18:38 +02:00
|
|
|
android:layout_height="wrap_content"
|
2022-09-14 20:40:44 +02:00
|
|
|
android:layout_marginTop="@dimen/dimen10dp"
|
2024-02-11 14:20:23 +01:00
|
|
|
android:orientation="horizontal"
|
|
|
|
android:visibility="gone" />
|
2022-08-26 19:00:08 +02:00
|
|
|
|
2024-02-11 14:20:23 +01:00
|
|
|
</LinearLayout>
|
2022-08-26 19:00:08 +02:00
|
|
|
|
2024-02-11 14:20:23 +01:00
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/attachmentFrame"
|
2022-09-14 20:40:44 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2024-02-11 14:20:23 +01:00
|
|
|
android:background="?attr/materialCardBackgroundColor"
|
|
|
|
android:foreground="?android:attr/selectableItemBackground"
|
2022-09-14 20:40:44 +02:00
|
|
|
android:visibility="gone"
|
2024-02-11 14:20:23 +01:00
|
|
|
android:orientation="vertical">
|
2022-09-14 20:40:44 +02:00
|
|
|
|
2024-02-11 14:20:23 +01:00
|
|
|
<com.google.android.material.divider.MaterialDivider
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="@dimen/dimen4dp" />
|
2022-08-26 19:00:08 +02:00
|
|
|
|
|
|
|
<LinearLayout
|
2024-02-11 14:20:23 +01:00
|
|
|
android:id="@+id/attachmentsView"
|
|
|
|
android:layout_width="match_parent"
|
2022-08-26 19:00:08 +02:00
|
|
|
android:layout_height="wrap_content"
|
2024-02-11 14:20:23 +01:00
|
|
|
android:padding="@dimen/dimen12dp"
|
2022-09-14 20:40:44 +02:00
|
|
|
android:orientation="horizontal">
|
2022-04-22 17:18:38 +02:00
|
|
|
|
2022-09-14 20:40:44 +02:00
|
|
|
</LinearLayout>
|
|
|
|
|
2024-02-11 14:20:23 +01:00
|
|
|
</LinearLayout>
|
2022-04-22 17:18:38 +02:00
|
|
|
|
|
|
|
</LinearLayout>
|
2020-05-30 18:59:52 +02:00
|
|
|
|
2022-08-26 19:00:08 +02:00
|
|
|
</com.google.android.material.card.MaterialCardView>
|
2020-05-30 18:59:52 +02:00
|
|
|
|
2022-08-26 19:00:08 +02:00
|
|
|
<FrameLayout
|
2019-06-03 23:25:05 +02:00
|
|
|
android:layout_width="match_parent"
|
2022-08-26 19:00:08 +02:00
|
|
|
android:layout_height="match_parent"
|
2022-09-14 20:40:44 +02:00
|
|
|
android:layout_below="@+id/mainThreadCard"
|
|
|
|
android:background="?attr/primaryBackgroundColor">
|
2020-05-30 18:59:52 +02:00
|
|
|
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
|
|
android:id="@+id/recyclerView"
|
|
|
|
android:layout_width="match_parent"
|
2022-09-14 20:40:44 +02:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:clipToPadding="false"
|
|
|
|
android:paddingBottom="@dimen/dimen72dp" />
|
2020-05-30 18:59:52 +02:00
|
|
|
|
2022-08-26 19:00:08 +02:00
|
|
|
</FrameLayout>
|
2019-06-03 23:25:05 +02:00
|
|
|
|
|
|
|
</RelativeLayout>
|
|
|
|
|
2021-12-15 23:39:04 +01:00
|
|
|
</androidx.core.widget.NestedScrollView>
|
2019-06-03 23:25:05 +02:00
|
|
|
|
|
|
|
</androidx.swiperefreshlayout.widget.SwipeRefreshLayout>
|
|
|
|
|
|
|
|
</RelativeLayout>
|
|
|
|
|
2020-08-06 17:16:51 +02:00
|
|
|
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|