Browse Source

Changed the icon to hamberger white

pull/70/head
babaliaris 4 years ago
parent
commit
9b104b1614
  1. 1
      app/src/main/assets/svg/hamburger.svg
  2. 11
      app/src/main/res/drawable-anydpi/ic_hamburger.xml
  3. BIN
      app/src/main/res/drawable-hdpi/ic_hamburger.png
  4. BIN
      app/src/main/res/drawable-mdpi/ic_hamburger.png
  5. BIN
      app/src/main/res/drawable-xhdpi/ic_hamburger.png
  6. BIN
      app/src/main/res/drawable-xxhdpi/ic_hamburger.png
  7. 6
      app/src/main/res/layout/activity_main.xml

1
app/src/main/assets/svg/hamburger.svg

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="black" width="18px" height="18px"><path d="M0 0h24v24H0z" fill="none"/><path d="M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z"/></svg>

After

Width:  |  Height:  |  Size: 200 B

11
app/src/main/res/drawable-anydpi/ic_hamburger.xml

@ -0,0 +1,11 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24"
android:tint="#FFFFFF"
android:alpha="0.8">
<path
android:pathData="M3,18h18v-2L3,16v2zM3,13h18v-2L3,11v2zM3,6v2h18L21,6L3,6z"
android:fillColor="#000000"/>
</vector>

BIN
app/src/main/res/drawable-hdpi/ic_hamburger.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 124 B

BIN
app/src/main/res/drawable-mdpi/ic_hamburger.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 93 B

BIN
app/src/main/res/drawable-xhdpi/ic_hamburger.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 115 B

BIN
app/src/main/res/drawable-xxhdpi/ic_hamburger.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 138 B

6
app/src/main/res/layout/activity_main.xml

@ -22,11 +22,13 @@
<ImageView <ImageView
android:id="@+id/main_activity_open_drawer_btn" android:id="@+id/main_activity_open_drawer_btn"
android:layout_width="60dp" android:layout_width="35dp"
android:layout_height="match_parent" android:layout_height="match_parent"
android:layout_gravity="center_vertical" android:layout_gravity="center_vertical"
android:layout_margin="2sp"
android:layout_marginStart="2sp"
android:contentDescription="@string/drawer_button_cnt_desc" android:contentDescription="@string/drawer_button_cnt_desc"
app:srcCompat="@drawable/ic_launcher_foreground" /> app:srcCompat="@drawable/ic_hamburger" />
<com.google.android.material.tabs.TabLayout <com.google.android.material.tabs.TabLayout
android:id="@+id/tabs" android:id="@+id/tabs"

Loading…
Cancel
Save