2021-01-08 11:55:21 +03:00
|
|
|
<?xml version="1.0" encoding="utf-8"?><!--
|
|
|
|
~ Nextcloud Talk application
|
|
|
|
~
|
|
|
|
~ @author Marcel Hibbe
|
2021-04-19 22:39:45 +03:00
|
|
|
~ @author Andy Scherzinger
|
|
|
|
~ Copyright (C) 2021 Andy Scherzinger <info@andy-scherzinger.de>
|
2021-01-08 11:55:21 +03:00
|
|
|
~ Copyright (C) 2021 Marcel Hibbe <marcel.hibbe@nextcloud.com>
|
|
|
|
~
|
|
|
|
~ This program is free software: you can redistribute it and/or modify
|
|
|
|
~ it under the terms of the GNU General Public License as published by
|
|
|
|
~ the Free Software Foundation, either version 3 of the License, or
|
|
|
|
~ at your option) 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 General Public License for more details.
|
|
|
|
~
|
|
|
|
~ You should have received a copy of the GNU General Public License
|
|
|
|
~ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
-->
|
|
|
|
|
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2021-04-19 22:39:45 +03:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
2021-01-08 11:55:21 +03:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2021-04-10 02:21:34 +03:00
|
|
|
android:background="@color/bg_bottom_sheet"
|
2021-01-08 11:55:21 +03:00
|
|
|
android:orientation="vertical"
|
2021-04-19 22:39:45 +03:00
|
|
|
android:paddingBottom="@dimen/standard_padding">
|
2021-01-08 11:55:21 +03:00
|
|
|
|
2021-04-19 22:39:45 +03:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/upload"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:padding="@dimen/standard_padding"
|
|
|
|
android:text="@string/nc_add_file"
|
|
|
|
android:textColor="@color/medium_emphasis_text"
|
|
|
|
android:textSize="@dimen/bottom_sheet_text_size" />
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/menu_attach_file_from_local"
|
2021-01-08 11:55:21 +03:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2021-04-19 22:39:45 +03:00
|
|
|
android:background="?android:attr/selectableItemBackground"
|
|
|
|
android:orientation="horizontal"
|
|
|
|
android:paddingLeft="@dimen/standard_padding"
|
|
|
|
android:paddingTop="@dimen/standard_half_padding"
|
|
|
|
android:paddingRight="@dimen/standard_padding"
|
|
|
|
android:paddingBottom="@dimen/standard_half_padding"
|
|
|
|
tools:ignore="UseCompoundDrawables">
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/menu_icon_attach_file_from_local"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:contentDescription="@null"
|
|
|
|
android:src="@drawable/upload"
|
|
|
|
app:tint="@color/colorPrimary" />
|
|
|
|
|
|
|
|
<androidx.appcompat.widget.AppCompatTextView
|
|
|
|
android:id="@+id/txt_attach_file_from_local"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:layout_marginStart="@dimen/standard_margin"
|
|
|
|
android:text="@string/nc_upload_local_file"
|
|
|
|
android:textColor="@color/high_emphasis_text"
|
|
|
|
android:textSize="@dimen/bottom_sheet_text_size" />
|
2021-01-08 11:55:21 +03:00
|
|
|
|
2021-04-19 22:39:45 +03:00
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/menu_attach_file_from_cloud"
|
2021-01-08 11:55:21 +03:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2021-04-19 22:39:45 +03:00
|
|
|
android:background="?android:attr/selectableItemBackground"
|
|
|
|
android:orientation="horizontal"
|
|
|
|
android:paddingLeft="@dimen/standard_padding"
|
|
|
|
android:paddingTop="@dimen/standard_half_padding"
|
|
|
|
android:paddingRight="@dimen/standard_padding"
|
|
|
|
android:paddingBottom="@dimen/standard_padding"
|
|
|
|
tools:ignore="UseCompoundDrawables">
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/menu_icon_attach_file_from_cloud"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:contentDescription="@null"
|
|
|
|
android:src="@drawable/ic_share_variant"
|
|
|
|
app:tint="@color/colorPrimary" />
|
|
|
|
|
|
|
|
<androidx.appcompat.widget.AppCompatTextView
|
|
|
|
android:id="@+id/txt_attach_file_from_cloud"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:layout_marginStart="@dimen/standard_margin"
|
|
|
|
android:textColor="@color/high_emphasis_text"
|
|
|
|
android:textSize="@dimen/bottom_sheet_text_size"
|
|
|
|
tools:text="Share from Nextcloud" />
|
|
|
|
|
|
|
|
</LinearLayout>
|
2021-01-08 11:55:21 +03:00
|
|
|
|
2021-04-19 22:39:45 +03:00
|
|
|
</LinearLayout>
|