summaryrefslogtreecommitdiff
path: root/libs/input/SpriteController.cpp
diff options
context:
space:
mode:
author Evan Laird <evanlaird@google.com> 2024-02-05 17:52:50 -0500
committer Evan Laird <evanlaird@google.com> 2024-02-05 18:11:02 -0500
commit9fa112fbdc6184c59cb7d07e3ed5b32ba6182055 (patch)
tree82b60679525da8a6d5b249dd43594f1c051fd6cb /libs/input/SpriteController.cpp
parente3b7288be9bbe2b532bc3ae19bf42f1239c101e4 (diff)
[Statusbar] Hide operator name by default; fix paddings
There are three main fixes here, all relating to the improper layout of the clock on the home-screen status bar: 1. The OperatorNameView is now getting inflated by default by Dagger, which is fine. But it was never hidden. This change makes it GONE by default so it does not push the clock over unnecessarily 2. For some reason, the left-side padding was 2x the right side padding for the status bar contents. Made them equal 3. Reduced the embedded left-side clock padding that is read by Clock.java from 7dp -> 4dp. This makes the clock align more with the battery. They're off by only one pixel now! This entire area is under construction, so it makes sense to manually tune things for now. In general though we will be looking at making these layouts more programmatically-correct rather than requring screenshot analysis. Test: manual; comparing screenshots Bug: 322779840 Flag: NONE Change-Id: Iaf0784d7f39b26c5f94f4ceae5bcc56732344831
Diffstat (limited to 'libs/input/SpriteController.cpp')
0 files changed, 0 insertions, 0 deletions