in main layout i would like to use something like
<PreferenceCategory
android:summary="@string/menu_language_settings"
android:title="@string/menu_language_settings" >
but here i only have
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical"
android:paddingTop="50dp" >
how can i use Categories in main layout? Is this even possible in main layout?
Yes you can use categories in Main layout xml like the following sample xml code:-
otherwise create one xml folder in res and create new xml for catogeries