Skip to content

Commit

Permalink
Changed camera icon
Browse files Browse the repository at this point in the history
  • Loading branch information
fei0316 committed Oct 31, 2019
1 parent 6d313f7 commit 097fee4
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
8 changes: 8 additions & 0 deletions app/src/main/res/drawable/camera_outline.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<!-- drawable/camera_outline.xml -->
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:height="24dp"
android:width="24dp"
android:viewportWidth="24"
android:viewportHeight="24">
<path android:fillColor="#000" android:pathData="M20,4H16.83L15,2H9L7.17,4H4A2,2 0 0,0 2,6V18A2,2 0 0,0 4,20H20A2,2 0 0,0 22,18V6A2,2 0 0,0 20,4M20,18H4V6H8.05L9.88,4H14.12L15.95,6H20V18M12,7A5,5 0 0,0 7,12A5,5 0 0,0 12,17A5,5 0 0,0 17,12A5,5 0 0,0 12,7M12,15A3,3 0 0,1 9,12A3,3 0 0,1 12,9A3,3 0 0,1 15,12A3,3 0 0,1 12,15Z" />
</vector>
4 changes: 3 additions & 1 deletion app/src/main/res/layout/activity_main.xml
Original file line number Diff line number Diff line change
Expand Up @@ -135,11 +135,13 @@
fab:menu_shadowYOffset="3dp"
fab:menu_showShadow="true">

<!--todo:change camera to black-->

<com.github.clans.fab.FloatingActionButton
android:id="@+id/menu_opensnapchat"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/ic_camera_alt_black_24dp"
android:src="@drawable/camera_outline"
app:fab_colorNormal="@color/snapYellow"
app:fab_colorPressed="@color/snapYellow"
app:fab_colorRipple="@color/snapYellowAccent"
Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#Fri Sep 27 02:10:08 PDT 2019
#Thu Apr 18 13:07:10 EDT 2019
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
Expand Down

0 comments on commit 097fee4

Please sign in to comment.