Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2925be6d authored by Matthew Tait's avatar Matthew Tait Committed by Android (Google) Code Review
Browse files

Merge "Changes styling on number, date and time pickers." into cw-f-dev

parents d7eb8794 87f8b8c5
Loading
Loading
Loading
Loading
+26 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!--
     Copyright (C) 2007 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.
-->

<DatePicker xmlns:android="http://schemas.android.com/apk/res/android"
    android:id="@+id/datePicker"
    android:layout_gravity="center_horizontal"
    android:gravity="center_horizontal"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:spinnersShown="true"
    android:calendarViewShown="false"
    android:datePickerMode="@integer/date_picker_mode" />
+8 −13
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!--
**
** Copyright 2012, The Android Open Source Project
** Copyright 2007, 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.
@@ -17,15 +17,10 @@
*/
-->

<merge xmlns:android="http://schemas.android.com/apk/res/android">

    <view class="android.widget.NumberPicker$CustomEditText"
        android:textAppearance="?android:attr/textAppearanceLarge"
        android:id="@+id/numberpicker_input"
        android:layout_width="fill_parent"
<TimePicker xmlns:android="http://schemas.android.com/apk/res/android"
    android:id="@+id/timePicker"
    android:layout_gravity="center_horizontal"
    android:gravity="center_horizontal"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
        android:gravity="center"
        android:singleLine="true"
        android:background="@null" />

</merge>
    android:timePickerMode="@integer/time_picker_mode" />
+6 −6
Original line number Diff line number Diff line
@@ -41,8 +41,8 @@
            android:id="@+id/month"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_marginTop="16dip"
            android:layout_marginBottom="16dip"
            android:layout_marginTop="@dimen/picker_top_margin"
            android:layout_marginBottom="@dimen/picker_bottom_margin"
            android:layout_marginStart="8dip"
            android:layout_marginEnd="8dip"
            android:focusable="true"
@@ -54,8 +54,8 @@
            android:id="@+id/day"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_marginTop="16dip"
            android:layout_marginBottom="16dip"
            android:layout_marginTop="@dimen/picker_top_margin"
            android:layout_marginBottom="@dimen/picker_bottom_margin"
            android:layout_marginStart="8dip"
            android:layout_marginEnd="8dip"
            android:focusable="true"
@@ -67,8 +67,8 @@
            android:id="@+id/year"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_marginTop="16dip"
            android:layout_marginBottom="16dip"
            android:layout_marginTop="@dimen/picker_top_margin"
            android:layout_marginBottom="@dimen/picker_bottom_margin"
            android:layout_marginStart="8dip"
            android:layout_marginEnd="16dip"
            android:focusable="true"
+1 −1
Original line number Diff line number Diff line
@@ -22,4 +22,4 @@
      android:gravity="center"
      android:singleLine="true"
      android:background="@null"
      android:textAppearance="@style/TextAppearance.Material.Body1" />
      android:textAppearance="@style/TextAppearance.Material.NumberPicker" />
+6 −6
Original line number Diff line number Diff line
@@ -40,8 +40,8 @@
            android:id="@+id/hour"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_marginTop="16dip"
            android:layout_marginBottom="16dip"
            android:layout_marginTop="@dimen/picker_top_margin"
            android:layout_marginBottom="@dimen/picker_bottom_margin"
            android:focusable="true"
            android:focusableInTouchMode="true"
            />
@@ -62,8 +62,8 @@
            android:id="@+id/minute"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_marginTop="16dip"
            android:layout_marginBottom="16dip"
            android:layout_marginTop="@dimen/picker_top_margin"
            android:layout_marginBottom="@dimen/picker_bottom_margin"
            android:focusable="true"
            android:focusableInTouchMode="true"
            />
@@ -75,8 +75,8 @@
        android:id="@+id/amPm"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_marginTop="16dip"
        android:layout_marginBottom="16dip"
        android:layout_marginTop="@dimen/picker_top_margin"
        android:layout_marginBottom="@dimen/picker_bottom_margin"
        android:layout_marginStart="8dip"
        android:layout_marginEnd="8dip"
        android:focusable="true"
Loading