Changes in some of the Android samples to support Google TV
Made changes in manifest files for 3 Android samples, namely ActionBarCompat, BackupRestore and CrossCompatibility for supporting Google TV devices. Changes related to making touchscreen support as optional and adding support for large screen devices was added. Change-Id: Ie49b6fe94d750304b249b154b4bd9dffc3f789ee
This commit is contained in:
@@ -20,6 +20,8 @@
|
||||
android:versionName="1.0">
|
||||
|
||||
<uses-sdk android:minSdkVersion="3" android:targetSdkVersion="14" />
|
||||
<uses-feature android:name="android.hardware.touchscreen" android:required="false"/>
|
||||
<supports-screens android:largeScreens="true"/>
|
||||
|
||||
<application android:label="@string/app_name"
|
||||
android:icon="@drawable/ic_launcher"
|
||||
|
||||
@@ -26,6 +26,7 @@
|
||||
|
||||
<!-- The backup/restore mechanism was introduced in API version 8 -->
|
||||
<uses-sdk android:minSdkVersion="8"/>
|
||||
<uses-feature android:name="android.hardware.touchscreen" android:required="false"/>
|
||||
|
||||
<application android:label="Backup/Restore"
|
||||
android:backupAgent="ExampleAgent">
|
||||
|
||||
@@ -3,6 +3,11 @@
|
||||
package="com.example.android.touchexample"
|
||||
android:versionCode="1"
|
||||
android:versionName="1.0">
|
||||
|
||||
<uses-sdk android:minSdkVersion="3" android:targetSdkVersion="8" />
|
||||
<uses-feature android:name="android.hardware.touchscreen" android:required="false"/>
|
||||
<supports-screens android:largeScreens="true"/>
|
||||
|
||||
<application android:icon="@drawable/icon" android:label="@string/app_name">
|
||||
<activity android:name=".TouchExampleActivity"
|
||||
android:label="@string/app_name">
|
||||
@@ -13,5 +18,5 @@
|
||||
</activity>
|
||||
|
||||
</application>
|
||||
<uses-sdk android:minSdkVersion="3" android:targetSdkVersion="8" />
|
||||
|
||||
</manifest>
|
||||
|
||||
Reference in New Issue
Block a user