add colons between the number pickers

This commit is contained in:
tibbi 2018-03-09 14:31:45 +01:00
parent 07a3b876b2
commit df44a87e93
1 changed files with 20 additions and 3 deletions

View File

@ -12,30 +12,47 @@
android:id="@+id/my_time_picker_hours"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginRight="@dimen/medium_margin"
app:np_fadingEdgeEnabled="false"
app:np_formatter="%02d"
app:np_max="23"
app:np_min="0"
app:np_selectedTextSize="@dimen/big_text_size"
app:np_textSize="@dimen/big_text_size"/>
<com.simplemobiletools.commons.views.MyTextView
android:id="@+id/my_time_picker_colon_one"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:gravity="center"
android:padding="@dimen/medium_margin"
android:text=":"
app:np_textSize="@dimen/big_text_size"/>
<com.shawnlin.numberpicker.NumberPicker
android:id="@+id/my_time_picker_minutes"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginRight="@dimen/medium_margin"
app:np_fadingEdgeEnabled="false"
app:np_formatter="%02d"
app:np_max="59"
app:np_min="0"
app:np_selectedTextSize="@dimen/big_text_size"
app:np_textSize="@dimen/big_text_size"/>
<com.simplemobiletools.commons.views.MyTextView
android:id="@+id/my_time_picker_colon_two"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:padding="@dimen/medium_margin"
android:text=":"
app:np_textSize="@dimen/big_text_size"/>
<com.shawnlin.numberpicker.NumberPicker
android:id="@+id/my_time_picker_seconds"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginRight="@dimen/medium_margin"
app:np_fadingEdgeEnabled="false"
app:np_formatter="%02d"
app:np_max="59"
app:np_min="0"
app:np_selectedTextSize="@dimen/big_text_size"