From 932d156acac3d8893f961a6f8a55a6f16118f735 Mon Sep 17 00:00:00 2001 From: hughchen Date: Thu, 19 Sep 2019 16:57:14 +0800 Subject: [PATCH] Change text size of header title in advanced bluetooth 1. change the text size of header title 2. Set gravity of header title as "center" Bug: 138633953 Test: manually Change-Id: I358c6a10e3cb97b46c3b8f6d50f7046414ddfb13 --- res/layout/advanced_bt_entity_sub.xml | 4 +++- res/values/dimens.xml | 3 +++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/res/layout/advanced_bt_entity_sub.xml b/res/layout/advanced_bt_entity_sub.xml index 0f305830bdf..359d68bda7a 100644 --- a/res/layout/advanced_bt_entity_sub.xml +++ b/res/layout/advanced_bt_entity_sub.xml @@ -38,10 +38,12 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="center_horizontal" + android:gravity="center" android:singleLine="false" android:ellipsize="marquee" android:textDirection="locale" - android:layout_marginTop="24dp"/> + android:layout_marginTop="24dp" + android:textSize="@dimen/advanced_bluetooth_header_title_text_size"/> 320dp + + + 16sp