RequestManageCredentials dark theme

Manual testing steps
* Enable dark theme via Settings > display
* Install TestDPC and select 'Request to manage credentials'
* Verify dark theme is displayed (including light text)

Bug: 177901172
Test: atest com.android.settings.security.RequestManageCredentialsTest
      manual testing
Change-Id: I6db1361ffcbf1e193673eb5ca7ef3f403d5023b1
This commit is contained in:
Alex Johnston
2021-04-19 18:18:19 +01:00
parent cdd73e7fec
commit dce68bf7a5
4 changed files with 6 additions and 18 deletions

View File

@@ -18,7 +18,8 @@
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="wrap_content">
android:layout_height="wrap_content"
android:clipChildren="true">
<RelativeLayout
android:layout_width="match_parent"
@@ -70,6 +71,7 @@
app:elevation="3dp"
app:icon="@drawable/ic_arrow_downward"
app:iconTint="?android:attr/colorAccent"
app:backgroundTint="?android:attr/colorPrimary"/>
app:backgroundTint="?android:attr/colorPrimary"
android:theme="@style/Theme.CollapsingToolbar.Settings"/>
</androidx.coordinatorlayout.widget.CoordinatorLayout>