Skip to content

Commit

Permalink
New icons
Browse files Browse the repository at this point in the history
  • Loading branch information
ayan312002 committed Mar 12, 2020
1 parent 8454298 commit 5cd4309
Show file tree
Hide file tree
Showing 12 changed files with 80 additions and 10 deletions.
2 changes: 1 addition & 1 deletion app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:icon="@drawable/ic_book_logo"
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
Expand Down
33 changes: 33 additions & 0 deletions app/src/main/res/drawable/ic_book_logo.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="1000dp"
android:height="800dp"
android:viewportWidth="1000"
android:viewportHeight="800">
<path
android:pathData="M751.9,363v46.8c0,0 -142.4,-6.6 -237,102.1C515,511.9 568.4,385.5 751.9,363z"
android:fillColor="#29A9E0"/>
<path
android:pathData="M728.2,330.6l6.7,46.4c0,0 -141.9,13.9 -220,134.9C515,511.9 549.7,379.1 728.2,330.6z"
android:fillColor="#1F76BA"/>
<path
android:pathData="M700.1,302l13.2,44.9c0,0 -138.4,34 -198.4,165C515,511.9 530.4,375.5 700.1,302z"
android:fillColor="#2A3D8E"/>
<path
android:pathData="M668.2,277.7l19.5,42.6c0,0 -132.1,53.4 -172.8,191.6C515,511.9 510.8,374.7 668.2,277.7z"
android:fillColor="#272660"/>
<path
android:pathData="M248.1,363v46.8c0,0 142.4,-6.6 237,102.1C485,511.9 431.6,385.5 248.1,363z"
android:fillColor="#29A9E0"/>
<path
android:pathData="M271.8,330.6l-6.7,46.4c0,0 141.9,13.9 220,134.9C485,511.9 450.3,379.1 271.8,330.6z"
android:fillColor="#1F76BA"/>
<path
android:pathData="M299.9,302l-13.2,44.9c0,0 138.4,34 198.4,165C485,511.9 469.6,375.5 299.9,302z"
android:fillColor="#2A3D8E"/>
<path
android:pathData="M331.8,277.7l-19.5,42.6c0,0 132.1,53.4 172.8,191.6C485,511.9 489.2,374.7 331.8,277.7z"
android:fillColor="#272660"/>
<path
android:pathData="M501.9,529.4c-15.3,0 -28.3,-9.6 -33.1,-23.1c0,0.4 0,0.8 0,1.2c0,17.9 14.8,32.5 33.1,32.5c18.3,0 33.1,-14.5 33.1,-32.5c0,-0.4 0,-0.8 0,-1.2C530.2,519.8 517.2,529.4 501.9,529.4z"
android:fillColor="#29A9E0"/>
</vector>
9 changes: 9 additions & 0 deletions app/src/main/res/drawable/ic_home_black_24dp.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24.0"
android:viewportHeight="24.0">
<path
android:fillColor="#FF000000"
android:pathData="M10,20v-6h4v6h5v-8h3L12,3 2,12h3v8z"/>
</vector>
5 changes: 5 additions & 0 deletions app/src/main/res/drawable/ic_home_white_24dp.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<vector android:height="24dp" android:tint="#FFFFFF"
android:viewportHeight="24.0" android:viewportWidth="24.0"
android:width="24dp" xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillColor="#FF000000" android:pathData="M10,20v-6h4v6h5v-8h3L12,3 2,12h3v8z"/>
</vector>
9 changes: 9 additions & 0 deletions app/src/main/res/drawable/ic_icons_share.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24">
<path
android:pathData="M20,0C17.7891,0 16,1.7891 16,4C16,4.2773 16.0391,4.5508 16.0938,4.8125L7,9.375C6.2656,8.5352 5.2031,8 4,8C1.7891,8 0,9.7891 0,12C0,14.2109 1.7891,16 4,16C5.2031,16 6.2656,15.4648 7,14.625L16.0938,19.1875C16.0391,19.4492 16,19.7227 16,20C16,22.2109 17.7891,24 20,24C22.2109,24 24,22.2109 24,20C24,17.7891 22.2109,16 20,16C18.7969,16 17.7344,16.5352 17,17.375L7.9063,12.8125C7.9609,12.5508 8,12.2773 8,12C8,11.7227 7.9609,11.4492 7.9063,11.1875L17,6.625C17.7344,7.4648 18.7969,8 20,8C22.2109,8 24,6.2109 24,4C24,1.7891 22.2109,0 20,0Z"
android:fillColor="#000000"/>
</vector>
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
android:viewportWidth="24.0"
android:viewportHeight="24.0">
<path
android:fillColor="#FF000000"
android:fillColor="#FFFFFFFF"
android:pathData="M15.5,14h-0.79l-0.28,-0.27C15.41,12.59 16,11.11 16,9.5 16,5.91 13.09,3 9.5,3S3,5.91 3,9.5 5.91,16 9.5,16c1.61,0 3.09,-0.59 4.23,-1.57l0.27,0.28v0.79l5,4.99L20.49,19l-4.99,-5zM9.5,14C7.01,14 5,11.99 5,9.5S7.01,5 9.5,5 14,7.01 14,9.5 11.99,14 9.5,14z"/>
</vector>
12 changes: 12 additions & 0 deletions app/src/main/res/drawable/ic_user.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="512dp"
android:height="512dp"
android:viewportWidth="512"
android:viewportHeight="512">
<path
android:fillColor="#FF000000"
android:pathData="M234.071,471.132H60.391c-6.453,0 -12.333,-2.991 -16.135,-8.207c-3.803,-5.218 -4.85,-11.736 -2.874,-17.883c19.732,-61.346 79.908,-104.191 146.336,-104.191c30.909,0 60.591,9.308 85.838,26.916c9.043,6.307 21.485,4.09 27.795,-4.953c6.306,-9.043 4.089,-21.486 -4.954,-27.794c-12.498,-8.717 -25.85,-15.828 -39.817,-21.257c18.583,-16.896 30.911,-40.555 33.053,-67.048c28.177,-27.448 65.111,-42.488 104.704,-42.488c30.909,0 60.591,9.308 85.838,26.916c9.043,6.307 21.486,4.09 27.795,-4.953c6.306,-9.043 4.089,-21.486 -4.954,-27.794c-12.498,-8.717 -25.85,-15.828 -39.817,-21.257c20.499,-18.638 33.386,-45.506 33.386,-75.328C496.586,45.673 450.913,0 394.774,0c-56.14,0 -101.812,45.673 -101.812,101.813c0,29.701 12.784,56.473 33.139,75.102c-2.785,1.072 -5.55,2.212 -8.295,3.42c-12.492,5.497 -24.241,12.245 -35.162,20.183c-15.068,-37.415 -51.746,-63.893 -94.49,-63.893c-56.14,0 -101.812,45.673 -101.812,101.813c0,29.614 12.71,56.316 32.96,74.938c-54.148,20.292 -98.053,63.87 -115.927,119.444c-5.928,18.431 -2.788,37.976 8.616,53.623c11.402,15.645 29.042,24.618 48.401,24.618h173.68c11.026,0 19.963,-8.938 19.963,-19.963S245.096,471.132 234.071,471.132zM394.775,39.926c34.124,0 61.886,27.762 61.886,61.886s-27.762,61.886 -61.886,61.886c-34.124,0 -61.886,-27.762 -61.886,-61.886S360.651,39.926 394.775,39.926zM188.155,176.55c34.124,0 61.886,27.762 61.886,61.886s-27.762,61.886 -61.886,61.886s-61.886,-27.762 -61.886,-61.886S154.031,176.55 188.155,176.55z"/>
<path
android:fillColor="#FF000000"
android:pathData="M503.217,326.082c-8.965,-6.418 -21.436,-4.354 -27.853,4.612l-98.4,137.447c-2.687,3.116 -6.055,3.789 -7.859,3.909c-1.857,0.127 -5.463,-0.114 -8.555,-3.057l-63.703,-61.168c-7.954,-7.638 -20.593,-7.379 -28.226,0.573c-7.637,7.952 -7.38,20.59 0.572,28.226l63.767,61.228c9.55,9.091 22.298,14.149 35.414,14.149c1.127,0 2.257,-0.037 3.387,-0.113c14.288,-0.952 27.628,-7.9 36.599,-19.062c0.233,-0.289 0.455,-0.584 0.672,-0.885l98.799,-138.006C514.247,344.97 512.183,332.5 503.217,326.082z"/>
</vector>
3 changes: 2 additions & 1 deletion app/src/main/res/layout/content_main.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
app:layout_constraintTop_toTopOf="parent"
app:navGraph="@navigation/mobile_navigation" />


