From e3782662d5391b04fa5cb2bed824634c022e834b Mon Sep 17 00:00:00 2001 From: Shobhit Agarwal Date: Thu, 5 Dec 2024 23:36:04 +0530 Subject: [PATCH] Remove "Other" label and hint from other input --- ground/src/main/res/layout/multiple_choice_checkbox_item.xml | 2 -- ground/src/main/res/layout/multiple_choice_radiobutton_item.xml | 2 -- 2 files changed, 4 deletions(-) diff --git a/ground/src/main/res/layout/multiple_choice_checkbox_item.xml b/ground/src/main/res/layout/multiple_choice_checkbox_item.xml index a83d1daa75..b6a5e8c7ec 100644 --- a/ground/src/main/res/layout/multiple_choice_checkbox_item.xml +++ b/ground/src/main/res/layout/multiple_choice_checkbox_item.xml @@ -58,9 +58,7 @@ android:id="@+id/user_response_text" android:layout_width="match_parent" android:layout_height="wrap_content" - android:hint="@string/other" android:inputType="text" - android:text="@{item.otherText}" android:visibility="@{item.isOtherOption ? View.VISIBLE: View.GONE}" app:textChangedListener="@{viewModel.otherTextWatcher}" /> diff --git a/ground/src/main/res/layout/multiple_choice_radiobutton_item.xml b/ground/src/main/res/layout/multiple_choice_radiobutton_item.xml index dc4aa691de..39f566f21c 100644 --- a/ground/src/main/res/layout/multiple_choice_radiobutton_item.xml +++ b/ground/src/main/res/layout/multiple_choice_radiobutton_item.xml @@ -59,9 +59,7 @@ android:id="@+id/user_response_text" android:layout_width="match_parent" android:layout_height="wrap_content" - android:hint="@string/other" android:inputType="text" - android:text="@{item.otherText}" android:visibility="@{item.isOtherOption ? View.VISIBLE: View.GONE}" app:textChangedListener="@{viewModel.otherTextWatcher}" />