Im Recherche du meilleur itinéraire pour corriger mes mises en page pour la taille d'écran multiple sur Android. J'ai une excellente application qui est presque prête pour le lancement .. Cependant un de mes partenaires l'a essayé sur une tablette Samsung et les icônes et certaines fonctionnalités sont trop petitesPrise en charge de plusieurs écrans dans android
Alors ce que je pensais faire je change la résolution à l'écran taille ou existe-t-il une méthode plus simple?
Voici mon code de disposition Any Suggestion will help?
<?xml version="1.0" encoding="utf-8"?>
<merge xmlns:tools="http://schemas.android.com/tools"
xmlns:pj="http://schemas.android.com/apk/res/com.example.waysecure"
xmlns:bm="com.example.waysecure"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical" xmlns:android="http://schemas.android.com/apk/res/android">
<Button
android:id="@+id/button_pannic"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/pannic"
android:visibility="visible" />
<RelativeLayout
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_gravity="bottom"
android:layout_marginTop="50dp" >
<WebView
android:id="@+id/webView1"
android:layout_width="match_parent"
android:layout_height="match_parent" />
<FrameLayout
android:id="@+id/Fofo"
android:layout_width="match_parent"
android:layout_height="match_parent" >
</FrameLayout>
</RelativeLayout>
<SlidingDrawer
android:id="@+id/sg_below"
android:layout_width="match_parent"
android:layout_height="275dp"
android:layout_gravity="bottom"
android:layout_marginTop="200dp"
android:content="@+id/content"
android:handle="@+id/handle" >
<Button android:layout_width="match_parent" android:layout_height="60dp" android:id="@+id/handle" android:background="@drawable/tray_handle_normal" />
<RelativeLayout
android:id="@+id/content2"
android:layout_width="wrap_content"
android:layout_height="282dp"
android:background="#aa000000" >
</RelativeLayout><TabHost android:id="@+id/content" android:layout_width="match_parent" android:layout_height="match_parent">
<FrameLayout
android:id="@android:id/tabcontent"
android:layout_width="match_parent"
android:layout_height="fill_parent"
android:layout_gravity="bottom"
android:background="#aa000000" >
<LinearLayout android:id="@+id/tab1" android:layout_width="match_parent" android:layout_height="match_parent">
</LinearLayout>
<GridView
android:id="@+id/tab2"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_gravity="bottom"
android:columnWidth="90dp"
android:gravity="center"
android:horizontalSpacing="1dp"
android:numColumns="auto_fit"
android:stretchMode="columnWidth"
android:verticalSpacing="1dp" >
</GridView> <LinearLayout android:id="@+id/tab3" android:layout_width="match_parent" android:layout_height="match_parent">
<com.carouseldemo.controls.Carousel android:id="@+id/carousel2" android:layout_width="match_parent" android:layout_height="match_parent" android:animationDuration="200" pj:Items="@array/entries" pj:Names="@array/names" pj:SelectedItem="0" pj:UseReflection="true">
</com.carouseldemo.controls.Carousel>
</LinearLayout>
</FrameLayout>
<TabWidget
android:id="@android:id/tabs"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_gravity="top" >
</TabWidget>
</TabHost>
</SlidingDrawer>
</merge>
@Jhono James Placer les images appropriées dans tous les dossiers drawable selon les tailles. –