summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKunal <shindek@google.com>2020-06-16 23:09:55 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2020-06-16 23:09:55 +0000
commit80e5b642bb4f862a456f60bd4cc665cb1994f89a (patch)
treec57678c49c3190ece8211776c7a27c833a99dca0
parent9173b2e80d6c4234fa0931cd116feda85aea1e62 (diff)
parentfa8ef9a36806deaaa2dac1ccbfd62c61d0144ee9 (diff)
downloadteeui-80e5b642bb4f862a456f60bd4cc665cb1994f89a.tar.gz
Change layout to address failing portability tests. am: aa62b6cb40 am: 3a499b7c5e am: fa8ef9a368
Original change: https://android-review.googlesource.com/c/platform/system/teeui/+/1329356 Change-Id: Idb9a9a92beb58811fccd242177d5aef7dcd5ae4e
-rw-r--r--libteeui/example/layout/phys_button_layout.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libteeui/example/layout/phys_button_layout.h b/libteeui/example/layout/phys_button_layout.h
index a3f1fe7..70aa15b 100644
--- a/libteeui/example/layout/phys_button_layout.h
+++ b/libteeui/example/layout/phys_button_layout.h
@@ -105,7 +105,7 @@ FontSize(24_dp);
LineHeight(24_dp);
NumberOfLines(1);
Dimension(LabelWidth, HeightFromLines);
-Position(BorderWidth, BOTTOM_EDGE_OF(LabelCancel) + 60_dp);
+Position(BorderWidth, BOTTOM_EDGE_OF(LabelCancel) + 40_dp);
DefaultText("A"); // ShieldTTF has just one glyph at the code point for capital A
TextColor(ShieldColor());
Font(FONT(Shield));