diff --git a/src/main/java/com/owncloud/android/ui/dialog/ChooseRichDocumentsTemplateDialogFragment.java b/src/main/java/com/owncloud/android/ui/dialog/ChooseRichDocumentsTemplateDialogFragment.java index 78cd51b315..d481abc5fe 100644 --- a/src/main/java/com/owncloud/android/ui/dialog/ChooseRichDocumentsTemplateDialogFragment.java +++ b/src/main/java/com/owncloud/android/ui/dialog/ChooseRichDocumentsTemplateDialogFragment.java @@ -146,7 +146,7 @@ public class ChooseRichDocumentsTemplateDialogFragment extends DialogFragment im View view = binding.getRoot(); binding.filename.requestFocus(); - ThemeUtils.colorTextInputLayout(binding.filenameContainer, ThemeUtils.primaryColor(getContext())); + ThemeUtils.colorTextInput(binding.filenameContainer, binding.filename, ThemeUtils.primaryColor(getContext())); try { client = clientFactory.create(currentAccount.getUser()); diff --git a/src/main/java/com/owncloud/android/ui/dialog/ChooseTemplateDialogFragment.java b/src/main/java/com/owncloud/android/ui/dialog/ChooseTemplateDialogFragment.java index 3028cd0f4b..26a7bdf923 100644 --- a/src/main/java/com/owncloud/android/ui/dialog/ChooseTemplateDialogFragment.java +++ b/src/main/java/com/owncloud/android/ui/dialog/ChooseTemplateDialogFragment.java @@ -161,7 +161,7 @@ public class ChooseTemplateDialogFragment extends DialogFragment implements View View view = binding.getRoot(); binding.filename.requestFocus(); - ThemeUtils.colorTextInputLayout(binding.filenameContainer, ThemeUtils.primaryColor(getContext())); + ThemeUtils.colorTextInput(binding.filenameContainer, binding.filename, ThemeUtils.primaryColor(getContext())); binding.filename.setOnKeyListener((v, keyCode, event) -> { checkEnablingCreateButton(); diff --git a/src/main/res/layout/choose_template.xml b/src/main/res/layout/choose_template.xml index 25daa9b8aa..b8599fb389 100644 --- a/src/main/res/layout/choose_template.xml +++ b/src/main/res/layout/choose_template.xml @@ -47,7 +47,6 @@