|
2 | 2 | <!-- |
3 | 3 | ~ Nextcloud - Android Client |
4 | 4 | ~ |
5 | | - ~ SPDX-FileCopyrightText: 2024 Andy Scherzinger <info@andy-scherzinger.de> |
| 5 | + ~ SPDX-FileCopyrightText: 2024-2026 Andy Scherzinger <info@andy-scherzinger.de> |
6 | 6 | ~ SPDX-FileCopyrightText: 2024 Tobias Kaminsky <tobias@kaminsky.me> |
7 | 7 | ~ SPDX-License-Identifier: AGPL-3.0-or-later |
8 | | - --> |
| 8 | +--> |
9 | 9 | <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
10 | 10 | xmlns:tools="http://schemas.android.com/tools" |
11 | 11 | android:layout_width="match_parent" |
12 | 12 | android:layout_height="@dimen/min_list_item_size" |
13 | | - android:orientation="horizontal" |
14 | | - android:paddingStart="@dimen/standard_half_padding" |
15 | | - android:paddingEnd="@dimen/standard_half_padding"> |
| 13 | + android:orientation="horizontal"> |
16 | 14 |
|
17 | 15 | <ImageView |
| 16 | + android:id="@+id/folder_icon" |
18 | 17 | android:layout_width="@dimen/file_icon_size" |
19 | 18 | android:layout_height="@dimen/file_icon_size" |
20 | 19 | android:layout_gravity="center_vertical" |
| 20 | + android:layout_marginStart="@dimen/standard_margin" |
| 21 | + android:layout_marginEnd="@dimen/standard_half_margin" |
21 | 22 | android:contentDescription="@null" |
22 | 23 | android:src="@drawable/folder" /> |
23 | 24 |
|
24 | 25 | <LinearLayout |
25 | 26 | android:layout_width="0dp" |
26 | | - android:layout_weight="1" |
27 | 27 | android:layout_height="@dimen/min_list_item_size" |
28 | | - android:layout_marginStart="@dimen/standard_half_margin" |
| 28 | + android:layout_weight="1" |
29 | 29 | android:gravity="center_vertical|start" |
30 | 30 | android:orientation="vertical"> |
31 | 31 |
|
32 | 32 | <TextView |
33 | 33 | android:id="@+id/name" |
34 | | - android:layout_width="wrap_content" |
| 34 | + android:layout_width="match_parent" |
35 | 35 | android:layout_height="wrap_content" |
36 | 36 | android:ellipsize="middle" |
37 | 37 | android:gravity="center_vertical" |
|
97 | 97 |
|
98 | 98 | <ImageView |
99 | 99 | android:id="@+id/unset" |
100 | | - android:layout_width="wrap_content" |
101 | | - android:layout_height="wrap_content" |
| 100 | + android:layout_width="@dimen/minimum_size_for_touchable_area" |
| 101 | + android:layout_height="@dimen/minimum_size_for_touchable_area" |
102 | 102 | android:layout_gravity="center_vertical" |
103 | 103 | android:contentDescription="@string/unset_internal_two_way_sync_description" |
| 104 | + android:padding="@dimen/minimum_size_for_touchable_area_icon_padding" |
104 | 105 | android:src="@drawable/ic_close" /> |
105 | 106 |
|
106 | 107 | </LinearLayout> |
0 commit comments