|
@@ -38,21 +38,21 @@
|
|
|
|
|
|
<ImageView
|
|
<ImageView
|
|
android:id="@+id/searchViewIcon"
|
|
android:id="@+id/searchViewIcon"
|
|
- android:layout_height="@dimen/user_icon_size"
|
|
|
|
android:layout_width="@dimen/user_icon_size"
|
|
android:layout_width="@dimen/user_icon_size"
|
|
- android:padding="@dimen/standard_half_padding"
|
|
|
|
- android:contentDescription="@string/avatar"
|
|
|
|
|
|
+ android:layout_height="@dimen/user_icon_size"
|
|
android:layout_gravity="center_vertical"
|
|
android:layout_gravity="center_vertical"
|
|
|
|
+ android:contentDescription="@string/avatar"
|
|
|
|
+ android:padding="@dimen/standard_half_padding"
|
|
android:src="@drawable/ic_search_grey" />
|
|
android:src="@drawable/ic_search_grey" />
|
|
|
|
|
|
<androidx.appcompat.widget.SearchView
|
|
<androidx.appcompat.widget.SearchView
|
|
android:id="@+id/searchView"
|
|
android:id="@+id/searchView"
|
|
style="@style/ownCloud.SearchView"
|
|
style="@style/ownCloud.SearchView"
|
|
android:layout_width="0dp"
|
|
android:layout_width="0dp"
|
|
- android:layout_weight="1"
|
|
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="@dimen/zero"
|
|
android:layout_marginStart="@dimen/zero"
|
|
android:layout_marginEnd="@dimen/standard_quarter_margin"
|
|
android:layout_marginEnd="@dimen/standard_quarter_margin"
|
|
|
|
+ android:layout_weight="1"
|
|
android:hint="@string/share_search"
|
|
android:hint="@string/share_search"
|
|
app:searchIcon="@null" />
|
|
app:searchIcon="@null" />
|
|
|
|
|
|
@@ -68,57 +68,57 @@
|
|
|
|
|
|
<LinearLayout
|
|
<LinearLayout
|
|
android:id="@+id/shared_with_you_container"
|
|
android:id="@+id/shared_with_you_container"
|
|
|
|
+ android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginBottom="@dimen/standard_half_margin"
|
|
android:layout_marginBottom="@dimen/standard_half_margin"
|
|
- android:layout_width="match_parent"
|
|
|
|
android:orientation="horizontal"
|
|
android:orientation="horizontal"
|
|
android:paddingLeft="@dimen/standard_padding"
|
|
android:paddingLeft="@dimen/standard_padding"
|
|
- android:paddingRight="@dimen/standard_padding"
|
|
|
|
- android:paddingTop="@dimen/standard_padding">
|
|
|
|
|
|
+ android:paddingTop="@dimen/standard_padding"
|
|
|
|
+ android:paddingRight="@dimen/standard_padding">
|
|
|
|
|
|
<ImageView
|
|
<ImageView
|
|
- android:contentDescription="@string/avatar"
|
|
|
|
android:id="@+id/shared_with_you_avatar"
|
|
android:id="@+id/shared_with_you_avatar"
|
|
- android:layout_height="@dimen/user_icon_size"
|
|
|
|
android:layout_width="@dimen/user_icon_size"
|
|
android:layout_width="@dimen/user_icon_size"
|
|
|
|
+ android:layout_height="@dimen/user_icon_size"
|
|
|
|
+ android:contentDescription="@string/avatar"
|
|
android:src="@drawable/ic_user" />
|
|
android:src="@drawable/ic_user" />
|
|
|
|
|
|
<LinearLayout
|
|
<LinearLayout
|
|
- android:layout_height="wrap_content"
|
|
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
android:orientation="vertical"
|
|
android:paddingLeft="@dimen/standard_padding"
|
|
android:paddingLeft="@dimen/standard_padding"
|
|
- android:paddingRight="@dimen/standard_padding"
|
|
|
|
- android:paddingTop="@dimen/standard_half_padding">
|
|
|
|
|
|
+ android:paddingTop="@dimen/standard_half_padding"
|
|
|
|
+ android:paddingRight="@dimen/standard_padding">
|
|
|
|
|
|
<TextView
|
|
<TextView
|
|
android:id="@+id/shared_with_you_username"
|
|
android:id="@+id/shared_with_you_username"
|
|
- android:layout_height="wrap_content"
|
|
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
android:text="@string/shared_with_you_by"
|
|
android:text="@string/shared_with_you_by"
|
|
android:textSize="@dimen/two_line_primary_text_size" />
|
|
android:textSize="@dimen/two_line_primary_text_size" />
|
|
|
|
|
|
<LinearLayout
|
|
<LinearLayout
|
|
android:id="@+id/shared_with_you_note_container"
|
|
android:id="@+id/shared_with_you_note_container"
|
|
- android:layout_height="match_parent"
|
|
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
|
|
+ android:layout_height="match_parent"
|
|
android:orientation="horizontal"
|
|
android:orientation="horizontal"
|
|
android:paddingTop="@dimen/standard_half_padding"
|
|
android:paddingTop="@dimen/standard_half_padding"
|
|
tools:ignore="UseCompoundDrawables">
|
|
tools:ignore="UseCompoundDrawables">
|
|
|
|
|
|
<ImageView
|
|
<ImageView
|
|
- android:contentDescription="@string/note_icon_hint"
|
|
|
|
- android:layout_height="16dp"
|
|
|
|
android:layout_width="16dp"
|
|
android:layout_width="16dp"
|
|
|
|
+ android:layout_height="16dp"
|
|
|
|
+ android:contentDescription="@string/note_icon_hint"
|
|
android:src="@drawable/file_text" />
|
|
android:src="@drawable/file_text" />
|
|
|
|
|
|
<TextView
|
|
<TextView
|
|
android:id="@+id/shared_with_you_note"
|
|
android:id="@+id/shared_with_you_note"
|
|
|
|
+ android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:layout_weight="1"
|
|
- android:layout_width="0dp"
|
|
|
|
- android:paddingEnd="@dimen/standard_half_padding"
|
|
|
|
android:paddingStart="@dimen/standard_half_padding"
|
|
android:paddingStart="@dimen/standard_half_padding"
|
|
|
|
+ android:paddingEnd="@dimen/standard_half_padding"
|
|
android:textSize="16sp" />
|
|
android:textSize="16sp" />
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
|
|
|
|
@@ -126,11 +126,11 @@
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
- android:divider="@drawable/divider"
|
|
|
|
- android:dividerHeight="1dp"
|
|
|
|
android:id="@+id/sharesList"
|
|
android:id="@+id/sharesList"
|
|
- android:layout_height="match_parent"
|
|
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
|
|
+ android:layout_height="match_parent"
|
|
|
|
+ android:divider="@drawable/divider"
|
|
|
|
+ android:dividerHeight="1dp"
|
|
tools:listitem="@layout/file_details_share_link_share_item" />
|
|
tools:listitem="@layout/file_details_share_link_share_item" />
|
|
|
|
|
|
</LinearLayout>
|
|
</LinearLayout>
|