Wrap bluetooth edit content in a scrollview.
Bug: 28914094 In split screen the dialog content is too tall to fit in viewport. Wrap content in a scrollview so user can scroll vertically for different options, and have a visual indication that content is scrollable. Change-Id: Ia304dca6747cec6f31e86ccf89003ef6890e0640
This commit is contained in:
@@ -14,11 +14,16 @@
|
|||||||
limitations under the License.
|
limitations under the License.
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<LinearLayout
|
<ScrollView
|
||||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:paddingStart="25dp"
|
android:paddingStart="25dp"
|
||||||
|
android:paddingEnd="25dp">
|
||||||
|
|
||||||
|
<LinearLayout
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
android:orientation="vertical">
|
android:orientation="vertical">
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
@@ -52,6 +57,7 @@
|
|||||||
android:textAppearance="@android:style/TextAppearance.Material.Body1"
|
android:textAppearance="@android:style/TextAppearance.Material.Body1"
|
||||||
android:textColor="?android:attr/textColorSecondary"/>
|
android:textColor="?android:attr/textColorSecondary"/>
|
||||||
|
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:id="@+id/profiles_section"
|
android:id="@+id/profiles_section"
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
@@ -59,3 +65,5 @@
|
|||||||
android:layout_height="wrap_content"/>
|
android:layout_height="wrap_content"/>
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
|
</ScrollView>
|
||||||
|
Reference in New Issue
Block a user