You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After #5204, the layout of Smartspacer as At a Glance is still a little wonky. If there are multiple cards, and the previous card is long enough that it goes to the right edge of the screen, the unclipped text is still visible.
Steps to reproduce
Steps to reproduce the behavior:
Set Smartspacer as the At a Glance provider
Have a Smartspacer target that is longer than the cars width
Scroll to the next card
See right edge of previous card on acreen
Expected behavior
I think we should have it work the same way as the stock launcher's At a Glance. On the stock launcher the view pager is only as wide as padded area and the content is clipped, so it is not visible behind the padding during scroll.
Screenshots
Example of card content visible behind padding
Example of previous card visible to the left of current card
Example of scrolling stock At a Glance
Device information
Device: Pixel 8 Pro, 9 Pro XL Emulator
OS: Android 15
App version: nightly
Additional context
I will take a look at this later tonight and fix it.
The text was updated successfully, but these errors were encountered:
Modified the smartspacer layout to be more like the stock At a Glance
layout by adding equal padding to both sides and clipping the pages as
they are scrolled.
FixesLawnchairLauncher#5206
amcoder
added a commit
to amcoder/lawnchair
that referenced
this issue
Jan 25, 2025
Modified the smartspacer layout to be more like the stock At a Glance
layout by adding equal padding to both sides and clipping the pages as
they are scrolled.
FixesLawnchairLauncher#5206
Modified the smartspacer layout to be more like the stock At a Glance
layout by adding equal padding to both sides and clipping the pages as
they are scrolled.
Fixes#5206
nulldrf
pushed a commit
to nulldrf/lawnchair
that referenced
this issue
Jan 25, 2025
Modified the smartspacer layout to be more like the stock At a Glance
layout by adding equal padding to both sides and clipping the pages as
they are scrolled.
FixesLawnchairLauncher#5206
Describe the bug
After #5204, the layout of Smartspacer as At a Glance is still a little wonky. If there are multiple cards, and the previous card is long enough that it goes to the right edge of the screen, the unclipped text is still visible.
Steps to reproduce
Steps to reproduce the behavior:
Expected behavior
I think we should have it work the same way as the stock launcher's At a Glance. On the stock launcher the view pager is only as wide as padded area and the content is clipped, so it is not visible behind the padding during scroll.
Screenshots
Example of card content visible behind padding
![Image](https://private-user-images.githubusercontent.com/1146006/406630628-391c0c18-08f0-41eb-b2af-68d2c9415576.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg5OTU2NTIsIm5iZiI6MTczODk5NTM1MiwicGF0aCI6Ii8xMTQ2MDA2LzQwNjYzMDYyOC0zOTFjMGMxOC0wOGYwLTQxZWItYjJhZi02OGQyYzk0MTU1NzYucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIwOCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMDhUMDYxNTUyWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9YmJjZmVmZDExYzUxZGIzNjFlMzgwNTBhNjlmYjQ4MTE5YzlkNjc1Njg3NjJiYTdmZWQwMTE2ZWUzNDA2YzU2MSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.M3l-KsGWkHixRhFKE3nAfbX_ew4Lm34mMV7pNcMoQEA)
Example of previous card visible to the left of current card
![Image](https://private-user-images.githubusercontent.com/1146006/406630706-a560d91a-bce6-4436-a31d-a74832775130.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg5OTU2NTIsIm5iZiI6MTczODk5NTM1MiwicGF0aCI6Ii8xMTQ2MDA2LzQwNjYzMDcwNi1hNTYwZDkxYS1iY2U2LTQ0MzYtYTMxZC1hNzQ4MzI3NzUxMzAucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIwOCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMDhUMDYxNTUyWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MGM5M2UxNjRiMDFlNGY0NGZhZWIxNmQzNjBmMzUxNTBkOGUzNmRhMjI4OTQ3Yjg5MDViOTVkMTBhNjE4NDIyMSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.KW_ebZRRayxD6KprwSTunRdgM4S_edEkgugX3LsPFck)
Example of scrolling stock At a Glance
![Image](https://private-user-images.githubusercontent.com/1146006/406630650-65fa288b-5042-4c6c-9a5c-46014bb6c451.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg5OTU2NTIsIm5iZiI6MTczODk5NTM1MiwicGF0aCI6Ii8xMTQ2MDA2LzQwNjYzMDY1MC02NWZhMjg4Yi01MDQyLTRjNmMtOWE1Yy00NjAxNGJiNmM0NTEucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIwOCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMDhUMDYxNTUyWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MGRlN2MwMDc2M2NjNTRjOThhMGNjNmRiMWFjNmU1MWFlMDE5ZTdkZmZmOWY1OTcwZTgwYzEyZTE0MGZhNzgxNiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.0fOfKq928wUZcK4FEP2i6lKvrJ09--rQgwLcx90bi_I)
Device information
Additional context
I will take a look at this later tonight and fix it.
The text was updated successfully, but these errors were encountered: