blob: a72352dbf450a4ec2c56c3a0130cdc6b6c0b011c [file] [log] [blame]
Jeff Sharkeya53188f2011-09-13 19:56:45 -07001<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2011 The Android Open Source Project
3
4 Licensed under the Apache License, Version 2.0 (the "License");
5 you may not use this file except in compliance with the License.
6 You may obtain a copy of the License at
7
8 http://www.apache.org/licenses/LICENSE-2.0
9
10 Unless required by applicable law or agreed to in writing, software
11 distributed under the License is distributed on an "AS IS" BASIS,
12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 See the License for the specific language governing permissions and
14 limitations under the License.
15-->
16
17<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
18 android:orientation="horizontal"
19 android:gravity="center"
Jason Monke4897d92016-02-21 11:39:42 -050020 android:paddingStart="16dp"
21 android:paddingEnd="16dp"
22 android:layout_width="match_parent"
Jeff Sharkeya53188f2011-09-13 19:56:45 -070023 android:layout_height="wrap_content">
24
Jason Monke4897d92016-02-21 11:39:42 -050025 <EditText
Jeff Sharkeya53188f2011-09-13 19:56:45 -070026 android:id="@+id/bytes"
Afzaldde01402012-03-30 02:08:29 -040027 android:layout_width="wrap_content"
Jeff Sharkeya53188f2011-09-13 19:56:45 -070028 android:layout_height="wrap_content"
Jason Monke4897d92016-02-21 11:39:42 -050029 android:layout_weight="1"
30 android:minWidth="48dip"
Bonian Chen779abeb2019-10-04 17:08:00 +080031 android:minHeight="48dp"
Jeff Sharkeya53188f2011-09-13 19:56:45 -070032 android:layout_gravity="center_vertical"
Jeff Sharkeya53188f2011-09-13 19:56:45 -070033 android:focusable="true"
Jason Monke4897d92016-02-21 11:39:42 -050034 android:focusableInTouchMode="true"
35 android:inputType="numberDecimal" />
Jeff Sharkeya53188f2011-09-13 19:56:45 -070036
Jason Monke4897d92016-02-21 11:39:42 -050037 <Spinner
38 android:id="@+id/size_spinner"
Jeff Sharkeya53188f2011-09-13 19:56:45 -070039 android:layout_width="wrap_content"
Bonian Chen779abeb2019-10-04 17:08:00 +080040 android:layout_height="match_parent"
Victor Chang75325672017-12-27 11:41:30 +000041 android:layout_gravity="center_vertical"
42 android:entries="@array/bytes_picker_sizes" />
Jeff Sharkeya53188f2011-09-13 19:56:45 -070043
44</LinearLayout>