diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-07-20 03:35:15 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-07-20 15:45:21 +0200 |
commit | 2d6a45f82456de88c3ee0b10815c62963c5016d7 (patch) | |
tree | c579c05b191e12ed832dcd819140dcb6835f7104 /app/src/main/res | |
parent | ed802336e64bfba9893b831e05babbc7d800dd0e (diff) |
fab: make icons always white
With the new shade of blue, perhaps this simply looks better.
I don't like hard coding the color away from the theme, however.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'app/src/main/res')
-rw-r--r-- | app/src/main/res/drawable/ic_action_add_white.xml (renamed from app/src/main/res/drawable/ic_action_add_inverse.xml) | 2 | ||||
-rw-r--r-- | app/src/main/res/drawable/ic_action_edit_white.xml (renamed from app/src/main/res/drawable/ic_action_edit_inverse.xml) | 2 | ||||
-rw-r--r-- | app/src/main/res/drawable/ic_action_open_white.xml (renamed from app/src/main/res/drawable/ic_action_open_inverse.xml) | 2 | ||||
-rw-r--r-- | app/src/main/res/layout/tunnel_list_fragment.xml | 4 |
4 files changed, 5 insertions, 5 deletions
diff --git a/app/src/main/res/drawable/ic_action_add_inverse.xml b/app/src/main/res/drawable/ic_action_add_white.xml index 571e70e7..0706462e 100644 --- a/app/src/main/res/drawable/ic_action_add_inverse.xml +++ b/app/src/main/res/drawable/ic_action_add_white.xml @@ -4,6 +4,6 @@ android:viewportHeight="24.0" android:viewportWidth="24.0"> <path - android:fillColor="?android:attr/colorBackground" + android:fillColor="#ffffff" android:pathData="M19,13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z" /> </vector> diff --git a/app/src/main/res/drawable/ic_action_edit_inverse.xml b/app/src/main/res/drawable/ic_action_edit_white.xml index f1324ffb..c1ce5043 100644 --- a/app/src/main/res/drawable/ic_action_edit_inverse.xml +++ b/app/src/main/res/drawable/ic_action_edit_white.xml @@ -4,6 +4,6 @@ android:viewportHeight="24" android:viewportWidth="24"> <path - android:fillColor="?android:attr/colorBackground" + android:fillColor="#ffffff" android:pathData="M3,17.25V21h3.75L17.81,9.94l-3.75,-3.75L3,17.25zM20.71,7.04c0.39,-0.39 0.39,-1.02 0,-1.41l-2.34,-2.34c-0.39,-0.39 -1.02,-0.39 -1.41,0l-1.83,1.83 3.75,3.75 1.83,-1.83z" /> </vector> diff --git a/app/src/main/res/drawable/ic_action_open_inverse.xml b/app/src/main/res/drawable/ic_action_open_white.xml index 9836107c..74648d14 100644 --- a/app/src/main/res/drawable/ic_action_open_inverse.xml +++ b/app/src/main/res/drawable/ic_action_open_white.xml @@ -4,6 +4,6 @@ android:viewportHeight="24" android:viewportWidth="24"> <path - android:fillColor="?android:attr/colorBackground" + android:fillColor="#ffffff" android:pathData="M6,2c-1.1,0 -1.99,0.9 -1.99,2L4,20c0,1.1 0.89,2 1.99,2L18,22c1.1,0 2,-0.9 2,-2L20,8l-6,-6L6,2zM13,9L13,3.5L18.5,9L13,9z" /> </vector> diff --git a/app/src/main/res/layout/tunnel_list_fragment.xml b/app/src/main/res/layout/tunnel_list_fragment.xml index 96b13b37..9de4e4d1 100644 --- a/app/src/main/res/layout/tunnel_list_fragment.xml +++ b/app/src/main/res/layout/tunnel_list_fragment.xml @@ -54,7 +54,7 @@ android:layout_height="wrap_content" android:onClick="@{fragment::onRequestCreateConfig}" app:fabSize="mini" - app:srcCompat="@drawable/ic_action_edit_inverse" + app:srcCompat="@drawable/ic_action_edit_white" app:fab_title="@string/create_empty" /> <com.wireguard.android.widget.fab.LabeledFloatingActionButton @@ -62,7 +62,7 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:onClick="@{fragment::onRequestImportConfig}" - app:srcCompat="@drawable/ic_action_open_inverse" + app:srcCompat="@drawable/ic_action_open_white" app:fabSize="mini" app:fab_title="@string/create_from_file" /> </com.wireguard.android.widget.fab.FloatingActionsMenu> |