new widgets
This commit is contained in:
31
res/layout-land/number_picker.xml
Normal file
31
res/layout-land/number_picker.xml
Normal file
@@ -0,0 +1,31 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<!--
|
||||
~ Copyright (c) 2009-2011. Created by serso aka se.solovyev.
|
||||
~ For more information, please, contact se.solovyev@gmail.com
|
||||
~ or visit http://se.solovyev.org
|
||||
-->
|
||||
|
||||
<merge xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
|
||||
<org.solovyev.android.view.widgets.NumberPickerButton android:id="@+id/increment"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@drawable/timepicker_up_btn" />
|
||||
|
||||
<EditText android:id="@+id/timepicker_input"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center"
|
||||
android:singleLine="true"
|
||||
style="?android:attr/textAppearanceLargeInverse"
|
||||
android:textColor="@android:color/primary_text_light"
|
||||
android:textSize="30sp"
|
||||
android:background="@drawable/timepicker_input" />
|
||||
|
||||
<org.solovyev.android.view.widgets.NumberPickerButton android:id="@+id/decrement"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@drawable/timepicker_down_btn" />
|
||||
|
||||
</merge>
|
Reference in New Issue
Block a user