diff options
author | cyBerta <cyberta@riseup.net> | 2021-07-31 19:30:54 +0200 |
---|---|---|
committer | cyBerta <cyberta@riseup.net> | 2021-11-14 19:44:25 +0100 |
commit | a2067cd5b56387405cb653de8940e7afc448449d (patch) | |
tree | d1310f3f693789bbf2289a5303594c792593f6dd /app/src/main/res | |
parent | 1f8b9f9c65a60de9813c77344bdba0fa8153cb62 (diff) |
Add BuildConfig to disable color filtering of the main screen background, if VPN is turned off. Make EipFragment's text colors customizable
Diffstat (limited to 'app/src/main/res')
-rw-r--r-- | app/src/main/res/layout-port/f_eip.xml | 2 | ||||
-rw-r--r-- | app/src/main/res/layout-xlarge-port/f_eip.xml | 2 | ||||
-rw-r--r-- | app/src/main/res/layout-xlarge/f_eip.xml | 2 | ||||
-rw-r--r-- | app/src/main/res/layout/f_eip.xml | 3 | ||||
-rw-r--r-- | app/src/main/res/values/colors.xml | 1 |
5 files changed, 9 insertions, 1 deletions
diff --git a/app/src/main/res/layout-port/f_eip.xml b/app/src/main/res/layout-port/f_eip.xml index 4dae126c..03401d16 100644 --- a/app/src/main/res/layout-port/f_eip.xml +++ b/app/src/main/res/layout-port/f_eip.xml @@ -65,6 +65,7 @@ android:padding="@dimen/activity_margin" android:textAppearance="@android:style/TextAppearance.Large" android:textStyle="bold" + android:textColor="@color/colorEipFragmentFont" app:layout_constraintDimensionRatio="1:1" tools:text="CONNETION" android:gravity="center" @@ -82,6 +83,7 @@ android:padding="@dimen/activity_margin" android:textAppearance="@android:style/TextAppearance.DeviceDefault.Medium" android:textStyle="bold" + android:textColor="@color/colorEipFragmentFont" app:layout_constraintDimensionRatio="1:1" tools:text="A LONG TEXT WITH SEVERAL THINGS BLABLkk \n kdjfkj \n kjdfkjdf" android:gravity="center" diff --git a/app/src/main/res/layout-xlarge-port/f_eip.xml b/app/src/main/res/layout-xlarge-port/f_eip.xml index 5325d6a6..6a115a8b 100644 --- a/app/src/main/res/layout-xlarge-port/f_eip.xml +++ b/app/src/main/res/layout-xlarge-port/f_eip.xml @@ -76,6 +76,7 @@ android:padding="@dimen/activity_margin" android:textAppearance="@android:style/TextAppearance.Large" android:textStyle="bold" + android:textColor="@color/colorEipFragmentFont" app:layout_constraintDimensionRatio="1:1" tools:text="CONNETION" android:gravity="center" @@ -93,6 +94,7 @@ android:padding="@dimen/activity_margin" android:textAppearance="@android:style/TextAppearance.DeviceDefault.Medium" android:textStyle="bold" + android:textColor="@color/colorEipFragmentFont" app:layout_constraintDimensionRatio="1:1" tools:text="A LONG TEXT WITH SEVERAL THINGS BLABLkk" android:gravity="center" diff --git a/app/src/main/res/layout-xlarge/f_eip.xml b/app/src/main/res/layout-xlarge/f_eip.xml index 8ed9a57c..1ea7ba4b 100644 --- a/app/src/main/res/layout-xlarge/f_eip.xml +++ b/app/src/main/res/layout-xlarge/f_eip.xml @@ -80,6 +80,7 @@ android:padding="@dimen/stdpadding" android:textAppearance="@android:style/TextAppearance.DeviceDefault.Large" android:textStyle="bold" + android:textColor="@color/colorEipFragmentFont" app:layout_constraintDimensionRatio="1:1" tools:text="CONNETION SECURE" android:maxLines="1" @@ -96,6 +97,7 @@ android:padding="@dimen/stdpadding" android:textAppearance="@android:style/TextAppearance.DeviceDefault.Medium" android:textStyle="bold" + android:textColor="@color/colorEipFragmentFont" app:layout_constraintDimensionRatio="1:1" android:maxLines="5" android:ellipsize="end" diff --git a/app/src/main/res/layout/f_eip.xml b/app/src/main/res/layout/f_eip.xml index 0cefcd6c..e3e8fe0a 100644 --- a/app/src/main/res/layout/f_eip.xml +++ b/app/src/main/res/layout/f_eip.xml @@ -97,6 +97,7 @@ android:paddingEnd="@dimen/stdpadding" android:textAppearance="@android:style/TextAppearance.DeviceDefault.Large" android:textStyle="bold" + android:textColor="@color/colorEipFragmentFont" app:layout_constraintDimensionRatio="1:1" tools:text="CONNETION SECURE" /> @@ -111,12 +112,12 @@ app:layout_constraintBottom_toTopOf="@+id/gateway_location_button" android:textAppearance="@android:style/TextAppearance.DeviceDefault.Medium" android:textStyle="bold" + android:textColor="@color/colorEipFragmentFont" android:paddingLeft="@dimen/stdpadding" android:paddingStart="@dimen/stdpadding" android:paddingRight="@dimen/stdpadding" android:paddingEnd="@dimen/stdpadding" android:paddingBottom="@dimen/stdpadding" - app:layout_constraintDimensionRatio="1:1" tools:text="Your traffic is securly routed through \n another" android:maxLines="2" diff --git a/app/src/main/res/values/colors.xml b/app/src/main/res/values/colors.xml index a8cdb28e..e911a6d1 100644 --- a/app/src/main/res/values/colors.xml +++ b/app/src/main/res/values/colors.xml @@ -34,6 +34,7 @@ <color name="colorActionBarTitleFont">@color/white</color> <color name="colorActionBarSubtitleFont">@color/black800</color> + <color name="colorEipFragmentFont">@color/black800</color> <color name="colorWarning">#B33A3A</color> |