From 6bd4f7495da6ab3abc3ad068438c590f011a83f6 Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Thu, 3 May 2018 23:41:37 +0530 Subject: [PATCH] styles: Propagate WireGuard red in UI Signed-off-by: Harsh Shandilya --- app/src/main/res/layout/tunnel_list_fragment.xml | 6 ++++++ app/src/main/res/values/colors.xml | 1 + app/src/main/res/values/styles.xml | 4 +++- 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/app/src/main/res/layout/tunnel_list_fragment.xml b/app/src/main/res/layout/tunnel_list_fragment.xml index 5d6a5ce9..3dc7fa0c 100644 --- a/app/src/main/res/layout/tunnel_list_fragment.xml +++ b/app/src/main/res/layout/tunnel_list_fragment.xml @@ -35,6 +35,8 @@ android:layout_height="wrap_content" android:layout_gravity="bottom|end" android:layout_margin="8dp" + app:fab_addButtonColorNormal="@color/wireguard_brand_red" + app:fab_addButtonColorPressed="@color/wireguard_brand_red" app:fab_labelStyle="@style/fab_label" app:fab_labelsPosition="left" app:layout_dodgeInsetEdges="bottom"> @@ -44,6 +46,8 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:onClick="@{fragment::onRequestCreateConfig}" + app:fab_colorNormal="@color/wireguard_brand_red" + app:fab_colorPressed="@color/wireguard_brand_red" app:fab_icon="@drawable/ic_action_edit" app:fab_size="mini" app:fab_title="@string/create_empty" /> @@ -53,6 +57,8 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:onClick="@{fragment::onRequestImportConfig}" + app:fab_colorNormal="@color/wireguard_brand_red" + app:fab_colorPressed="@color/wireguard_brand_red" app:fab_icon="@drawable/ic_action_open" app:fab_size="mini" app:fab_title="@string/create_from_file" /> diff --git a/app/src/main/res/values/colors.xml b/app/src/main/res/values/colors.xml index 47a2d2b4..5a6ee17f 100644 --- a/app/src/main/res/values/colors.xml +++ b/app/src/main/res/values/colors.xml @@ -2,4 +2,5 @@ #cfd8dc #808e95 + #871719 diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml index 1fda6aa6..ae6d0574 100644 --- a/app/src/main/res/values/styles.xml +++ b/app/src/main/res/values/styles.xml @@ -1,7 +1,9 @@ -