Support All Screen Sizes
Support All Screen Sizes
And what about the android:anyDensity parameter? Here is the meaning: -If we put this value to true we are disabling the Android internal way to manage densities, and we are saying to the system that we manage the icons and their densities (so it's good to have the drawable folders and its density options enable, like I explained in the last section) -If we put false, we are enabling the Android internal way to manage densities. What is this? Android auto-scales the icons and elements given to adjust them to the screen density.
<TextView android:id="@+id/description" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_below="@id/name" android:layout_alignLeft="@id/name" android:singleLine="true" android:textAppearance="?android:attr/textAppearanceLarge" /> or android:textAppearance="?android:attr/textAppearanceSmall" android:textColor="?android:attr/textColorSecondary" />
> <com.android.launcher.NumberPicker android:id="@+id/widget_columns_span" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="1.0"/> <com.android.launcher.NumberPicker android:id="@+id/widget_rows_span" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="1.0" /> </LinearLayout>