Skip to content

Commit

Permalink
Update icon to Google Material one, improve layouting, make available…
Browse files Browse the repository at this point in the history
… for any build

Signed-off-by: Andy Scherzinger <[email protected]>
  • Loading branch information
AndyScherzinger committed Nov 21, 2023
1 parent 4262fa2 commit 1af7b62
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 16 deletions.
10 changes: 0 additions & 10 deletions app/src/gplay/res/drawable/ic_contact_book.xml

This file was deleted.

26 changes: 26 additions & 0 deletions app/src/main/res/drawable/ic_contact_book.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<!--
@author Google LLC
Copyright (C) 2023 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.
-->
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:tint="#666666"
android:viewportWidth="960"
android:viewportHeight="960">
<path
android:fillColor="@android:color/white"
android:pathData="M160,920L160,840L800,840L800,920L160,920ZM160,120L160,40L800,40L800,120L160,120ZM480,520Q530,520 565,485Q600,450 600,400Q600,350 565,315Q530,280 480,280Q430,280 395,315Q360,350 360,400Q360,450 395,485Q430,520 480,520ZM160,800Q127,800 103.5,776.5Q80,753 80,720L80,240Q80,207 103.5,183.5Q127,160 160,160L800,160Q833,160 856.5,183.5Q880,207 880,240L880,720Q880,753 856.5,776.5Q833,800 800,800L160,800ZM230,720L730,720Q685,664 621,632Q557,600 480,600Q403,600 339,632Q275,664 230,720Z" />
</vector>
12 changes: 6 additions & 6 deletions app/src/main/res/layout/file_details_sharing_fragment.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:paddingStart="@dimen/standard_padding"
android:paddingEnd="@dimen/standard_padding">
android:paddingStart="@dimen/standard_padding">

<ImageView
android:id="@+id/searchViewIcon"
Expand All @@ -58,10 +57,10 @@

<androidx.appcompat.widget.AppCompatImageView
android:id="@+id/pick_contact_email_btn"
android:layout_width="@dimen/user_icon_size"
android:layout_height="@dimen/user_icon_size"
android:padding="@dimen/standard_half_padding"
android:layout_width="@dimen/minimum_size_for_touchable_area"
android:layout_height="@dimen/minimum_size_for_touchable_area"
android:layout_gravity="center_vertical"
android:padding="12dp"
android:src="@drawable/ic_contact_book" />

</LinearLayout>
Expand Down Expand Up @@ -130,6 +129,7 @@
android:dividerHeight="1dp"
android:id="@+id/sharesList"
android:layout_height="match_parent"
android:layout_width="match_parent" />
android:layout_width="match_parent"
tools:listitem="@layout/file_details_share_link_share_item" />

</LinearLayout>

0 comments on commit 1af7b62

Please sign in to comment.