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
This commit is contained in:
hughchen
2019-09-19 16:57:14 +08:00
parent 5f10a9a9ea
commit 932d156aca
2 changed files with 6 additions and 1 deletions

View File

@@ -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"/>
<LinearLayout
android:layout_width="wrap_content"

View File

@@ -412,4 +412,7 @@
<!-- System navigation settings illustration height -->
<dimen name="system_navigation_illustration_height">320dp</dimen>
<!-- Header title size of advanced bluetooth device -->
<dimen name="advanced_bluetooth_header_title_text_size">16sp</dimen>
</resources>