You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
73 lines
3.5 KiB
73 lines
3.5 KiB
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
Copyright (C) 2013 The Android Open Source Project
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
-->
|
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
package="com.example.android.contactslist"
|
|
android:versionCode="1"
|
|
android:versionName="1.0" >
|
|
|
|
<uses-sdk
|
|
android:minSdkVersion="5"
|
|
android:targetSdkVersion="17" />
|
|
|
|
<uses-permission android:name="android.permission.READ_CONTACTS" />
|
|
|
|
<application
|
|
android:description="@string/app_description"
|
|
android:icon="@drawable/ic_launcher"
|
|
android:label="@string/app_name"
|
|
android:theme="@style/AppTheme"
|
|
android:allowBackup="true">
|
|
|
|
<!-- When the soft keyboard is showing the views of this activity should be resized in the
|
|
remaining space so that inline searching can take place without having to dismiss the
|
|
keyboard to see all the content. Therefore windowSoftInputMode is set to
|
|
adjustResize. -->
|
|
<activity
|
|
android:name=".ui.ContactsListActivity"
|
|
android:label="@string/activity_contacts_list"
|
|
android:windowSoftInputMode="adjustResize">
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.MAIN" />
|
|
<category android:name="android.intent.category.LAUNCHER" />
|
|
</intent-filter>
|
|
<!-- Add intent-filter for search intent action and specify searchable configuration
|
|
via meta-data tag. This allows this activity to receive search intents via the
|
|
system hooks. In this sample this is only used on older OS versions (pre-Honeycomb)
|
|
via the activity search dialog. See the Search API guide for more information:
|
|
http://developer.android.com/guide/topics/search/search-dialog.html -->
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.SEARCH" />
|
|
</intent-filter>
|
|
<meta-data android:name="android.app.searchable"
|
|
android:resource="@xml/searchable_contacts" />
|
|
</activity>
|
|
<activity
|
|
android:name=".ui.ContactDetailActivity"
|
|
android:label="@string/activity_contact_detail"
|
|
android:parentActivityName=".ui.ContactsListActivity">
|
|
<!-- Define hierarchical parent of this activity, both via the system
|
|
parentActivityName attribute (added in API Level 16) and via meta-data annotation.
|
|
This allows use of the support library NavUtils class in a way that works over
|
|
all Android versions. See the "Tasks and Back Stack" guide for more information:
|
|
http://developer.android.com/guide/components/tasks-and-back-stack.html
|
|
-->
|
|
<meta-data android:name="android.support.PARENT_ACTIVITY"
|
|
android:value=".ui.ContactsListActivity" />
|
|
</activity>
|
|
</application>
|
|
</manifest>
|