From 14e76c3233219bc2a5b5321dd367c5f9321ca464 Mon Sep 17 00:00:00 2001 From: Bonian Chen Date: Thu, 18 Nov 2021 10:27:34 +0800 Subject: [PATCH] [Settings] Move display of VPN version into summary text Move the display of version text within VPN into summary part of the display, and limit the height of summary area. Bug: 205460459 Test: local Change-Id: I666b9db356feeebf04e3be688897c2d9110a5275 (cherry picked from commit 144f295d7aa66bae8556ba030553a49615eab0b2) --- res/values/strings.xml | 2 +- res/values/styles.xml | 10 ++++ res/xml/vpn_app_management.xml | 14 ++++- .../settings/vpn2/AppManagementFragment.java | 51 +++++++++++++++++-- 4 files changed, 71 insertions(+), 6 deletions(-) diff --git a/res/values/strings.xml b/res/values/strings.xml index c730d9871dc..3fbbf4e3d62 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -7452,7 +7452,7 @@ Disconnect - Version %s + Version Forget VPN diff --git a/res/values/styles.xml b/res/values/styles.xml index eaebd85b952..8402dec73ca 100644 --- a/res/values/styles.xml +++ b/res/values/styles.xml @@ -237,6 +237,16 @@ @android:style/TextAppearance.DeviceDefault.Small + + + +