Commit 6112a794 authored by Cathy Li's avatar Cathy Li Committed by Commit Bot

[ExploreSites]: Do not set height in the dense tile views to allow text to...

[ExploreSites]: Do not set height in the dense tile views to allow text to overflow when text size increases

Bug: 1009093
Change-Id: Ia4cf81bf699f4fd392ff98e3212d62b77bf7b134
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1830170
Commit-Queue: Cathy Li <chili@chromium.org>
Reviewed-by: default avatarTheresa  <twellington@chromium.org>
Cr-Commit-Position: refs/heads/master@{#706953}
parent 087f9b56
......@@ -8,7 +8,8 @@
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="@dimen/explore_sites_dense_title_bottom_tile_view_width"
android:layout_height="@dimen/explore_sites_dense_title_bottom_tile_view_height"
android:layout_height="wrap_content"
android:minHeight="@dimen/explore_sites_dense_title_bottom_tile_view_height"
app:iconCornerRadius="@dimen/explore_sites_dense_icon_corner_radius">
<!-- The icon background. -->
......@@ -59,4 +60,4 @@
android:lines="2"
android:textAppearance="@style/TextAppearance.BlackCaption"
app:leading="@dimen/text_size_small_leading" />
</org.chromium.chrome.browser.explore_sites.ExploreSitesTileView>
\ No newline at end of file
</org.chromium.chrome.browser.explore_sites.ExploreSitesTileView>
......@@ -8,7 +8,8 @@
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="@dimen/explore_sites_dense_title_right_tile_view_width"
android:layout_height="@dimen/explore_sites_dense_title_right_tile_view_height"
android:layout_height="wrap_content"
android:minHeight="@dimen/explore_sites_dense_title_right_tile_view_height"
android:orientation="horizontal"
app:iconCornerRadius="@dimen/explore_sites_dense_icon_corner_radius">
<!-- The icon background. -->
......@@ -51,7 +52,7 @@
<org.chromium.ui.widget.TextViewWithLeading
android:id="@+id/tile_view_title"
android:layout_width="match_parent"
android:layout_height="@dimen/explore_sites_dense_title_right_title_height"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/explore_sites_dense_title_right_title_margin_top"
android:layout_marginStart="@dimen/explore_sites_dense_title_right_title_margin_start"
android:ellipsize="end"
......
be5439aff226479418677e2cc1edc8a0eac74c63
\ No newline at end of file
06404a681d645a5f80975f4cf924e1de1408cc84
\ No newline at end of file
ff5e02c214b7e0e5b52eb13149963c789c15f98b
\ No newline at end of file
71c85c6b88cf17ecae1c1511eec320ecb5162a97
\ No newline at end of file
9d5d43b9a4d0091246a502881f71f4abfb53fe87
\ No newline at end of file
596f07620fc8ca654d226118bab7aefb0e98d568
\ No newline at end of file
e9a2866c3bf9fc47506ce219a9073d5bfcf3da56
\ No newline at end of file
8cfed527d78c2da92005be6e57caf8214da78e55
\ No newline at end of file
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