Permalink
Browse files

If requested, set the date time picker's theme to dialog.

  • Loading branch information...
1 parent 4a6ec68 commit 05c46b0e3ece965f6b7409b4e7cea8661bc326f6 @ziggythehamster committed Dec 10, 2012
Showing with 7 additions and 1 deletion.
  1. +7 −1 platform/android/Rhodes/AndroidManifest.xml.erb
@@ -52,7 +52,13 @@
<activity android:name='com.rhomobile.rhodes.camera.FileList' android:configChanges='orientation' android:screenOrientation='<%= @screenOrientation %>'/>
<activity android:name='com.rhomobile.rhodes.camera.ImageCapture' android:screenOrientation='landscape'/>
<activity android:name='com.rhomobile.rhodes.signature.ImageCapture' android:configChanges='orientation' android:screenOrientation='<%= @screenOrientation %>'/>
- <activity android:name='com.rhomobile.rhodes.datetime.DateTimePickerScreen' android:configChanges='orientation' android:screenOrientation='<%= @screenOrientation %>'/>
+ <activity android:name='com.rhomobile.rhodes.datetime.DateTimePickerScreen'
+ <% if @dateTimePickerDialog %>
+ android:theme="@android:style/Theme.Dialog"
+ <% end %>
+ android:configChanges='orientation'
+ android:screenOrientation='<%= @screenOrientation %>'
+ />
<activity android:name='com.rhomobile.rhodes.mapview.MapView' android:configChanges='orientation' android:screenOrientation='<%= @screenOrientation %>'/>
<activity android:name='com.rhomobile.rhodes.mapview.GoogleMapView' android:configChanges='orientation' android:screenOrientation='<%= @screenOrientation %>'/>
<activity android:name='com.rhomobile.rhodes.bluetooth.RhoBluetoothDeviceListActivity' android:configChanges='orientation' android:screenOrientation='<%= @screenOrientation %>'/>

0 comments on commit 05c46b0

Please sign in to comment.