|
@@ -2,6 +2,8 @@
|
|
|
~ Nextcloud Talk application
|
|
|
~
|
|
|
~ @author Marcel Hibbe
|
|
|
+ ~ @author Andy Scherzinger
|
|
|
+ ~ Copyright (C) 2021 Andy Scherzinger <info@andy-scherzinger.de>
|
|
|
~ Copyright (C) 2021 Marcel Hibbe <marcel.hibbe@nextcloud.com>
|
|
|
~
|
|
|
~ This program is free software: you can redistribute it and/or modify
|
|
@@ -19,27 +21,85 @@
|
|
|
-->
|
|
|
|
|
|
<LinearLayout 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:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:background="@color/bg_bottom_sheet"
|
|
|
android:orientation="vertical"
|
|
|
- android:paddingBottom="8dp">
|
|
|
+ android:paddingBottom="@dimen/standard_padding">
|
|
|
|
|
|
- <androidx.appcompat.widget.AppCompatTextView
|
|
|
- android:id="@+id/txt_attach_file_from_local"
|
|
|
+ <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"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:gravity="center"
|
|
|
- android:padding="15dp"
|
|
|
- android:text="@string/nc_upload_local_file"
|
|
|
- android:textSize="20sp" />
|
|
|
+ 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" />
|
|
|
|
|
|
- <androidx.appcompat.widget.AppCompatTextView
|
|
|
- android:id="@+id/txt_attach_file_from_cloud"
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:id="@+id/menu_attach_file_from_cloud"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:gravity="center"
|
|
|
- android:padding="15dp"
|
|
|
- android:textSize="20sp" />
|
|
|
+ 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>
|
|
|
|
|
|
-</LinearLayout>
|
|
|
+</LinearLayout>
|