Commit f0b16797 authored by Friedrich Horschig's avatar Friedrich Horschig Committed by Commit Bot

[Mfill Android] accessory sheet color and spacing fixes

This CL fixes the spacing below title texts (which were mistakenly
treated as UserInfo instances since both stem from LinearLayouts).

Additionally it sets the correct color to the slash used as divider in
credit card sheets.

Bug: None
Change-Id: I03a3bd11a991d848960f3301a0f315cdb362f910
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1787542Reviewed-by: default avatarIoana Pandele <ioanap@chromium.org>
Commit-Queue: Friedrich [CET] <fhorschig@chromium.org>
Cr-Commit-Position: refs/heads/master@{#693751}
parent 7a7e4b41
......@@ -60,8 +60,7 @@
android:layout_height="wrap_content"
android:layout_marginStart="@dimen/keyboard_accessory_sheet_padding"
android:layout_marginEnd="@dimen/keyboard_accessory_sheet_padding"
android:textAppearance="@style/TextAppearance.BlackHint1"
/>
android:textAppearance="@style/TextAppearance.DividerText"/>
<org.chromium.ui.widget.ChipView
android:id="@+id/exp_year"
......
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright 2019 The Chromium Authors. All rights reserved.
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file. -->
<resources xmlns:tools="http://schemas.android.com/tools">
<style name="TextAppearance.DividerText" parent="TextAppearance.BlackHint1">
<item name="android:textColor">@color/modern_grey_300</item>
</style>
</resources>
......@@ -35,6 +35,6 @@ class DynamicInfoViewBottomSpacer extends RecyclerView.ItemDecoration {
}
private boolean isUserInfoView(View view) {
return view.getClass().isAssignableFrom(mInfoViewClass);
return view.getClass().getCanonicalName().equals(mInfoViewClass.getCanonicalName());
}
}
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