]> iEval git - unical.git/commitdiff
Change EditTexts to TextViews
authorMarius Gavrilescu <marius@ieval.ro>
Wed, 12 Jun 2013 11:27:06 +0000 (14:27 +0300)
committerMarius Gavrilescu <marius@ieval.ro>
Wed, 12 Jun 2013 11:27:06 +0000 (14:27 +0300)
res/layout/add_event_basic_tab.xml

index 29bb6897d5ed617d5b87e0c79253d36798881a66..077dbcb8ae7893195bf3f19f3cbcd5beb5d3ff2e 100644 (file)
         android:layout_width="match_parent"
         android:layout_height="wrap_content" >
 
-        <EditText
-            android:inputType="time"
+        <TextView
+            style="@android:style/Widget.DeviceDefault.EditText"
             android:id="@+id/time_start"
             android:layout_width="wrap_content"
             android:layout_height="wrap_content"
-            android:onClick="showTimePickerDialog"
+            android:onClick="showDateTimePickerDialog"
             android:text="@string/pick_time"
             android:layout_weight="1"
             android:ems="10"
             android:focusable="false"
         />
-        <EditText
-            android:inputType="date"
+        <TextView
+            style="@android:style/Widget.DeviceDefault.EditText"
             android:id="@+id/date_start"
             android:layout_width="wrap_content"
             android:layout_height="wrap_content"
-            android:onClick="showTimePickerDialog"
+            android:onClick="showDateTimePickerDialog"
             android:text="@string/pick_date"
             android:layout_weight="1"
             android:ems="10"
         android:layout_width="match_parent"
         android:layout_height="wrap_content" >
 
-        <EditText
-            android:inputType="time"
+        <TextView
+            style="@android:style/Widget.DeviceDefault.EditText"
             android:id="@+id/time_end"
             android:layout_width="wrap_content"
             android:layout_height="wrap_content"
-            android:onClick="showTimePickerDialog"
+            android:onClick="showDateTimePickerDialog"
             android:text="@string/pick_time"
             android:layout_weight="1"
             android:ems="10"
             android:focusable="false"
         />
-        <EditText
-            android:inputType="date"
+        <TextView
+            style="@android:style/Widget.DeviceDefault.EditText"
             android:id="@+id/date_end"
             android:layout_width="wrap_content"
             android:layout_height="wrap_content"
-            android:onClick="showTimePickerDialog"
+            android:onClick="showDateTimePickerDialog"
             android:text="@string/pick_date"
             android:layout_weight="1"
             android:ems="10"
This page took 0.031596 seconds and 4 git commands to generate.