Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5c0e02a3 authored by David Liu's avatar David Liu
Browse files

[Settingslib] Fix summary text centering issue in IntroPreference

Summary text in IntroPreference is implemented using CollapsableTextView. For some reason, in the context of GMS Core settings screen, the existing text centering code in CollapsableTextView (view.gravity = Gravity.CENTER) did not work. This CL adds view.textAlignment = View.TEXT_ALIGNMENT_CENTER, which was observed to solve the centering issue on a real device.

Bug: 378494253
Test: manual
Flag: Flag: EXEMPT bug fix
Change-Id: Ib49b3da4240c1bc84eb1684f80660c6530e7c9b7
parent b3997d69
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment