@@ -359,8 +359,10 @@ public void onClick(View v) {
359
359
mEtaContainer1 = mView .findViewById (R .id .eta_container1 );
360
360
mEtaRouteFavorite1 = (ImageButton ) mEtaContainer1 .findViewById (R .id .eta_route_favorite );
361
361
mEtaRouteFavorite1 .setColorFilter (mView .getResources ().getColor (R .color .header_text_color ));
362
+ mEtaRouteFavorite1 .setContentDescription (mContext .getString (R .string .arrival_favorite_first_description ));
362
363
mEtaReminder1 = (ImageButton ) mEtaContainer1 .findViewById (R .id .reminder );
363
364
mEtaReminder1 .setColorFilter (mView .getResources ().getColor (R .color .header_text_color ));
365
+ mEtaReminder1 .setContentDescription (mContext .getString (R .string .arrival_reminder_first_description ));
364
366
mEtaRouteName1 = (TextView ) mEtaContainer1 .findViewById (R .id .eta_route_name );
365
367
mEtaRouteDirection1 = (TextView ) mEtaContainer1 .findViewById (R .id .eta_route_direction );
366
368
mEtaAndMin1 = (RelativeLayout ) mEtaContainer1 .findViewById (R .id .eta_and_min );
@@ -369,15 +371,18 @@ public void onClick(View v) {
369
371
mEtaRealtime1 = (ViewGroup ) mEtaContainer1 .findViewById (R .id .eta_realtime_indicator );
370
372
mEtaMoreVert1 = (ImageButton ) mEtaContainer1 .findViewById (R .id .eta_more_vert );
371
373
mEtaMoreVert1 .setColorFilter (mView .getResources ().getColor (R .color .header_text_color ));
374
+ mEtaMoreVert1 .setContentDescription (mContext .getString (R .string .arrival_options_first_description ));
372
375
373
376
mEtaSeparator = mView .findViewById (R .id .eta_separator );
374
377
375
378
// Second ETA row
376
379
mEtaContainer2 = mView .findViewById (R .id .eta_container2 );
377
380
mEtaRouteFavorite2 = (ImageButton ) mEtaContainer2 .findViewById (R .id .eta_route_favorite );
378
381
mEtaRouteFavorite2 .setColorFilter (mView .getResources ().getColor (R .color .header_text_color ));
382
+ mEtaRouteFavorite2 .setContentDescription (mContext .getString (R .string .arrival_favorite_second_description ));
379
383
mEtaReminder2 = (ImageButton ) mEtaContainer2 .findViewById (R .id .reminder );
380
384
mEtaReminder2 .setColorFilter (mView .getResources ().getColor (R .color .header_text_color ));
385
+ mEtaReminder2 .setContentDescription (mContext .getString (R .string .arrival_reminder_second_description ));
381
386
mEtaRouteName2 = (TextView ) mEtaContainer2 .findViewById (R .id .eta_route_name );
382
387
mEtaAndMin2 = (RelativeLayout ) mEtaContainer2 .findViewById (R .id .eta_and_min );
383
388
mEtaRouteDirection2 = (TextView ) mEtaContainer2 .findViewById (R .id .eta_route_direction );
@@ -386,6 +391,7 @@ public void onClick(View v) {
386
391
mEtaRealtime2 = (ViewGroup ) mEtaContainer2 .findViewById (R .id .eta_realtime_indicator );
387
392
mEtaMoreVert2 = (ImageButton ) mEtaContainer2 .findViewById (R .id .eta_more_vert );
388
393
mEtaMoreVert2 .setColorFilter (mView .getResources ().getColor (R .color .header_text_color ));
394
+ mEtaMoreVert2 .setContentDescription (mContext .getString (R .string .arrival_options_second_description ));
389
395
390
396
mProgressBar = (ProgressBar ) mView .findViewById (R .id .header_loading_spinner );
391
397
mStopInfo = (ImageButton ) mView .findViewById (R .id .stop_info_button );
0 commit comments