From 7dadd70aa156eae31250b5e0e7efb485b296d058 Mon Sep 17 00:00:00 2001 From: Aurimas Liutikas Date: Mon, 6 Mar 2017 13:36:37 -0800 Subject: [PATCH] Add labelFor attributes to text input mode of TimePicker. Bug: 30044800 Test: now talkback includes label name when reading EditText values Change-Id: I2a2e46d803b471afe61777fa98314330e6942771 --- core/res/res/layout/time_picker_text_input_material.xml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/res/res/layout/time_picker_text_input_material.xml b/core/res/res/layout/time_picker_text_input_material.xml index 632a4c14ec1a4..76ce8268c8da1 100644 --- a/core/res/res/layout/time_picker_text_input_material.xml +++ b/core/res/res/layout/time_picker_text_input_material.xml @@ -44,6 +44,7 @@ android:layout_height="wrap_content" android:layout_below="@id/input_hour" android:layout_alignStart="@id/input_hour" + android:labelFor="@+id/input_hour" android:text="@string/time_picker_hour_label"/>