diff options
author | Xavier Ducrohet <xav@android.com> | 2012-06-01 18:28:08 -0700 |
---|---|---|
committer | Xavier Ducrohet <xav@android.com> | 2012-06-05 14:41:24 -0700 |
commit | 665f681e4881a7472f8ebcb7c4fb9a6771aada29 (patch) | |
tree | 74e5b5a85b6d6ee61e53d9e596b0d07db0c3902b /testapps/aidlTest/libWithAidl/res | |
parent | ea3f581acc01a02550df1137b3adcd8ea5755852 (diff) | |
download | sdk-665f681e4881a7472f8ebcb7c4fb9a6771aada29.zip sdk-665f681e4881a7472f8ebcb7c4fb9a6771aada29.tar.gz sdk-665f681e4881a7472f8ebcb7c4fb9a6771aada29.tar.bz2 |
Projects can now access aidl files from their libraries.
Library projects now copy their aidl files into bin/aidl.
Aidl is now called with this import path for all referenced
library projects.
Also added a test project.
Change-Id: I7f94489e87450be67a16ed7198f85b8b472f5025
Diffstat (limited to 'testapps/aidlTest/libWithAidl/res')
-rw-r--r-- | testapps/aidlTest/libWithAidl/res/layout/main.xml | 25 | ||||
-rw-r--r-- | testapps/aidlTest/libWithAidl/res/values/strings.xml | 4 |
2 files changed, 29 insertions, 0 deletions
diff --git a/testapps/aidlTest/libWithAidl/res/layout/main.xml b/testapps/aidlTest/libWithAidl/res/layout/main.xml new file mode 100644 index 0000000..d11d11a --- /dev/null +++ b/testapps/aidlTest/libWithAidl/res/layout/main.xml @@ -0,0 +1,25 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + Copyright (C) 2007 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. +--> + +<!-- Demonstrates defining custom views in a layout file. --> + +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:app="http://schemas.android.com/apk/res-auto" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:orientation="vertical" > +</LinearLayout>
\ No newline at end of file diff --git a/testapps/aidlTest/libWithAidl/res/values/strings.xml b/testapps/aidlTest/libWithAidl/res/values/strings.xml new file mode 100644 index 0000000..3fa203a --- /dev/null +++ b/testapps/aidlTest/libWithAidl/res/values/strings.xml @@ -0,0 +1,4 @@ +<?xml version="1.0" encoding="utf-8"?> +<resources> + <string name="app_name">MyActivity</string> +</resources> |