From b00aacbc41e902f0d10a78db7ec216ceec48e035 Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Sun, 29 Mar 2020 10:02:53 +0530 Subject: [PATCH] Fix tunnel editor theming Also set textInputStyle in the base theme to avoid setting styles to all elements Signed-off-by: Harsh Shandilya --- ui/src/main/res/layout/tunnel_editor_fragment.xml | 7 ------- ui/src/main/res/layout/tunnel_editor_peer.xml | 5 ----- ui/src/main/res/values-v21/styles.xml | 1 + ui/src/main/res/values-v27/styles.xml | 1 + ui/src/main/res/values/styles.xml | 6 ++++++ 5 files changed, 8 insertions(+), 12 deletions(-) diff --git a/ui/src/main/res/layout/tunnel_editor_fragment.xml b/ui/src/main/res/layout/tunnel_editor_fragment.xml index 4c6d8fd4..d87e1efb 100644 --- a/ui/src/main/res/layout/tunnel_editor_fragment.xml +++ b/ui/src/main/res/layout/tunnel_editor_fragment.xml @@ -68,7 +68,6 @@ @style/AppTheme.Dialog @style/AppTheme.Dialog @style/ThemeOverlay.MaterialComponents.ActionBar + @style/TextInputLayoutBase diff --git a/ui/src/main/res/values-v27/styles.xml b/ui/src/main/res/values-v27/styles.xml index 2f4b7107..dcdf974f 100644 --- a/ui/src/main/res/values-v27/styles.xml +++ b/ui/src/main/res/values-v27/styles.xml @@ -24,5 +24,6 @@ @style/AppTheme.Dialog @style/AppTheme.Dialog @style/ThemeOverlay.MaterialComponents.ActionBar + @style/TextInputLayoutBase diff --git a/ui/src/main/res/values/styles.xml b/ui/src/main/res/values/styles.xml index ed1f9cd0..a5079b8d 100644 --- a/ui/src/main/res/values/styles.xml +++ b/ui/src/main/res/values/styles.xml @@ -20,6 +20,7 @@ @style/AppTheme.Dialog @style/AppTheme.Dialog @style/ThemeOverlay.MaterialComponents.ActionBar + @style/TextInputLayoutBase +