-
-
Notifications
You must be signed in to change notification settings - Fork 90
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Spotify: screen usage optimization in 'now playing' view - consideration of splitscreen status #460
Comments
Thank you so much for the kind compliments and the excellently-detailed feature request! As you can tell, the car app is built on top of reverse-engineered resources of other car apps. This particular screen being used for the queue is already configured somehow so that the list does not expand to the full width of the display. You can see the width of the list with the width of the selection cursor. The list column widths are configured to auto-expand, but there may be some other setting somewhere to expand the list itself. The left column is where the checkmark indicates the current track, and there isn't much room for it to shrink. I'll keep this request open until a solution is figured out, there are other screens that I'd like to have positioned better too. However, the current understanding is limited and I don't know how to solve this currently. |
Thank you for your feedback and for pointing out the relevant section in the code! |
Welp I spent the last two days trying to figure this out and am stumped! I am not sure why some screens (like the Notifications List) are wide screen and the various lists in the Music app are not. In particular, the Music App Switcher List is the exact same layout as the Notifications List, same properties and widgets and everything, but I can not figure out the difference, even with modifying the code to set them up the same way. |
Hi, I've played around with the RHMIProperties (with my very limited understanding) and have set
Result (also see pictures):
I know that that's definetely not a solution for all users (especially since I used fixed values which may only work with my 1280 screen resolution :) - and it for sure looks kind of improvised with the scrollbar touching the text and the cursor only half way), but for me personally it's still an improvement and I will keep these setting for now - just because I often listen to podcasts which tend to use long song titles :) When having splitscreen mode active, it looks also ok (not perfect, but ok): One additional observation & question: Once you first scroll through the list, the image placeholder disappears magically :) |
Wow, this is great! Thanks for continuing to experiment! ROW_LINE_MAX_LENGTH is used because the car would wrap the first line into the second line, which would overwrite any desired subtitle we'd have. Your last screenshot shows this, with That area with the mobile phone symbol is indeed confusing to me. It is not mentioned in the ui_description, and these HMI States are identical (besides various IDs) between notifications and music, which is what is confusing me the most. I believe this is the Since you have the project checked out and compiling, you can explore the ui_description.xml files found in app/src/main/assets/carapplications. The protocol does not let you modify them, however, but maybe you'll find some more clues to try out! |
Hey, I've experimented a bit with the different properties - but unfortunately did not yet find any working combination. I've mainy used
and different combinations of it. Like you already mentioned, setting the width of the whole list to a static value somehow changes the behaviour of the list. All elements are displayed on top of each other, the dynamic scrolling through all list entries underneath each other somehow get's lost. The cursor stays always at the same place. The positioning of the list element is also being lost when changing to static width or height. (Song List moves to the top where queueImageComponent, titleLabelComponent and subtitleLabelComponent are already located). A few examples: ... increasing the widget height as well: ... positioning the widget using the POSITION_* properties Regarding the unknown 43 property you mentioned in your latest comment (Twitter app):
I would assume these settings only have effect when using 'Richtext' lists (possible value for 'modelType' in 'raListModel', correct?). Btw: besides those two, there seem to be also some other properties defined which are not yet mentioned in your component properties table: Additional question:
|
Wow, excellent sleuthing! I have no idea why I left those properties out of the table, I see that they are even in the original BMW Classic! I'll update the docs with these properties and any example values I find.
<property id="24" value="1" />
<property id="24" value="3"/>
<property id="26" value="0,7"/>
<property id="26" value="1,0,7"/>
<property id="26" value="3,6" /> I wasn't able to notice a difference when experimenting with them, but please feel free to try them out! Personally, I found the reverse engineering the most exciting part of the project, and I'm happy you're sharing this excitement :) |
Hi!
when scrolling through the 'now playing' list in Spotfiy in my BMW F36 with Nav Professional, the song or podcast titles are often cut off due to lack of remaining screen width. This makes it sometimes hard to find the right entry in case they are using longer names. With the iDrive screen in splitscreen mode, this makes absolutely sense and can hardly be avoided because there is just no more space left.
Unfortunately, when disabling the splitscreen mode, the gained additional screen size is not being used for displaying the list of entries over the full width of the screen. The entire splitscreen area on the right side just remains black, the view is still limited to the screen size of the main screen without splitscreen. I've added a photo to visualize this.
Therefore, I'm wondering if it would be possible to either
to not cut off the titles unnecessarily and improve the user experience when searching for specific titles in a playlist?
Additional thought:
The padding/margin on the left side of every list entry (left of the cover picture) looks also a bit big and could be optimized to cut off a few less characters at the end?
If you need any details regarding my specific screen resolution or other logs or if I can test something in the code on my own, let me know.
PS: Thanks for the great work. I enjoy using AAIdrive nearly every day :)
The text was updated successfully, but these errors were encountered: