Skip to content

Commit 742ad45

Browse files
committed
Catalog Icon Update for Dialog
PiperOrigin-RevId: 224160602
1 parent d206a5c commit 742ad45

File tree

2 files changed

+59
-1
lines changed

2 files changed

+59
-1
lines changed
Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
<!--
2+
Copyright 2018 The Android Open Source Project
3+
4+
Licensed under the Apache License, Version 2.0 (the "License");
5+
you may not use this file except in compliance with the License.
6+
You may obtain a copy of the License at
7+
8+
https://www.apache.org/licenses/LICENSE-2.0
9+
10+
Unless required by applicable law or agreed to in writing, software
11+
distributed under the License is distributed on an "AS IS" BASIS,
12+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
See the License for the specific language governing permissions and
14+
limitations under the License.
15+
-->
16+
<vector
17+
xmlns:android="http://schemas.android.com/apk/res/android"
18+
android:name="vector"
19+
android:width="320dp"
20+
android:height="320dp"
21+
android:viewportHeight="320"
22+
android:viewportWidth="320">
23+
<group android:name="group_1">
24+
<group android:name="group">
25+
<path
26+
android:name="path_1"
27+
android:fillColor="#000"
28+
android:pathData="M 34 79 L 286 79 L 286 241 L 34 241 Z"
29+
android:strokeColor="#000000"
30+
android:strokeWidth="1"/>
31+
</group>
32+
<path
33+
android:name="path"
34+
android:fillColor="#ffffff"
35+
android:pathData="M 34.5 79.5 L 285.5 79.5 L 285.5 240.5 L 34.5 240.5 Z"
36+
android:strokeColor="#000000"
37+
android:strokeWidth="1"/>
38+
<path
39+
android:name="path_2"
40+
android:fillColor="#000000"
41+
android:pathData="M 202 197 L 268 197 C 268.53 197 269.039 197.211 269.414 197.586 C 269.789 197.961 270 198.47 270 199 L 270 223 C 270 223.53 269.789 224.039 269.414 224.414 C 269.039 224.789 268.53 225 268 225 L 202 225 C 201.47 225 200.961 224.789 200.586 224.414 C 200.211 224.039 200 223.53 200 223 L 200 199 C 200 198.47 200.211 197.961 200.586 197.586 C 200.961 197.211 201.47 197 202 197"
42+
android:strokeColor="#000000"
43+
android:strokeWidth="1"/>
44+
<path
45+
android:name="path_3"
46+
android:fillColor="#000000"
47+
android:pathData="M 118 197 L 184 197 C 184.53 197 185.039 197.211 185.414 197.586 C 185.789 197.961 186 198.47 186 199 L 186 223 C 186 223.53 185.789 224.039 185.414 224.414 C 185.039 224.789 184.53 225 184 225 L 118 225 C 117.47 225 116.961 224.789 116.586 224.414 C 116.211 224.039 116 223.53 116 223 L 116 199 C 116 198.47 116.211 197.961 116.586 197.586 C 116.961 197.211 117.47 197 118 197"
48+
android:strokeColor="#000000"
49+
android:strokeWidth="1"/>
50+
<path
51+
android:name="path_4"
52+
android:fillColor="#000000"
53+
android:pathData="M 50 95 L 199 95 L 199 118 L 50 118 Z M 50 126 L 235 126 L 235 138 L 50 138 Z M 50 144 L 235 144 L 235 156 L 50 156 Z"
54+
android:strokeColor="#000000"
55+
android:strokeWidth="1"/>
56+
</group>
57+
</vector>
58+

catalog/java/io/material/catalog/dialog/DialogDemoLandingFragment.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ public abstract static class Module {
6262
@Provides
6363
@ActivityScope
6464
static FeatureDemo provideFeatureDemo() {
65-
return new FeatureDemo(R.string.cat_dialog_title, R.drawable.ic_dialogs_24px) {
65+
return new FeatureDemo(R.string.cat_dialog_title, R.drawable.ic_dialog) {
6666
@Override
6767
public Fragment createFragment() {
6868
return new DialogDemoLandingFragment();

0 commit comments

Comments
 (0)