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

Commit 30b1fe07 authored by Svetoslav Ganov's avatar Svetoslav Ganov Committed by Android (Google) Code Review
Browse files

Merge "Exposing the CalendarView of the DatePicker."

parents d5623fab 5f3f6ce1
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
@@ -249696,6 +249696,17 @@
<parameter name="defStyle" type="int">
</parameter>
</constructor>
<method name="getCalendarView"
 return="android.widget.CalendarView"
 abstract="false"
 native="false"
 synchronized="false"
 static="false"
 final="false"
 deprecated="not deprecated"
 visibility="public"
>
</method>
<method name="getCalendarViewShown"
 return="boolean"
 abstract="false"
+11 −0
Original line number Diff line number Diff line
@@ -366,11 +366,22 @@ public class DatePicker extends FrameLayout {
     * Gets whether the {@link CalendarView} is shown.
     *
     * @return True if the calendar view is shown.
     * @see #getCalendarView()
     */
    public boolean getCalendarViewShown() {
        return mCalendarView.isShown();
    }

    /**
     * Gets the {@link CalendarView}.
     *
     * @return The calendar view.
     * @see #getCalendarViewShown()
     */
    public CalendarView getCalendarView () {
        return mCalendarView;
    }

    /**
     * Sets whether the {@link CalendarView} is shown.
     *