Commit d9a2568
authored
Update the get desktop app activity from "Sync Desktop Password" (#7801)
Task/Issue URL:
https://app.asana.com/1/137249556945/project/1211724162604201/task/1213372254856621?focus=true
### Description
Updated the layout for “Get Desktop App” screen that is opened from
“Sync Desktop Passwords”, in order to align the design with the other
screens that are promoting our desktop app.
Also added copy icons to download URL text fields across desktop
browser, desktop app, and sync device activities. The copy icon appears
at the end of each URL text field with proper spacing and margins.
Also update the link color (use text secondary style and remove accent
blue color).
### Steps to test this PR
_Copy Icon Display_
- [ ] Got to Settings -> Get Desktop Browser and verify the copy icon
appears next to the browser URL
- [ ] Go to Settings -> Sync and Backup -> Get Desktop Browser and
verify the copy icon appears next to the browser URL
- [ ] Go to Settings -> Passwords & Autofill -> Sync Desktop Passwords
-> Get Desktop Browser and verify the copy icon appears next to the
browser URL. This screen should also have the design similar to the Get
Desktop Browser screen opened from the settings
- [ ] Verify proper spacing between text and copy icons in all
activities
### UI changes
| Before | After |
| --- | --- |
|

| 
|
---
> [!NOTE]
> **Low Risk**
> Layout-only XML changes plus a new dimension; no business logic or
data handling changes, with main risk being minor UI regressions across
different screen sizes.
>
> **Overview**
> Updates the “Get Desktop App” screen (opened from Sync Desktop
Passwords) to match the newer desktop-promo layout (padding,
constraints, max-width, and button sizing) and introduces a new
`getDesktopAppMaxItemWidth` dimension.
>
> Adds a trailing copy icon to the URL text fields on the Get Desktop
Browser, Get Desktop App, and Sync “Get on Other Devices” screens,
including spacing/margins and `wrap` width behavior so the URL+icon are
laid out correctly.
>
> <sup>Written by [Cursor
Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
684df1d. This will update automatically
on new commits. Configure
[here](https://cursor.com/dashboard?tab=bugbot).</sup>
<!-- /CURSOR_SUMMARY -->1 parent cdc2625 commit d9a2568
File tree
4 files changed
+59
-55
lines changed- app/src/main/res/layout
- autofill/autofill-impl/src/main/res
- layout
- values
- sync/sync-impl/src/main/res/layout
4 files changed
+59
-55
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
89 | 92 | | |
90 | 93 | | |
91 | 94 | | |
92 | 95 | | |
93 | | - | |
94 | 96 | | |
95 | 97 | | |
96 | 98 | | |
97 | 99 | | |
| 100 | + | |
98 | 101 | | |
| 102 | + | |
99 | 103 | | |
100 | 104 | | |
101 | 105 | | |
| |||
Lines changed: 48 additions & 53 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
32 | | - | |
| 31 | + | |
33 | 32 | | |
34 | | - | |
35 | | - | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
54 | 42 | | |
55 | 43 | | |
56 | 44 | | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
57 | 48 | | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | 49 | | |
62 | | - | |
63 | | - | |
64 | | - | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
65 | 53 | | |
66 | 54 | | |
67 | 55 | | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | 56 | | |
72 | 57 | | |
73 | | - | |
| 58 | + | |
74 | 59 | | |
75 | | - | |
76 | | - | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
77 | 66 | | |
78 | 67 | | |
79 | 68 | | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | 69 | | |
84 | 70 | | |
| 71 | + | |
85 | 72 | | |
86 | | - | |
87 | | - | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
88 | 78 | | |
89 | | - | |
| 79 | + | |
90 | 80 | | |
91 | 81 | | |
92 | 82 | | |
93 | | - | |
94 | | - | |
95 | | - | |
| 83 | + | |
96 | 84 | | |
97 | | - | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
98 | 88 | | |
99 | | - | |
100 | | - | |
101 | | - | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
102 | 99 | | |
103 | 100 | | |
104 | 101 | | |
105 | | - | |
| 102 | + | |
106 | 103 | | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
| 104 | + | |
| 105 | + | |
113 | 106 | | |
114 | | - | |
115 | | - | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
116 | 111 | | |
117 | 112 | | |
118 | 113 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
20 | 21 | | |
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
87 | 90 | | |
88 | 91 | | |
89 | 92 | | |
90 | 93 | | |
91 | | - | |
92 | 94 | | |
93 | 95 | | |
94 | 96 | | |
| 97 | + | |
95 | 98 | | |
| 99 | + | |
96 | 100 | | |
97 | 101 | | |
98 | 102 | | |
| |||
0 commit comments