diff options
author | Mounika Nekkalapudi <snekkalapudi@google.com> | 2022-10-12 20:40:18 +0000 |
---|---|---|
committer | Mounika Nekkalapudi <snekkalapudi@google.com> | 2022-11-01 04:30:44 +0000 |
commit | de2228af22fce15febea8203b37d202fc44643c1 (patch) | |
tree | c671461fbdf5c17718999ad7210cc9b8fe3a37ff /res/drawable | |
parent | 2e5b7e5985e909e7cdf84ad877b69dae9a73ad89 (diff) | |
download | Launcher-de2228af22fce15febea8203b37d202fc44643c1.tar.gz |
Customize control bar image foreground and background
- CardFragment layout is used to display card that holds
background image, text and controls.Currently image in the card has a
default background. In Car UI portrait, the background of the image
needs to square when displaying media and circular in call fragment.
- Setting backgrounds in MediaModel and IncallModel. These backgrounds
are overriden through RRO's in car_ui_portrait
Test: manual
Bug: 206690100
Change-Id: Id54f814ad35e0587be3fdba3df8e39359fa08d04
Diffstat (limited to 'res/drawable')
-rw-r--r-- | res/drawable/control_bar_contact_image_background.xml | 21 | ||||
-rw-r--r-- | res/drawable/control_bar_image_background.xml | 21 |
2 files changed, 42 insertions, 0 deletions
diff --git a/res/drawable/control_bar_contact_image_background.xml b/res/drawable/control_bar_contact_image_background.xml new file mode 100644 index 00000000..af879786 --- /dev/null +++ b/res/drawable/control_bar_contact_image_background.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="utf-8" ?> +<!-- + ~ Copyright (C) 2022 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. + --> + +<shape + xmlns:android="http://schemas.android.com/apk/res/android" + android:shape="rectangle"> +</shape>
\ No newline at end of file diff --git a/res/drawable/control_bar_image_background.xml b/res/drawable/control_bar_image_background.xml new file mode 100644 index 00000000..af879786 --- /dev/null +++ b/res/drawable/control_bar_image_background.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="utf-8" ?> +<!-- + ~ Copyright (C) 2022 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. + --> + +<shape + xmlns:android="http://schemas.android.com/apk/res/android" + android:shape="rectangle"> +</shape>
\ No newline at end of file |