diff options
Diffstat (limited to 'java/com/android/incallui/commontheme/res/values')
4 files changed, 120 insertions, 0 deletions
diff --git a/java/com/android/incallui/commontheme/res/values/colors.xml b/java/com/android/incallui/commontheme/res/values/colors.xml new file mode 100644 index 000000000..d38e34716 --- /dev/null +++ b/java/com/android/incallui/commontheme/res/values/colors.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="utf-8"?> +<resources> + <!-- 50% black background drawn over the video to make it easier to see text and buttons. --> + <color name="videocall_overlay_background_color">#7E000000</color> +</resources>
\ No newline at end of file diff --git a/java/com/android/incallui/commontheme/res/values/dimens.xml b/java/com/android/incallui/commontheme/res/values/dimens.xml new file mode 100644 index 000000000..649ba2cde --- /dev/null +++ b/java/com/android/incallui/commontheme/res/values/dimens.xml @@ -0,0 +1,22 @@ +<?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 + --> + +<resources> + <dimen name="incall_end_call_button_size">48dp</dimen> + <dimen name="incall_call_button_elevation">8dp</dimen> + <drawable name="incall_end_call_icon">@drawable/quantum_ic_call_end_white_24</drawable> +</resources> diff --git a/java/com/android/incallui/commontheme/res/values/strings.xml b/java/com/android/incallui/commontheme/res/values/strings.xml new file mode 100644 index 000000000..6f346a34d --- /dev/null +++ b/java/com/android/incallui/commontheme/res/values/strings.xml @@ -0,0 +1,35 @@ +<?xml version="1.0" encoding="utf-8"?> +<resources> + + <string name="incall_content_description_end_call">End call</string> + + <string name="incall_content_description_muted">Muted</string> + + <string name="incall_content_description_unmuted">Unmuted</string> + + <string name="incall_content_description_swap_calls">Swap calls</string> + + <string name="incall_content_description_merge_calls">Merge calls</string> + + <string name="incall_content_description_earpiece">Handset earpiece</string> + + <string name="incall_content_description_speaker">Speaker</string> + + <string name="incall_content_description_bluetooth">Bluetooth</string> + + <string name="incall_content_description_headset">Wired headset</string> + + <!-- Text for the onscreen "Hold" button when it is not selected. Pressing it will put + the call on hold. --> + <string name="incall_content_description_hold">Hold call</string> + <!-- Text for the onscreen "Hold" button when it is selected. Pressing it will resume + the call from a previously held state. --> + <string name="incall_content_description_unhold">Resume call</string> + + <string name="incall_content_description_video_on">Video on</string> + + <string name="incall_content_description_video_off">Video off</string> + + <string name="incall_content_description_swap_video">Swap video</string> + +</resources> diff --git a/java/com/android/incallui/commontheme/res/values/styles.xml b/java/com/android/incallui/commontheme/res/values/styles.xml new file mode 100644 index 000000000..311f9cf4b --- /dev/null +++ b/java/com/android/incallui/commontheme/res/values/styles.xml @@ -0,0 +1,58 @@ +<?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 + --> + +<resources> + + <style name="Dialer.Incall.TextAppearance.Large"> + <item name="android:textColor">?android:textColorPrimary</item> + <item name="android:textSize">36sp</item> + <item name="android:fontFamily">sans-serif-light</item> + </style> + + <style name="Dialer.Incall.TextAppearance.Label"> + <item name="android:textColor">?android:textColorPrimary</item> + <item name="android:textSize">12sp</item> + </style> + + <style name="Dialer.Incall.TextAppearance" parent="android:TextAppearance.Material"> + <item name="android:textColor">?android:textColorSecondary</item> + <item name="android:textSize">18sp</item> + </style> + + <style name="Incall.Button.End" parent="android:Widget.Material.Button"> + <item name="android:background">@drawable/incall_end_call_background</item> + <item name="android:elevation">8dp</item> + <item name="android:layout_height">@dimen/incall_end_call_button_size</item> + <item name="android:layout_width">@dimen/incall_end_call_button_size</item> + <item name="android:padding">8dp</item> + <item name="android:src">@drawable/incall_end_call_icon</item> + <item name="android:stateListAnimator">@animator/disabled_alpha</item> + </style> + + <style name="Answer.Button" parent="android:Widget.Material.Button"> + <item name="android:stateListAnimator">@animator/button_state</item> + </style> + + <style name="Answer.Button.Answer"> + <item name="android:background">@drawable/answer_answer_background</item> + </style> + + <style name="Answer.Button.Decline"> + <item name="android:background">@drawable/answer_decline_background</item> + </style> + +</resources> |