OSDN Git Service

Make the text appearance consistant in add vpn dialog
authorlindatseng <lindatseng@google.com>
Wed, 27 Mar 2019 23:25:12 +0000 (16:25 -0700)
committerlindatseng <lindatseng@google.com>
Thu, 28 Mar 2019 18:16:35 +0000 (11:16 -0700)
commite0f24e6f5e922e84d81510cea8833fa23157efb8
tree09c4673cf589dd9b05ac52adb4a929e745ce299a
parent200fe628145b0ec996f08eacbf1fc7de8bd0f421
Make the text appearance consistant in add vpn dialog

Set the password fields text appearance programatically to get the
appearance consistant.

The style set in xml will be overriden if the field is set to password.

I set the text appearance programmatically in order to keep the
appearance consistent with the others.  The color of the text become
gray after setting the text appearance for some reason.

Note that I also do changes to the password field which is not mentioned
in the bug.

Test: visual inspection.
Bug: 127728228
Change-Id: Ie206f60877eb39addc1370ae4e2aee379597960e
src/com/android/settings/vpn2/ConfigDialog.java