Repository navigation
Home: favorites under the card on 16:9 units, card lined up with the bar, and drawer tabs for shortcuts - #1213
Open
andrecuellar wants to merge 2 commits into
Open
andrecuellar wants to merge 2 commits into
andrecuellar wants to merge 2 commits into
Conversation
…ard up with the bar outside launcher mode The favorites only move beside the card on units at least 2.2 times wider than tall, like 1920x720. On a 1280x720 unit the column left them as a narrow strip next to a mostly empty card. Outside launcher mode the favorites area stayed visible with nothing in it, so the gap above it still took room and the main button ended short of the driver bar.
With shortcuts mixed into the grid a long list of them buried the apps, as reported in andreknieriem#1136. The drawer now has Apps and Shortcuts tabs, the same segmented button as Basic and Advanced in Settings, and only shows them when there are shortcuts. They sit in the toolbar so a short head unit keeps its rows of icons, and under it on a narrow screen so the title stays. A shortcut now wears its app's icon as the badge, so two Search tiles in the shortcuts tab tell their apps apart.
andrecuellar
marked this pull request as ready for review
October 28, 2026 17:53
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Layout fixes and one improvement for the new home, all from feedback in #1136.
Favorites on 16:9 units. @JLou5641 has a 1280x720 unit at 146 dpi, which Android sees as about 1400x790dp. The home put the favorites and widgets in a column next to the card on any landscape screen from 1100dp wide, so on a 16:9 unit they ended up as a narrow strip beside a mostly empty card. Now they only move beside the card when the screen is also at least 2.2 times wider than tall, like 1920x720. On 16:9 they stay under the card.
Card and bar height outside launcher mode. @andreknieriem noticed that outside launcher mode the card ended short of the driver bar. The favorites area was still visible there with nothing in it, so the gap above it kept taking room. It's now hidden with the rest of the launcher views, and the card lines up with the bar.
Apps and shortcuts in separate tabs. @shreyan-ml asked to split the app shortcuts from the apps in the drawer. The drawer now has Apps and Shortcuts tabs, the same segmented button as Basic and Advanced in Settings, and only shows them when there are shortcuts (launcher mode, Android 7.1 and up). They sit in the toolbar so a short screen keeps its rows of icons, and move under it on screens narrower than 480dp so the title stays. With the shortcuts on their own, two "Search" tiles gave no hint of which app they open, so a shortcut now wears its app's icon as the badge, like Android's own launcher does. "Shortcuts" is translated in every locale.
Tested on emulators:
Those are on Android 12L with the app as the default home, plus the 4.1 ones. Testing on a real head unit is still pending: the favorites under the card on a 16:9 unit, the card and the bar ending at the same height outside launcher mode, and the drawer tabs with real shortcuts.