|
83 | 83 | </LinearLayout> |
84 | 84 | </LinearLayout> |
85 | 85 |
|
86 | | - <LinearLayout |
87 | | - android:id="@+id/search_container" |
| 86 | + <com.google.android.material.card.MaterialCardView |
| 87 | + android:id="@+id/searchCardWrapper" |
88 | 88 | android:layout_width="match_parent" |
89 | 89 | android:layout_height="wrap_content" |
90 | | - android:orientation="horizontal" |
91 | | - android:paddingStart="@dimen/standard_padding" |
92 | | - android:paddingEnd="@dimen/zero"> |
93 | | - |
94 | | - <ImageView |
95 | | - android:id="@+id/searchViewIcon" |
96 | | - android:layout_width="@dimen/user_icon_size" |
97 | | - android:layout_height="@dimen/user_icon_size" |
98 | | - android:layout_gravity="center_vertical" |
99 | | - android:contentDescription="@string/avatar" |
100 | | - android:padding="@dimen/standard_half_padding" |
101 | | - android:src="@drawable/ic_search_grey" /> |
| 90 | + android:layout_marginHorizontal="@dimen/standard_margin" |
| 91 | + android:layout_marginTop="@dimen/standard_half_margin" |
| 92 | + app:cardBackgroundColor="@color/grey_600" |
| 93 | + app:cardCornerRadius="28dp" |
| 94 | + app:strokeWidth="0dp"> |
102 | 95 |
|
103 | | - <androidx.appcompat.widget.SearchView |
104 | | - android:id="@+id/searchView" |
105 | | - style="@style/ownCloud.SearchView" |
106 | | - android:layout_width="0dp" |
| 96 | + <LinearLayout |
| 97 | + android:id="@+id/search_container" |
| 98 | + android:layout_width="match_parent" |
107 | 99 | android:layout_height="wrap_content" |
108 | | - android:layout_marginStart="@dimen/zero" |
109 | | - android:layout_marginEnd="@dimen/standard_quarter_margin" |
110 | | - android:layout_weight="1" |
111 | | - android:hint="@string/share_search" |
112 | | - app:searchIcon="@null" /> |
113 | | - |
114 | | - <androidx.appcompat.widget.AppCompatImageView |
115 | | - android:id="@+id/pick_contact_email_btn" |
116 | | - android:layout_width="@dimen/minimum_size_for_touchable_area" |
117 | | - android:layout_height="@dimen/minimum_size_for_touchable_area" |
118 | | - android:layout_gravity="center_vertical" |
119 | | - android:layout_marginEnd="@dimen/standard_quarter_margin" |
120 | | - android:contentDescription="@string/pick_contact_to_share_with" |
121 | | - android:padding="12dp" |
122 | | - android:src="@drawable/ic_contact_book" /> |
| 100 | + android:orientation="horizontal"> |
| 101 | + |
| 102 | + <ImageView |
| 103 | + android:id="@+id/searchViewIcon" |
| 104 | + android:layout_width="wrap_content" |
| 105 | + android:layout_height="@dimen/minimum_size_for_touchable_area" |
| 106 | + android:layout_gravity="center_vertical" |
| 107 | + android:layout_marginStart="@dimen/standard_margin" |
| 108 | + android:contentDescription="@null" |
| 109 | + android:src="@drawable/ic_search_grey" /> |
| 110 | + |
| 111 | + <androidx.appcompat.widget.SearchView |
| 112 | + android:id="@+id/searchView" |
| 113 | + style="@style/ownCloud.SearchView" |
| 114 | + android:layout_width="0dp" |
| 115 | + android:layout_height="wrap_content" |
| 116 | + android:layout_weight="1" |
| 117 | + android:hint="@string/share_search" |
| 118 | + app:searchIcon="@null" /> |
| 119 | + |
| 120 | + <androidx.appcompat.widget.AppCompatImageView |
| 121 | + android:id="@+id/pick_contact_email_btn" |
| 122 | + android:layout_width="@dimen/minimum_size_for_touchable_area" |
| 123 | + android:layout_height="@dimen/minimum_size_for_touchable_area" |
| 124 | + android:layout_gravity="center_vertical" |
| 125 | + android:contentDescription="@string/pick_contact_to_share_with" |
| 126 | + android:paddingStart="@dimen/standard_half_padding" |
| 127 | + android:paddingEnd="@dimen/standard_padding" |
| 128 | + android:src="@drawable/ic_contact_book" /> |
123 | 129 |
|
124 | | - </LinearLayout> |
| 130 | + </LinearLayout> |
| 131 | + |
| 132 | + </com.google.android.material.card.MaterialCardView> |
125 | 133 |
|
126 | 134 | <TextView |
127 | 135 | android:paddingStart="@dimen/standard_padding" |
|
154 | 162 | android:id="@+id/divider2" |
155 | 163 | android:layout_width="match_parent" |
156 | 164 | android:layout_height="1dp" |
157 | | - android:background="?android:attr/listDivider" /> |
| 165 | + android:background="@color/list_divider_background" /> |
158 | 166 |
|
159 | 167 | <TextView |
160 | 168 | android:id="@+id/external_shares_headline" |
|
172 | 180 | style="@style/Widget.Material3.Button.OutlinedButton" |
173 | 181 | android:layout_width="match_parent" |
174 | 182 | android:layout_height="wrap_content" |
175 | | - android:layout_marginStart="@dimen/standard_double_margin" |
176 | | - android:layout_marginEnd="@dimen/standard_double_margin" |
| 183 | + android:layout_marginStart="@dimen/standard_margin" |
| 184 | + android:layout_marginEnd="@dimen/standard_margin" |
177 | 185 | app:icon="@drawable/file_link" |
178 | 186 | app:iconGravity="textStart" |
179 | 187 | android:text="@string/create_link" /> |
|
202 | 210 |
|
203 | 211 | </FrameLayout> |
204 | 212 |
|
205 | | - |
206 | 213 | </androidx.core.widget.NestedScrollView> |
0 commit comments