Encode the width as part of the spec as a float. For instance: "home[.5]" is a home button with half its normal width. The UI will allow users to adjust the width of standard buttons and spaces from .25 to 1.75, excluding the app shelf, which fills all available space. Change-Id: Icd2f498c164933d61f55d779b3e9be0afaba9c2d
27 lines
912 B
XML
27 lines
912 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
**
|
|
** Copyright 2016, The Android Open Source Project
|
|
**
|
|
** Licensed under the Apache License, Version 2.0 (the "License");
|
|
** you may not use this file except in compliance with the License.
|
|
** You may obtain a copy of the License at
|
|
**
|
|
** http://www.apache.org/licenses/LICENSE-2.0
|
|
**
|
|
** Unless required by applicable law or agreed to in writing, software
|
|
** distributed under the License is distributed on an "AS IS" BASIS,
|
|
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
** See the License for the specific language governing permissions and
|
|
** limitations under the License.
|
|
*/
|
|
-->
|
|
|
|
<SeekBar
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:id="@+id/seekbar"
|
|
android:layout_height="wrap_content"
|
|
android:layout_width="match_parent"
|
|
android:paddingTop="12dp"
|
|
android:paddingBottom="4dp" />
|