summaryrefslogtreecommitdiffstats
path: root/core/res/res/layout
diff options
context:
space:
mode:
authorAlan Viverette <alanv@google.com>2015-06-03 23:34:56 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2015-06-03 23:35:02 +0000
commitd3c9df1a34ec41a8ab6c13911d0887a37170d0cc (patch)
treec48d41b5872fc1a84bf2654262a652a08c296aae /core/res/res/layout
parente9bb596cc878281be209952f1cce886be75cd146 (diff)
parentd281428abde6e4a9846da4cace08bd51ef97fb3e (diff)
downloadframeworks_base-d3c9df1a34ec41a8ab6c13911d0887a37170d0cc.zip
frameworks_base-d3c9df1a34ec41a8ab6c13911d0887a37170d0cc.tar.gz
frameworks_base-d3c9df1a34ec41a8ab6c13911d0887a37170d0cc.tar.bz2
Merge "Update number picker styling for Material" into mnc-dev
Diffstat (limited to 'core/res/res/layout')
-rw-r--r--core/res/res/layout/number_picker_material.xml25
1 files changed, 25 insertions, 0 deletions
diff --git a/core/res/res/layout/number_picker_material.xml b/core/res/res/layout/number_picker_material.xml
new file mode 100644
index 0000000..47edec4
--- /dev/null
+++ b/core/res/res/layout/number_picker_material.xml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2015 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.
+-->
+
+<view xmlns:android="http://schemas.android.com/apk/res/android"
+ class="android.widget.NumberPicker$CustomEditText"
+ android:id="@+id/numberpicker_input"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:gravity="center"
+ android:singleLine="true"
+ android:background="@null"
+ android:textAppearance="@style/TextAppearance.Material.Caption" />