OSDN Git Service

Fix the display abnormal of Tap & pay screen in landscape mode
authorSunny Shao <sunnyshao@google.com>
Wed, 2 Oct 2019 09:40:25 +0000 (17:40 +0800)
committerSunny Shao <sunnyshao@google.com>
Thu, 3 Oct 2019 10:56:36 +0000 (18:56 +0800)
commit3526f666a8da7a27574d8fc301aa43fd9f157984
tree41126953ce57dc7088fd83a2121532ff15879086
parent616707f4863812c4399410e8862e07884e32ed4f
Fix the display abnormal of Tap & pay screen in landscape mode

- Add a new layout for the landscape mode.
- Update the logic to show image when has no any visible preference.

Bug: 141559275
Test: manual view
make RunSettingsRoboTests -j ROBOTEST_FILTER=com.android.settings.nfc
Change-Id: Ib59ad3347e0635c07d61d557d75f8feaf78ff23c
res/layout-land/nfc_payment_empty.xml [new file with mode: 0644]
src/com/android/settings/nfc/PaymentSettings.java
tests/robotests/src/com/android/settings/nfc/PaymentSettingsTest.java