mirror of
https://github.com/nextcloud/android.git
synced 2024-11-26 07:05:49 +03:00
Merge pull request #11813 from nextcloud/nmc/uploadListTouchTargetFix
Fix upload list touch target by removing frame layout
This commit is contained in:
commit
7976651d3e
1 changed files with 11 additions and 15 deletions
|
@ -2,9 +2,11 @@
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
Nextcloud Android client application
|
Nextcloud Android client application
|
||||||
|
@author TSI-mc
|
||||||
|
|
||||||
Copyright (C) 2018 Tobias Kaminsky
|
Copyright (C) 2018 Tobias Kaminsky
|
||||||
Copyright (C) 2018 Nextcloud
|
Copyright (C) 2018 Nextcloud
|
||||||
|
Copyright (C) 2023 TSI-mc
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or
|
This program is free software; you can redistribute it and/or
|
||||||
modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
|
modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
|
||||||
|
@ -21,6 +23,7 @@
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
xmlns:tools="http://schemas.android.com/tools"
|
||||||
android:id="@+id/upload_list_item_layout"
|
android:id="@+id/upload_list_item_layout"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
|
@ -127,22 +130,15 @@
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
<FrameLayout
|
|
||||||
android:layout_width="@dimen/min_list_item_size"
|
|
||||||
android:layout_height="@dimen/standard_list_item_size"
|
|
||||||
android:layout_gravity="center_vertical"
|
|
||||||
android:focusable="false"
|
|
||||||
android:focusableInTouchMode="false"
|
|
||||||
android:paddingEnd="@dimen/zero"
|
|
||||||
android:paddingStart="@dimen/standard_half_padding">
|
|
||||||
|
|
||||||
<ImageButton
|
<ImageButton
|
||||||
android:id="@+id/upload_right_button"
|
android:id="@+id/upload_right_button"
|
||||||
android:layout_width="@dimen/upload_list_item_image_size"
|
tools:src="@drawable/ic_action_cancel_grey"
|
||||||
android:layout_height="@dimen/upload_list_item_image_size"
|
android:layout_width="@dimen/min_list_item_size"
|
||||||
|
android:layout_height="@dimen/standard_list_item_size"
|
||||||
android:layout_gravity="center|end"
|
android:layout_gravity="center|end"
|
||||||
android:background="@android:color/transparent"
|
android:background="@android:color/transparent"
|
||||||
android:contentDescription="@string/upload_item_action_button" />
|
android:contentDescription="@string/upload_item_action_button"
|
||||||
</FrameLayout>
|
android:paddingStart="@dimen/standard_double_padding"
|
||||||
|
android:paddingEnd="@dimen/zero" />
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
Loading…
Reference in a new issue