<com.google.android.material.floatingactionbutton.FloatingActionButton
android:id="@+id/fab"
android:layout_width="wrap_content"
Expand All @@ -27,7 +28,7 @@
android:layout_margin="@dimen/fab_margin"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:srcCompat="@android:drawable/ic_menu_share"
app:srcCompat="@drawable/ic_icons_share"
tools:ignore="MissingConstraints" />

</androidx.constraintlayout.widget.ConstraintLayout>
5 changes: 3 additions & 2 deletions app/src/main/res/layout/recyclerview_item_row.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,13 @@
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="16dp" >
android:padding="16dp"
>
<ImageView
android:layout_width="100dp"
android:layout_height="100dp"
android:id="@+id/itemImage"
android:src="@drawable/ic_menu_camera"
android:src="@drawable/ic_book_logo"
android:layout_alignParentStart="true"
android:layout_alignParentLeft="true"
android:layout_alignParentTop="true"
Expand Down
6 changes: 3 additions & 3 deletions app/src/main/res/menu/activity_main_drawer.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,19 @@
<group android:checkableBehavior="single">
<item
android:id="@+id/nav_home"
android:icon="@drawable/ic_menu_camera"
android:icon="@drawable/ic_home_black_24dp"
android:title="@string/menu_home" />
<item
android:id="@+id/nav_friend"
android:icon="@drawable/ic_menu_gallery"
android:icon="@drawable/ic_user"
android:title="@string/menu_friend" />
<item
android:id="@+id/nav_slideshow"
android:icon="@drawable/ic_menu_slideshow"
android:title="@string/menu_slideshow" />
<item
android:id="@+id/nav_profile"
android:icon="@drawable/ic_menu_slideshow"
android:icon="@drawable/icons_profile"
android:title="@string/menu_profile" />
</group>
</menu>
2 changes: 1 addition & 1 deletion app/src/main/res/menu/main.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
android:id="@+id/action_search"
android:orderInCategory="201"
android:title="Search"
android:icon="@android:drawable/ic_menu_search"
android:icon="@drawable/ic_search_white_24dp"
app:showAsAction="ifRoom|collapseActionView"
app:actionViewClass="androidx.appcompat.widget.SearchView"/>
</menu>
2 changes: 1 addition & 1 deletion app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<string name="nav_header_desc">Navigation header</string>
<string name="action_settings">Settings</string>

<string name="menu_home">Home</string>
<string name="menu_home">Feed</string>
<string name="menu_friend">Following</string>
<string name="menu_slideshow">New Arrivals</string>
<string name="menu_profile">Profile</string>
Expand Down

0 comments on commit 5cd4309

Please sign in to comment.