summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Cosmin Băieș <cosminbaies@google.com> 2024-07-31 18:35:34 +0200
committer Cosmin Băieș <cosminbaies@google.com> 2024-07-31 18:35:34 +0200
commita7a772735f2006aab387cf21a9e909a77d77bf95 (patch)
treeb0062b0b3151d1e0f02f0e2052011bc35ee8ba60
parent23fbeec401ac8527994a1c7840236b583cefc3c9 (diff)
Add identifier to IME Switcher menu outermost view
This enables referencing the view in end-to-end tests that require scrolling. Flag: android.view.inputmethod.ime_switcher_revamp Test: atest testShowInputMethodPicker testInputMethodPickerSwitchIme testInputMethodPickerOpenLanguageSettings Bug: 311791923 Change-Id: I47f1a17d6850a4ca4c3e716ae012c1e80ec73669
-rw-r--r--core/res/res/layout/input_method_switch_dialog_new.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/res/res/layout/input_method_switch_dialog_new.xml b/core/res/res/layout/input_method_switch_dialog_new.xml
index 5a4d6b14a52b..2ab6092ca542 100644
--- a/core/res/res/layout/input_method_switch_dialog_new.xml
+++ b/core/res/res/layout/input_method_switch_dialog_new.xml
@@ -17,6 +17,7 @@
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@+id/container"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">