diff options
author | Sailesh Nepal <sail@google.com> | 2016-02-20 16:12:30 -0800 |
---|---|---|
committer | Sailesh Nepal <sail@google.com> | 2016-02-22 12:37:22 -0800 |
commit | 7c5959bfe138a20701ae57f67b0f9cc5813bebee (patch) | |
tree | 75cef035e88798b6f84c1b5aa2c1b71ddde3a779 /InCallUI | |
parent | fd70e58784fe49e321cd3a5e759da984667f5277 (diff) |
Add gradle build file for Dialer
This CL adds gradle build files for Dialer. Currently the build file
in the InCallUI code only builds resources. Eventually we'll want to
make that a standalone library project.
Things missing from this CL:
- support for src-N
- build target for dialer-library to be included by GoogleDialer
Bug: 26676586
Change-Id: Ie91cb720cf17fd8579b04a01287e140b39d0c42f
Diffstat (limited to 'InCallUI')
-rw-r--r-- | InCallUI/AndroidManifest.xml | 24 | ||||
-rw-r--r-- | InCallUI/build.gradle | 14 | ||||
-rw-r--r-- | InCallUI/res/values/colors.xml | 3 |
3 files changed, 41 insertions, 0 deletions
diff --git a/InCallUI/AndroidManifest.xml b/InCallUI/AndroidManifest.xml new file mode 100644 index 000000000..5c758edaa --- /dev/null +++ b/InCallUI/AndroidManifest.xml @@ -0,0 +1,24 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + ~ Copyright (C) 2016 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.android.incallui"> + <uses-sdk + android:minSdkVersion="23" + android:targetSdkVersion="23" /> +</manifest> + diff --git a/InCallUI/build.gradle b/InCallUI/build.gradle new file mode 100644 index 000000000..b55d46396 --- /dev/null +++ b/InCallUI/build.gradle @@ -0,0 +1,14 @@ +apply plugin: 'com.android.library' + +android { + sourceSets.main { + manifest.srcFile 'AndroidManifest.xml' + res.srcDirs = ['res'] + } +} + +dependencies { + compile 'com.android.support:support-v4:23.1.+' + compile project(':PhoneCommon') + compile project(':ContactsCommon') +} diff --git a/InCallUI/res/values/colors.xml b/InCallUI/res/values/colors.xml index 60a017c21..5e4eeeed6 100644 --- a/InCallUI/res/values/colors.xml +++ b/InCallUI/res/values/colors.xml @@ -119,4 +119,7 @@ <color name="person_contact_context_message_background_color">@color/incall_call_banner_subtext_color</color> <color name="person_contact_context_detail_text_color">@color/incall_call_banner_subtext_color</color> <color name="business_contact_context_text_color">@color/incall_call_banner_subtext_color</color> + + <!-- White background for dialer --> + <color name="background_dialer_white">#ffffff</color> </resources> |