Create new dialogs package and rename editalarm package to timepickers
This commit is contained in:
@@ -22,7 +22,7 @@
|
||||
android:layout_gravity="center" />
|
||||
</FrameLayout>
|
||||
|
||||
<com.philliphsu.clock2.editalarm.GridSelectorLayout
|
||||
<com.philliphsu.clock2.timepickers.GridSelectorLayout
|
||||
android:id="@+id/time_picker"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
|
||||
@@ -20,7 +20,7 @@ doesn't work. -->
|
||||
<!--<View style="@style/FocusGrabber"
|
||||
android:id="@+id/focus_grabber"/>-->
|
||||
|
||||
<com.philliphsu.clock2.editalarm.NumpadTimePicker
|
||||
<com.philliphsu.clock2.timepickers.NumpadTimePicker
|
||||
android:id="@+id/number_grid"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
|
||||
@@ -2,51 +2,51 @@
|
||||
<merge xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
<!-- Although the style defines a textSize attribute, it will not be
|
||||
applied because this is just a LinearLayout. -->
|
||||
<com.philliphsu.clock2.editalarm.TwentyFourHourGridItem
|
||||
<com.philliphsu.clock2.timepickers.TwentyFourHourGridItem
|
||||
style="@style/NumberGridButton.Hour"
|
||||
app:primaryText="00"
|
||||
app:secondaryText="12"/>
|
||||
<com.philliphsu.clock2.editalarm.TwentyFourHourGridItem
|
||||
<com.philliphsu.clock2.timepickers.TwentyFourHourGridItem
|
||||
style="@style/NumberGridButton.Hour"
|
||||
app:primaryText="01"
|
||||
app:secondaryText="13"/>
|
||||
<com.philliphsu.clock2.editalarm.TwentyFourHourGridItem
|
||||
<com.philliphsu.clock2.timepickers.TwentyFourHourGridItem
|
||||
style="@style/NumberGridButton.Hour"
|
||||
app:primaryText="02"
|
||||
app:secondaryText="14"/>
|
||||
<com.philliphsu.clock2.editalarm.TwentyFourHourGridItem
|
||||
<com.philliphsu.clock2.timepickers.TwentyFourHourGridItem
|
||||
style="@style/NumberGridButton.Hour"
|
||||
app:primaryText="03"
|
||||
app:secondaryText="15"/>
|
||||
<com.philliphsu.clock2.editalarm.TwentyFourHourGridItem
|
||||
<com.philliphsu.clock2.timepickers.TwentyFourHourGridItem
|
||||
style="@style/NumberGridButton.Hour"
|
||||
app:primaryText="04"
|
||||
app:secondaryText="16"/>
|
||||
<com.philliphsu.clock2.editalarm.TwentyFourHourGridItem
|
||||
<com.philliphsu.clock2.timepickers.TwentyFourHourGridItem
|
||||
style="@style/NumberGridButton.Hour"
|
||||
app:primaryText="05"
|
||||
app:secondaryText="17"/>
|
||||
<com.philliphsu.clock2.editalarm.TwentyFourHourGridItem
|
||||
<com.philliphsu.clock2.timepickers.TwentyFourHourGridItem
|
||||
style="@style/NumberGridButton.Hour"
|
||||
app:primaryText="06"
|
||||
app:secondaryText="18"/>
|
||||
<com.philliphsu.clock2.editalarm.TwentyFourHourGridItem
|
||||
<com.philliphsu.clock2.timepickers.TwentyFourHourGridItem
|
||||
style="@style/NumberGridButton.Hour"
|
||||
app:primaryText="07"
|
||||
app:secondaryText="19"/>
|
||||
<com.philliphsu.clock2.editalarm.TwentyFourHourGridItem
|
||||
<com.philliphsu.clock2.timepickers.TwentyFourHourGridItem
|
||||
style="@style/NumberGridButton.Hour"
|
||||
app:primaryText="08"
|
||||
app:secondaryText="20"/>
|
||||
<com.philliphsu.clock2.editalarm.TwentyFourHourGridItem
|
||||
<com.philliphsu.clock2.timepickers.TwentyFourHourGridItem
|
||||
style="@style/NumberGridButton.Hour"
|
||||
app:primaryText="09"
|
||||
app:secondaryText="21"/>
|
||||
<com.philliphsu.clock2.editalarm.TwentyFourHourGridItem
|
||||
<com.philliphsu.clock2.timepickers.TwentyFourHourGridItem
|
||||
style="@style/NumberGridButton.Hour"
|
||||
app:primaryText="10"
|
||||
app:secondaryText="22"/>
|
||||
<com.philliphsu.clock2.editalarm.TwentyFourHourGridItem
|
||||
<com.philliphsu.clock2.timepickers.TwentyFourHourGridItem
|
||||
style="@style/NumberGridButton.Hour"
|
||||
app:primaryText="11"
|
||||
app:secondaryText="23"/>
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
<!--TOneverDO: Change paddingBottom to marginBottom without also subtracting the
|
||||
margin amount from the height. -->
|
||||
<!--TODO: As a library, we probably also want to paddingLeft/Right-->
|
||||
<com.philliphsu.clock2.editalarm.GridSelectorLayout
|
||||
<com.philliphsu.clock2.timepickers.GridSelectorLayout
|
||||
android:id="@+id/time_picker"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/number_grid_height"
|
||||
|
||||
@@ -20,7 +20,7 @@ doesn't work. -->
|
||||
<!--<View style="@style/FocusGrabber"
|
||||
android:id="@+id/focus_grabber"/>-->
|
||||
|
||||
<com.philliphsu.clock2.editalarm.NumpadTimePicker
|
||||
<com.philliphsu.clock2.timepickers.NumpadTimePicker
|
||||
android:id="@+id/number_grid"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/numeric_keypad_height"
|
||||
|
||||
Reference in New Issue
Block a user