Commit 07d2d948 authored by Xing Liu's avatar Xing Liu Committed by Commit Bot

Download later: Make download later dialog view scrollable.

The download later dialog needs to be scrollable. In phone landscape
mode, not all the view is shown.

Bug: 1106363,1078454
Change-Id: Iae8d649b7259fee0a8800aa71e7a14cd759d49e6
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2301039Reviewed-by: default avatarMin Qin <qinmin@chromium.org>
Commit-Queue: Min Qin <qinmin@chromium.org>
Commit-Queue: Xing Liu <xingliu@chromium.org>
Cr-Commit-Position: refs/heads/master@{#789541}
parent 0f975c40
......@@ -14,9 +14,9 @@ import android.text.style.StyleSpan;
import android.util.AttributeSet;
import android.view.View;
import android.widget.CheckBox;
import android.widget.LinearLayout;
import android.widget.RadioGroup;
import android.widget.RadioGroup.OnCheckedChangeListener;
import android.widget.ScrollView;
import android.widget.TextView;
import androidx.annotation.Nullable;
......@@ -33,7 +33,7 @@ import org.chromium.ui.text.SpanApplier.SpanInfo;
/**
* The custom view in the download later dialog.
*/
public class DownloadLaterDialogView extends LinearLayout implements OnCheckedChangeListener {
public class DownloadLaterDialogView extends ScrollView implements OnCheckedChangeListener {
private Controller mController;
private RadioButtonWithDescription mDownloadNow;
......
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