• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?>
2<!--
3  ~ Copyright (C) 2015 The Android Open Source Project
4  ~
5  ~ Licensed under the Apache License, Version 2.0 (the "License");
6  ~ you may not use this file except in compliance with the License.
7  ~ You may obtain a copy of the License at
8  ~
9  ~      http://www.apache.org/licenses/LICENSE-2.0
10  ~
11  ~ Unless required by applicable law or agreed to in writing, software
12  ~ distributed under the License is distributed on an "AS IS" BASIS,
13  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  ~ See the License for the specific language governing permissions and
15  ~ limitations under the License.
16  -->
17<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
18    android:layout_width="48dp"
19    android:layout_height="144dp">
20
21    <TextView android:id="@+id/focused_background"
22        android:layout_width="@dimen/pin_number_picker_text_view_width"
23        android:layout_height="@dimen/pin_number_picker_text_view_height"
24        android:layout_gravity="center"
25        android:gravity="center"
26        android:textSize="@dimen/pin_number_picker_text_size"
27        android:textColor="@color/pin_number_picker_text_color"
28        android:fontFamily="@string/light_font"
29        android:background="@drawable/pin_number_picker_focused_background" />
30
31    <LinearLayout
32        android:id="@+id/number_view_holder"
33        android:layout_width="wrap_content"
34        android:layout_height="wrap_content"
35        android:layout_gravity="center"
36        android:focusable="true"
37        android:orientation="vertical">
38
39        <TextView android:id="@+id/previous2_number"
40            style="@style/pin_number_view"/>
41        <TextView android:id="@+id/previous_number"
42            style="@style/pin_number_view"/>
43        <TextView android:id="@+id/current_number"
44            style="@style/pin_number_view"/>
45        <TextView android:id="@+id/next_number"
46            style="@style/pin_number_view"/>
47        <TextView android:id="@+id/next2_number"
48            style="@style/pin_number_view"/>
49    </LinearLayout>
50
51</FrameLayout>
52