Commit f6d580ba authored by Jordan Demeulenaere's avatar Jordan Demeulenaere Committed by Commit Bot

[Autofill Assistant] Change form colors.

Change-Id: Iceb49a975735c34da9b1303a435c1d77de577232
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1635254Reviewed-by: default avatarClemens Arbesser <arbesser@google.com>
Commit-Queue: Jordan Demeulenaere <jdemeulenaere@chromium.org>
Cr-Commit-Position: refs/heads/master@{#664279}
parent 81be6239
......@@ -15,7 +15,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="4dp"
android:textAppearance="@style/TextAppearance.BlackTitle2"/>
android:textAppearance="@style/TextAppearance.BlackButtonText"/>
<LinearLayout
android:id="@+id/expand_label_container"
android:layout_width="match_parent"
......
......@@ -14,7 +14,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="4dp"
android:textAppearance="@style/TextAppearance.BlackTitle2"/>
android:textAppearance="@style/TextAppearance.BlackButtonText"/>
<org.chromium.chrome.browser.autofill_assistant.payment.AssistantChoiceList
android:id="@+id/choice_list"
......
......@@ -52,10 +52,9 @@ class AssistantFormSelectionInput extends AssistantFormInput {
for (int i = 0; i < mChoices.size(); i++) {
AssistantFormSelectionChoice choice = mChoices.get(i);
// Set the same style as Payment Request T&C.
TextView choiceView = new TextView(context);
ApiCompatibilityUtils.setTextAppearance(
choiceView, org.chromium.chrome.R.style.TextAppearance_BlackCaption);
choiceView, org.chromium.chrome.R.style.TextAppearance_BlackCaptionDefault);
choiceView.setText(choice.getLabel());
int index = i; // needed for the lambda.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment