Commit e3157a1f authored by Kyle Milka's avatar Kyle Milka Committed by Commit Bot

[SharingHub] Make QrCode share tab a scroll view

Wrap the contents of the share tab (QrCode + Download button)
in a scroll view so everything can be seen on smaller devices.

Bug: 1105809
Change-Id: Iba3b85c5a6ef31beb24bb080a7b12942298a79cd
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2300232Reviewed-by: default avatarTanya Gupta <tgupta@chromium.org>
Commit-Queue: Kyle Milka <kmilka@chromium.org>
Cr-Commit-Position: refs/heads/master@{#788788}
parent 56d9da05
...@@ -2,12 +2,16 @@ ...@@ -2,12 +2,16 @@
<!-- Copyright 2019 The Chromium Authors. All rights reserved. <!-- Copyright 2019 The Chromium Authors. All rights reserved.
Use of this source code is governed by a BSD-style license that can be Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file. --> found in the LICENSE file. -->
<LinearLayout <ScrollView
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/share_layout" android:id="@+id/share_layout"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:orientation="vertical"> android:orientation="vertical">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<ImageView <ImageView
android:id="@+id/tab_line" android:id="@+id/tab_line"
android:layout_width="match_parent" android:layout_width="match_parent"
...@@ -51,4 +55,5 @@ ...@@ -51,4 +55,5 @@
android:layout_marginTop="30dp" android:layout_marginTop="30dp"
android:text="@string/open_settings_button" android:text="@string/open_settings_button"
style="@style/TextButton"/> style="@style/TextButton"/>
</LinearLayout> </LinearLayout>
</ScrollView>
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