So the problem is very simple:
I have included DatePicker in my application. Not like DialogDatePicker , but as a View component (more precisely, a View inside a Fragment that is dynamically displayed and removed from the FrameLayout contained in my main FragmentActiviy layout.).
now my problem is that this DataPicker looks like this: 
and not so:

even when I aim for a higher API, I tried setting my Min SDK to 16 or 17, but it didn't help either.
Does anyone know why this is happening? and how can I show a new kind of data collector? desirable in older versions of Android?
Any help would be appreciated.
Thanks.
EDIT: Code:
DataPickerFragment xml:
<?xml version="1.0" encoding="utf-8"?> <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="wrap_content" android:layout_height="wrap_content" android:orientation="vertical" android:paddingLeft="6.5dp" android:paddingTop="6dp" android:paddingRight="8.5dp" android:paddingBottom="8.5dp" android:background="@drawable/date_picker_background"> <DatePicker android:id="@+id/datePicker" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_margin="10dp" android:paddingBottom="40dp" /> <LinearLayout android:layout_width="match_parent" android:layout_height="match_parent"> <Button android:id="@+id/bCancel" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_gravity="bottom" android:layout_weight="1.0" android:onClick="buttonCanceDatePickerOnclick" android:text="@string/cancel" /> <Button android:id="@+id/bSave" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_gravity="bottom" android:layout_weight="1.0" android:onClick="buttonSaveDatePickerOnclick" android:text="@string/save" /> </LinearLayout> </FrameLayout>
DataPickerFramgnet Class:
public class DatePickerFragment extends Fragment { private Button bSave, bCancel; public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); } @Override public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { View rootView = inflater.inflate(R.layout.date_picker_fragment_layout, container, false); return rootView; } }
UPDATE:
Manifast File:
<?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.emildesign.sgreportmanager" android:versionCode="1" android:versionName="1.0"> <uses-sdk android:minSdkVersion="13" android:targetSdkVersion="17" /> <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/> <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> <uses-permission android:name="android.permission.INTERNET" /> <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/> <uses-permission android:name="android.permission.READ_LOGS"/> <uses-permission android:name="android.permission.GET_TASKS"/> <application android:allowBackup="true" android:name="com.emildesign.sgreportmanager.SGRaportManagerAppObj" android:icon="@drawable/ic_launcher" android:label="@string/app_name" android:theme="@android:style/Theme.Black.NoTitleBar.Fullscreen"> <activity android:name="com.emildesign.sgreportmanager.activities.LoginScrActivity" android:screenOrientation="landscape"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> </intent-filter> </activity> <activity android:name="com.emildesign.sgreportmanager.activities.ReportsTableActivity" android:screenOrientation="landscape"> </activity> <activity android:name="com.emildesign.sgreportmanager.activities.ParametersActivity" android:screenOrientation="landscape"> </activity> <activity android:name="com.crittercism.NotificationActivity"/> </application>
I found where my problem is, I installed:
android:theme="@android:style/Theme.Black.NoTitleBar.Fullscreen"
to make my application fullscreen, and this applied the old data collector style, changing it to:
android:theme="@android:style/Theme.Holo.Light.NoActionBar.Fullscreen"
Creates the following DataPicker:

This is better than before, but this is not the result I am looking for.