2018-04-30 19:41:16 +03:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<!--
|
|
|
|
Nextcloud Android client application
|
|
|
|
|
|
|
|
Copyright (C) 2018 Andy Scherzinger
|
|
|
|
|
|
|
|
This program is free software; you can redistribute it and/or
|
|
|
|
modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
|
|
|
|
License as published by the Free Software Foundation; either
|
|
|
|
version 3 of the License, or any later version.
|
|
|
|
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
GNU AFFERO GENERAL PUBLIC LICENSE for more details.
|
|
|
|
|
|
|
|
You should have received a copy of the GNU Affero General Public
|
|
|
|
License along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
-->
|
|
|
|
|
2018-06-01 14:10:33 +03:00
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2018-06-06 12:22:34 +03:00
|
|
|
android:layout_marginEnd="@dimen/zero"
|
|
|
|
android:layout_marginStart="@dimen/standard_padding"
|
2018-06-01 14:10:33 +03:00
|
|
|
android:orientation="horizontal">
|
|
|
|
|
2018-12-07 15:28:35 +03:00
|
|
|
<com.google.android.material.textfield.TextInputEditText
|
2018-06-01 14:10:33 +03:00
|
|
|
android:id="@+id/commentInputField"
|
2018-06-06 12:22:34 +03:00
|
|
|
android:layout_width="0dp"
|
2018-06-01 14:10:33 +03:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
2018-06-06 12:22:34 +03:00
|
|
|
android:hint="@string/new_comment"
|
2018-09-03 22:15:21 +03:00
|
|
|
android:paddingTop="@dimen/standard_padding"
|
2019-10-30 18:13:29 +03:00
|
|
|
android:textColorHint="@color/secondary_text_color" />
|
2018-06-01 14:10:33 +03:00
|
|
|
|
2018-06-06 12:22:34 +03:00
|
|
|
<ImageButton
|
2018-06-01 14:10:33 +03:00
|
|
|
android:id="@+id/submitComment"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2018-06-06 12:22:34 +03:00
|
|
|
android:background="?attr/selectableItemBackgroundBorderless"
|
|
|
|
android:contentDescription="@string/common_send"
|
|
|
|
android:paddingBottom="@dimen/standard_padding"
|
|
|
|
android:paddingEnd="@dimen/standard_padding"
|
|
|
|
android:paddingLeft="@dimen/standard_padding"
|
|
|
|
android:paddingRight="@dimen/standard_padding"
|
|
|
|
android:paddingStart="@dimen/standard_padding"
|
|
|
|
android:paddingTop="@dimen/standard_padding"
|
|
|
|
android:src="@drawable/ic_send" />
|
2018-06-01 14:10:33 +03:00
|
|
|
</LinearLayout>
|
2018-04-30 19:41:16 +03:00
|
|
|
|
2018-12-07 15:28:35 +03:00
|
|
|
<androidx.swiperefreshlayout.widget.SwipeRefreshLayout
|
2018-04-30 19:41:16 +03:00
|
|
|
android:id="@+id/swipe_containing_list"
|
|
|
|
android:layout_width="match_parent"
|
2018-06-01 14:10:33 +03:00
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:footerDividersEnabled="false"
|
2018-04-30 19:41:16 +03:00
|
|
|
android:visibility="visible">
|
|
|
|
|
2018-12-07 15:28:35 +03:00
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
2018-04-30 19:41:16 +03:00
|
|
|
android:id="@android:id/list"
|
|
|
|
android:layout_width="match_parent"
|
2018-06-01 14:10:33 +03:00
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:clipToPadding="false"
|
2018-04-30 19:41:16 +03:00
|
|
|
android:scrollbarStyle="outsideOverlay"
|
|
|
|
android:scrollbars="vertical"
|
2018-06-01 14:10:33 +03:00
|
|
|
android:visibility="visible"/>
|
2018-04-30 19:41:16 +03:00
|
|
|
|
2018-12-07 15:28:35 +03:00
|
|
|
</androidx.swiperefreshlayout.widget.SwipeRefreshLayout>
|
2018-04-30 19:41:16 +03:00
|
|
|
|
2018-12-07 15:28:35 +03:00
|
|
|
<androidx.swiperefreshlayout.widget.SwipeRefreshLayout
|
2018-04-30 19:41:16 +03:00
|
|
|
android:id="@+id/swipe_containing_empty"
|
|
|
|
android:layout_width="match_parent"
|
2018-06-01 14:10:33 +03:00
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:footerDividersEnabled="false"
|
2018-04-30 19:41:16 +03:00
|
|
|
android:visibility="visible">
|
|
|
|
|
2018-06-01 14:10:33 +03:00
|
|
|
<include layout="@layout/empty_list"/>
|
2018-12-07 15:28:35 +03:00
|
|
|
</androidx.swiperefreshlayout.widget.SwipeRefreshLayout>
|
2018-04-30 19:41:16 +03:00
|
|
|
|
2018-06-01 14:10:33 +03:00
|
|
|
</LinearLayout>
|