-2

I have published an app in google play but i can't make it compatible with tablets. How can I fix this problem

here is my manifest file

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="packageName"
android:installLocation="auto"
android:versionCode="3"
android:versionName="0.1.3" >
<uses-sdk
 android:minSdkVersion="9"
 android:targetSdkVersion="17" />
<supports-screens
 android:anyDensity="true"
 android:largeScreens="true"
 android:normalScreens="true"
 android:smallScreens="true"
 android:xlargeScreens="true" />
<compatible-screens>
 <screen android:screenSize="large" android:screenDensity="480" />
 <screen android:screenSize="xlarge" android:screenDensity="480" />
 <!--all small size screens -->
 <screen android:screenSize="small" android:screenDensity="ldpi"/>
 <screen android:screenSize="small" android:screenDensity="mdpi"/>
 <screen android:screenSize="small" android:screenDensity="hdpi"/>
 <screen android:screenSize="small" android:screenDensity="xhdpi"/>
 <!--all normal size screens -->
 <screen android:screenSize="normal" android:screenDensity="ldpi"/>
 <screen android:screenSize="normal" android:screenDensity="mdpi"/>
 <screen android:screenSize="normal" android:screenDensity="hdpi"/>
 <screen android:screenSize="normal" android:screenDensity="xhdpi"/>
 <!-- all large size screens -->
 <screen android:screenSize="large" android:screenDensity="ldpi"/>
 <screen android:screenSize="large" android:screenDensity="mdpi"/>
 <screen android:screenSize="large" android:screenDensity="hdpi"/>
 <screen android:screenSize="large" android:screenDensity="xhdpi"/>
 <!-- all xlarge size screens --> 
 <screen android:screenSize="xlarge" android:screenDensity="ldpi"/>
 <screen android:screenSize="xlarge" android:screenDensity="mdpi"/>
 <screen android:screenSize="xlarge" android:screenDensity="hdpi"/>
 <screen android:screenSize="xlarge" android:screenDensity="xhdpi"/>
 <!-- Special case for Nexus 7 -->
 <screen android:screenSize="large" android:screenDensity="213" />
</compatible-screens>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.CALL_PHONE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/>
<application
 android:allowBackup="true"
 android:icon="@drawable/ic_launcher"
 android:label="@string/app_name"
 android:theme="@style/AppTheme" >
 <activity
 android:name="CompanyActivity"
 android:configChanges="orientation"
 android:label="@string/app_name"
 android:screenOrientation="sensorPortait"
 android:windowSoftInputMode="adjustPan" >
 <intent-filter>
 <action android:name="android.intent.action.MAIN" />
 <category android:name="android.intent.category.LAUNCHER" />
 </intent-filter>
 </activity>
 <activity
 android:name="LoginActivity"
 android:configChanges="orientation"
 android:screenOrientation="sensorPortait"
 android:windowSoftInputMode="adjustPan" >
 </activity>
</application>
asked Oct 22, 2013 at 16:20
7
  • does your app have any layouts for sw-600 and sw-720 folders? Commented Oct 22, 2013 at 16:22
  • yes my have layouts for large and xlarge screen Commented Oct 22, 2013 at 16:27
  • nope those layouts might be used by phones. like xperia Z uses xxlarge. Commented Oct 22, 2013 at 16:27
  • so i have to change my folders name layout-large to layout-sw600dp and layout-xlarge to layout-720dp Commented Oct 22, 2013 at 16:31
  • You need to add a significant amount of information to your question for it to be reasonably answerable. At a minimum, your manifest would be good to post. Commented Oct 22, 2013 at 17:36

1 Answer 1

1

layout-sw600dp

layout-sw600dp-land

layout-sw720dp

layout-sw720dp-land

create these folders and paste your layout files to check the problem

edit: now phones layout varies from small med large xlarge xxlarge. SO create new folders as my answer these folders are for devices having min width 600 and 720 which are typical size of tablets

answered Oct 22, 2013 at 16:29
Sign up to request clarification or add additional context in comments.

1 Comment

I'm not sure if this helps, but Did you add any screenshots for tablets in your app listing??

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.