diff options
| author | 2023-05-22 21:01:06 +0000 | |
|---|---|---|
| committer | 2023-05-24 14:55:50 +0000 | |
| commit | ef59bb80955fe53c24da4d6d40331e1d463c3f36 (patch) | |
| tree | 6bbb98f48c39c26ce1a25c8717e4c95806c26e04 /java/res/drawable | |
| parent | 4d81a24902db8cf6e3f8bdb22333441d62be28fb (diff) | |
Move copy and edit actions into preview space.
Omitting edit action from landscape phones for now.
Bug: 283245199
Test: Manual test with ShareTest with varying combinations of text
length, title, icon, image shares.
Test: atest IntentResolverUnitTests
Change-Id: Iea40bd95db5665fb59684bf317bcac5e33b080bb
Diffstat (limited to 'java/res/drawable')
| -rw-r--r-- | java/res/drawable/edit_action_background.xml | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/java/res/drawable/edit_action_background.xml b/java/res/drawable/edit_action_background.xml new file mode 100644 index 00000000..91726f49 --- /dev/null +++ b/java/res/drawable/edit_action_background.xml @@ -0,0 +1,29 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + ~ Copyright (C) 2019 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 + --> +<ripple xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:androidprv="http://schemas.android.com/apk/prv/res/android" + android:color="?android:attr/colorControlHighlight" + > + <item> + <inset android:inset="8dp"> + <shape android:shape="rectangle"> + <corners android:radius="12dp" /> + <solid android:color="?androidprv:attr/materialColorSecondaryFixed"/> + </shape> + </inset> + </item> +</ripple> |