question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Android Device Controls: subtitle

See original GitHub issue

Is your feature request related to a problem? Please describe.

Android Device Controls, subtitles missing. Opportunity to display useful Information like “item.name” missed.

Describe the solution you’d like

Use.setSubtitle()to add additional Information like location or name of parent item.

I added: .setSubtitle(item.name) under line 319 and under line 326 in the file ItemsControlsProviderService.kt (path: \openhab-android-main\mobile\src\main\java\org\openhab\habdroid\background)

The results can be seen in the screenshots below.

Describe alternatives you’ve considered

Showing the item location, instead of item name, would also be a good alternative.

Additional context

Current state (used paint to remove subtitles, as I use the app with my the implemented code now):

With implemented Code:

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:11 (11 by maintainers)

github_iconTop GitHub Comments

1reaction
maniac103commented, May 26, 2022

I’ll give it a try.

1reaction
mueller-macommented, May 23, 2022

The “problem” for me is that the item name as subtitle adds redundant and technical information.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Translate speech to text with Live Caption - Google Help
Under the volume controls, tap Live Caption Live Caption Subtitles . Tip: If these steps don't work, you may need to first turn...
Read more >
How to Turn on Live Caption in Android 10 and Android 11
Step 2: Now you're in the Live Caption menu. Toggle the Live Caption option to turn Live Caption on and start getting auto-generated...
Read more >
How to enable live captions in Android 12
1. Tap the Settings icon on your home screen or in your app tray to open the Settings. Select Accessibility. 2. Scroll down...
Read more >
How to enable onscreen captions for all speech on your ...
How to enable Live Caption · To access the Accessibility features on your Android device open the Settings app . · In the...
Read more >
How to Turn On/Off Subtitles [Android 12] - YouTube
Want to know How to Turn On/Off Subtitles on Android smartphone? This guide will show you how to do on Android 12.0:00 Intro0:05...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found