Dears i want to make my android application support different screens for
multiple devices and also different screen afters rotation for my tablet or
smart phone
i created as in all tutorials different sizes for images and put my images
in drawable-mdpi, drawable-mdpi,drawable-xhdpi,.....................
also i put in my manifest file this code
<supports-screens
android:anyDensity="true"
android:largeScreens="true"
android:normalScreens="true"
android:resizeable="true"
android:smallScreens="true"
android:xlargeScreens="true" />
and my activity file is like this one
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:paddingBottom="@dimen/activity_vertical_margin"
android:paddingLeft="@dimen/activity_horizontal_margin"
android:paddingRight="@dimen/activity_horizontal_margin"
android:paddingTop="@dimen/activity_vertical_margin"
tools:context="com.graphicano.peugeot.mycar3">
<ImageView
android:id="@+id/image"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:scaleType="center"
android:src="@drawable/image_10101" />
</RelativeLayout>
*but only images for small size of screen is shown while i am running this
application mainly for tablets and samsung smart phone.. so in tablet i
have to show larger image*
*any idea please coz i need it urgently and i dont know how to solve it*
--
You received this message because you are subscribed to the Google Groups
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit
https://groups.google.com/d/msgid/android-developers/9ca62959-8118-43dd-8b1f-dd3627777108%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.