summaryrefslogtreecommitdiff
path: root/java/res/values-sw600dp
AgeCommit message (Collapse)Author
2024-10-14Add keboard focus outline for Chooser targets Andrey Yepin
This change applies the same focus outline as Launcher but the end result still needs more polishing. Some noticeable issues are: * the outline may overlap with a long label; * targets with a one-line labels look adjusted to the top and not centered; * with the light system ui theme, the outer online frame is barely visible compare to the inner outline (this is also true for Launcher). Bug: 295175912 Test: visual effect testing Flag: com.android.intentresolver.target_hover_and_keyboard_focus_states Change-Id: I1d22b187e0cc4b95c385d4f5b956effa31fd4505
2023-04-27Limit the width of the modify share action. 1
Also limit the text toggle to match. Bug: 279694425 Test: Manual test on phone and tablet injecting some long strings for all the relevant fields. Change-Id: I51fa108a30a2f1f85c151e036bbff863c0755e88
2023-04-21Simplify resource definition for landscape phones. 1
Previously had to define several values twice. Not use values/ for the landscape phone values and values-h480dp/ for values for any device config taller than 480dp (basically not a landscape phone). Bug: 267522604 Test: Verifying no visual behavior change in either rotation on tablets and phones. Test: atest IntentResolverUnitTests Change-Id: I8afdb13b7d4a7949ddbaf0f6eabc37d2b3e38a46
2023-04-17Show preview content in landscape. 1
Make stuff smaller and less tall on landscape non-tablets. Let the system restart sharesheet on rotation to allow for resources to change. Tablet displays in landscape generally should follow the un-compressed UI of portrait phones, so the resources for that configuration have to be listed twice. This doesn't dismantle any of the code for handling orientation changes ourselves, as taking that apart may be error-prone. This is meant to a first pass, additional landscape miniturization will follow, as there still isn't a ton of room to scroll at the bottom. Bug: 267522604 Test: Testing in portrait and landscape with a variety of ShareTest payloads Change-Id: I4697ad9510526cc9ce5f9e0630080bef5fad377c
2022-09-23Fork framework chooser code to IntentResolver path Joshua Trask
This copies Chooser classes and (as needed) their transitive dependencies, while making minor mechanical changes to fix up references for the new package. This is a large CL, especially since we don't track the history of these files across projects (framework vs. "unbundled"), and the meaningful changes could easily get lost in the noise; reviewers should see accompanying notes at go/chooser-fork-cl. Test: locally re-enabled and ran UnbundledChooserActivityTest (as updated in this CL to match the framework version), then re-disabled before uploading. See notes for more info. Change-Id: I6708e3563d18a9e31894dd36dcd65e9a5815abcf