Android Studio 0.6.0
minSdkVersion 10
targetSdkVersion 19
Hello,
<DatePicker
android:id="@+id/datePicker"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:calendarViewShown="false"
android:scaleX="0.5"
android:scaleY="0.5"
android:layout_alignParentLeft="true"/>
<TimePicker
android:id="@+id/timePicker"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:scaleX="0.5"
android:scaleY="0.5"
android:layout_alignParentRight="true"
android:layout_alignBaseline="@id/datePicker"/>
</LinearLayout>
I have the following xml that contains a DatePicker and TimePicker. However, when I test on the device they are too big to fit side by side.
I have tried messing around with the weights and try to make width and height smaller but it still doesn't look right.
Many thanks for any suggestions,