Here's a piece of XML code that I'm working with, and I need to figure out how to set the max width for the linear layout to 600dp. Why is it that Android doesn't allow this kind of customization?
EDIT: The main question here is not about how to do it, but more so why isn't it allowed by the Android system? What could be the reasoning behind this decision?
<LinearLayout
android:id="@+id/details_type_info_layout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
¿¿¿android:max_width = "600dp"???
android:background="@color/light_grey"
android:orientation="vertical" >
<TextView
android:id="@+id/details_type_info_content"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="15dp"
android:text="@string/placeholder" />
<TextView
android:id="@+id/details_text_info_source"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="5dp"
android:gravity="center"
android:text="@string/details_source"
android:textAppearance="?android:attr/textAppearanceSmall"
android:textStyle="italic" />
</LinearLayout>