1e668d6b1b77ac4b127f961150e0d0a8a088143d9James Kung/*
2e668d6b1b77ac4b127f961150e0d0a8a088143d9James Kung * Copyright (C) 2013 The Android Open Source Project
3e668d6b1b77ac4b127f961150e0d0a8a088143d9James Kung *
4e668d6b1b77ac4b127f961150e0d0a8a088143d9James Kung * Licensed under the Apache License, Version 2.0 (the "License");
5e668d6b1b77ac4b127f961150e0d0a8a088143d9James Kung * you may not use this file except in compliance with the License.
6e668d6b1b77ac4b127f961150e0d0a8a088143d9James Kung * You may obtain a copy of the License at
7e668d6b1b77ac4b127f961150e0d0a8a088143d9James Kung *
8e668d6b1b77ac4b127f961150e0d0a8a088143d9James Kung *      http://www.apache.org/licenses/LICENSE-2.0
9e668d6b1b77ac4b127f961150e0d0a8a088143d9James Kung *
10e668d6b1b77ac4b127f961150e0d0a8a088143d9James Kung * Unless required by applicable law or agreed to in writing, software
11e668d6b1b77ac4b127f961150e0d0a8a088143d9James Kung * distributed under the License is distributed on an "AS IS" BASIS,
12e668d6b1b77ac4b127f961150e0d0a8a088143d9James Kung * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13e668d6b1b77ac4b127f961150e0d0a8a088143d9James Kung * See the License for the specific language governing permissions and
14e668d6b1b77ac4b127f961150e0d0a8a088143d9James Kung * limitations under the License.
15e668d6b1b77ac4b127f961150e0d0a8a088143d9James Kung */
16e668d6b1b77ac4b127f961150e0d0a8a088143d9James Kung
17e668d6b1b77ac4b127f961150e0d0a8a088143d9James Kungpackage com.android.datetimepicker.date;
18e668d6b1b77ac4b127f961150e0d0a8a088143d9James Kung
19e668d6b1b77ac4b127f961150e0d0a8a088143d9James Kungimport android.content.Context;
20e668d6b1b77ac4b127f961150e0d0a8a088143d9James Kungimport android.util.AttributeSet;
21e668d6b1b77ac4b127f961150e0d0a8a088143d9James Kung
22e668d6b1b77ac4b127f961150e0d0a8a088143d9James Kung/**
23e668d6b1b77ac4b127f961150e0d0a8a088143d9James Kung * A DayPickerView customized for {@link SimpleMonthAdapter}
24e668d6b1b77ac4b127f961150e0d0a8a088143d9James Kung */
25e668d6b1b77ac4b127f961150e0d0a8a088143d9James Kungpublic class SimpleDayPickerView extends DayPickerView {
26e668d6b1b77ac4b127f961150e0d0a8a088143d9James Kung
27e668d6b1b77ac4b127f961150e0d0a8a088143d9James Kung    public SimpleDayPickerView(Context context, AttributeSet attrs) {
28e668d6b1b77ac4b127f961150e0d0a8a088143d9James Kung        super(context, attrs);
29e668d6b1b77ac4b127f961150e0d0a8a088143d9James Kung    }
30e668d6b1b77ac4b127f961150e0d0a8a088143d9James Kung
31e668d6b1b77ac4b127f961150e0d0a8a088143d9James Kung    public SimpleDayPickerView(Context context, DatePickerController controller) {
32e668d6b1b77ac4b127f961150e0d0a8a088143d9James Kung        super(context, controller);
33e668d6b1b77ac4b127f961150e0d0a8a088143d9James Kung    }
34e668d6b1b77ac4b127f961150e0d0a8a088143d9James Kung
35e668d6b1b77ac4b127f961150e0d0a8a088143d9James Kung    @Override
36e668d6b1b77ac4b127f961150e0d0a8a088143d9James Kung    public MonthAdapter createMonthAdapter(Context context, DatePickerController controller) {
37e668d6b1b77ac4b127f961150e0d0a8a088143d9James Kung        return new SimpleMonthAdapter(context, controller);
38e668d6b1b77ac4b127f961150e0d0a8a088143d9James Kung    }
39e668d6b1b77ac4b127f961150e0d0a8a088143d9James Kung
40e668d6b1b77ac4b127f961150e0d0a8a088143d9James Kung}
41