From 29b15a190affda9e5631b8eff1013cf01387e737 Mon Sep 17 00:00:00 2001 From: Andy Scherzinger Date: Thu, 18 Nov 2021 11:23:32 +0100 Subject: [PATCH] Align file browser layout and folder icon with files client Signed-off-by: Andy Scherzinger --- .../main/res/drawable/ic_mimetype_folder.xml | 50 ++++++++----------- .../main/res/layout/rv_item_browser_file.xml | 14 +++--- 2 files changed, 30 insertions(+), 34 deletions(-) diff --git a/app/src/main/res/drawable/ic_mimetype_folder.xml b/app/src/main/res/drawable/ic_mimetype_folder.xml index 1d6c1d4d8..0c3996eb3 100755 --- a/app/src/main/res/drawable/ic_mimetype_folder.xml +++ b/app/src/main/res/drawable/ic_mimetype_folder.xml @@ -1,32 +1,26 @@ - + @author Google LLC + Copyright (C) 2018 Google LLC + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> - + android:width="24dp" + android:height="24dp" + android:tint="#0082c9" + android:viewportWidth="24.0" + android:viewportHeight="24.0"> - \ No newline at end of file + android:fillColor="#FF000000" + android:pathData="M10,4H4c-1.1,0 -1.99,0.9 -1.99,2L2,18c0,1.1 0.9,2 2,2h16c1.1,0 2,-0.9 2,-2V8c0,-1.1 -0.9,-2 -2,-2h-8l-2,-2z" /> + diff --git a/app/src/main/res/layout/rv_item_browser_file.xml b/app/src/main/res/layout/rv_item_browser_file.xml index 9c2fe469b..769049bee 100644 --- a/app/src/main/res/layout/rv_item_browser_file.xml +++ b/app/src/main/res/layout/rv_item_browser_file.xml @@ -23,13 +23,15 @@ xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="wrap_content" - android:layout_margin="@dimen/double_margin_between_elements" + android:layout_marginTop="@dimen/standard_margin" + android:layout_marginStart="@dimen/standard_margin" + android:layout_marginBottom="@dimen/standard_margin" android:background="@color/bg_default">