1e41f4b71Sopenharmony_ci# Symbol Glyph (SymbolGlyph/SymbolSpan)
2e41f4b71Sopenharmony_ci
3e41f4b71Sopenharmony_ci**SymbolGlyph** is a component designed for icon glyphs, making it easy to use sophisticated icons, including multi-colored icons. For details, see [SymbolGlyph](../reference/apis-arkui/arkui-ts/ts-basic-components-symbolGlyph.md).
4e41f4b71Sopenharmony_ci
5e41f4b71Sopenharmony_ci
6e41f4b71Sopenharmony_ci## Creating a Symbol Glyph
7e41f4b71Sopenharmony_ci
8e41f4b71Sopenharmony_ciCreate a symbol glyph by referencing a **Resource** asset, which is instantiated as a **Resource** object using the **$r** notation.
9e41f4b71Sopenharmony_ci
10e41f4b71Sopenharmony_ci  ```ts
11e41f4b71Sopenharmony_ci  SymbolGlyph($r('sys.symbol.ohos_folder_badge_plus'))
12e41f4b71Sopenharmony_ci      .fontSize(96)
13e41f4b71Sopenharmony_ci      .renderingStrategy(SymbolRenderingStrategy.SINGLE)
14e41f4b71Sopenharmony_ci      .fontColor([Color.Black, Color.Green, Color.White])
15e41f4b71Sopenharmony_ci  ```
16e41f4b71Sopenharmony_ci  ![symbol_folder_badge_plus](figures/symbol_ohos_folder_badge_plus.png)
17e41f4b71Sopenharmony_ci
18e41f4b71Sopenharmony_ci
19e41f4b71Sopenharmony_ci## Adding to Text
20e41f4b71Sopenharmony_ci
21e41f4b71Sopenharmony_ciYou can display icon glyphs by using [SymbolSpan](../reference/apis-arkui/arkui-ts/ts-basic-components-symbolSpan.md) as a child component within the [Text](../reference/apis-arkui/arkui-ts/ts-basic-components-text.md) component. You can add multiple **SymbolSpan** component into a **Text** component to show a sequence of icon glyphs.
22e41f4b71Sopenharmony_ci
23e41f4b71Sopenharmony_ci- Create a **SymbolSpan** component.
24e41f4b71Sopenharmony_ci
25e41f4b71Sopenharmony_ci  Place the **SymbolSpan** component within a **Text** component. It will not display if used alone.
26e41f4b71Sopenharmony_ci
27e41f4b71Sopenharmony_ci
28e41f4b71Sopenharmony_ci  ```ts
29e41f4b71Sopenharmony_ci  Text() {
30e41f4b71Sopenharmony_ci    SymbolSpan($r('sys.symbol.ohos_trash'))
31e41f4b71Sopenharmony_ci      .fontWeight(FontWeight.Normal)
32e41f4b71Sopenharmony_ci      .fontSize(96)
33e41f4b71Sopenharmony_ci  }
34e41f4b71Sopenharmony_ci  ```
35e41f4b71Sopenharmony_ci  ![symbol_trash](figures/symbolspan_trash.png)
36e41f4b71Sopenharmony_ci
37e41f4b71Sopenharmony_ci
38e41f4b71Sopenharmony_ci- Set the size of the **SymbolSpan** component using the **fontSize** attribute.
39e41f4b71Sopenharmony_ci
40e41f4b71Sopenharmony_ci
41e41f4b71Sopenharmony_ci  ```ts
42e41f4b71Sopenharmony_ci  Row() {
43e41f4b71Sopenharmony_ci    Column() {
44e41f4b71Sopenharmony_ci      Text("48")
45e41f4b71Sopenharmony_ci      Text() {
46e41f4b71Sopenharmony_ci        SymbolSpan($r('sys.symbol.ohos_folder_badge_plus'))
47e41f4b71Sopenharmony_ci          .fontSize(48)
48e41f4b71Sopenharmony_ci          .renderingStrategy(SymbolRenderingStrategy.SINGLE)
49e41f4b71Sopenharmony_ci          .fontColor([Color.Black, Color.Green, Color.White])
50e41f4b71Sopenharmony_ci      }
51e41f4b71Sopenharmony_ci    }
52e41f4b71Sopenharmony_ci
53e41f4b71Sopenharmony_ci    Column() {
54e41f4b71Sopenharmony_ci      Text("72")
55e41f4b71Sopenharmony_ci      Text() {
56e41f4b71Sopenharmony_ci        SymbolSpan($r('sys.symbol.ohos_folder_badge_plus'))
57e41f4b71Sopenharmony_ci          .fontSize(72)
58e41f4b71Sopenharmony_ci          .renderingStrategy(SymbolRenderingStrategy.SINGLE)
59e41f4b71Sopenharmony_ci          .fontColor([Color.Black, Color.Green, Color.White])
60e41f4b71Sopenharmony_ci      }
61e41f4b71Sopenharmony_ci    }
62e41f4b71Sopenharmony_ci
63e41f4b71Sopenharmony_ci    Column() {
64e41f4b71Sopenharmony_ci      Text("96")
65e41f4b71Sopenharmony_ci      Text() {
66e41f4b71Sopenharmony_ci        SymbolSpan($r('sys.symbol.ohos_folder_badge_plus'))
67e41f4b71Sopenharmony_ci          .fontSize(96)
68e41f4b71Sopenharmony_ci          .renderingStrategy(SymbolRenderingStrategy.SINGLE)
69e41f4b71Sopenharmony_ci          .fontColor([Color.Black, Color.Green, Color.White])
70e41f4b71Sopenharmony_ci      }
71e41f4b71Sopenharmony_ci    }
72e41f4b71Sopenharmony_ci  }
73e41f4b71Sopenharmony_ci  ```
74e41f4b71Sopenharmony_ci  ![symbolSpan_multi_fontSize](figures/symbolspan_multi_fontsize.png)
75e41f4b71Sopenharmony_ci
76e41f4b71Sopenharmony_ci- Set the boldness of the **SymbolSpan** component using the **fontWeight** attribute.
77e41f4b71Sopenharmony_ci
78e41f4b71Sopenharmony_ci  ```ts
79e41f4b71Sopenharmony_ci  Row() {
80e41f4b71Sopenharmony_ci    Column() {
81e41f4b71Sopenharmony_ci      Text("Light")
82e41f4b71Sopenharmony_ci      Text() {
83e41f4b71Sopenharmony_ci        SymbolSpan($r('sys.symbol.ohos_trash'))
84e41f4b71Sopenharmony_ci        .fontWeight(FontWeight.Lighter)
85e41f4b71Sopenharmony_ci        .fontSize(96)
86e41f4b71Sopenharmony_ci      }
87e41f4b71Sopenharmony_ci    }
88e41f4b71Sopenharmony_ci
89e41f4b71Sopenharmony_ci    Column() {
90e41f4b71Sopenharmony_ci      Text("Normal")
91e41f4b71Sopenharmony_ci      Text() {
92e41f4b71Sopenharmony_ci        SymbolSpan($r('sys.symbol.ohos_trash'))
93e41f4b71Sopenharmony_ci          .fontWeight(FontWeight.Normal)
94e41f4b71Sopenharmony_ci          .fontSize(96)
95e41f4b71Sopenharmony_ci      }
96e41f4b71Sopenharmony_ci    }
97e41f4b71Sopenharmony_ci
98e41f4b71Sopenharmony_ci    Column() {
99e41f4b71Sopenharmony_ci      Text("Bold")
100e41f4b71Sopenharmony_ci      Text() {
101e41f4b71Sopenharmony_ci        SymbolSpan($r('sys.symbol.ohos_trash'))
102e41f4b71Sopenharmony_ci          .fontWeight(FontWeight.Bold)
103e41f4b71Sopenharmony_ci          .fontSize(96)
104e41f4b71Sopenharmony_ci      }
105e41f4b71Sopenharmony_ci    }
106e41f4b71Sopenharmony_ci  }
107e41f4b71Sopenharmony_ci  ```
108e41f4b71Sopenharmony_ci  ![symbolSpan_multi_fontWeight_trash](figures/symbol_multi_fontweight_trash.png)
109e41f4b71Sopenharmony_ci
110e41f4b71Sopenharmony_ci- Set the color of the **SymbolSpan** component using the **fontColor** attribute.
111e41f4b71Sopenharmony_ci
112e41f4b71Sopenharmony_ci  ```ts
113e41f4b71Sopenharmony_ci  Row() {
114e41f4b71Sopenharmony_ci    Column() {
115e41f4b71Sopenharmony_ci      Text("Black")
116e41f4b71Sopenharmony_ci      Text() {
117e41f4b71Sopenharmony_ci          SymbolSpan($r('sys.symbol.ohos_folder_badge_plus'))
118e41f4b71Sopenharmony_ci            .fontSize(96)
119e41f4b71Sopenharmony_ci            .fontColor([Color.Black])
120e41f4b71Sopenharmony_ci      }
121e41f4b71Sopenharmony_ci    }
122e41f4b71Sopenharmony_ci
123e41f4b71Sopenharmony_ci    Column() {
124e41f4b71Sopenharmony_ci      Text("Green")
125e41f4b71Sopenharmony_ci      Text() {
126e41f4b71Sopenharmony_ci        SymbolSpan($r('sys.symbol.ohos_folder_badge_plus'))
127e41f4b71Sopenharmony_ci          .fontSize(96)
128e41f4b71Sopenharmony_ci          .fontColor([Color.Green])
129e41f4b71Sopenharmony_ci      }
130e41f4b71Sopenharmony_ci    }
131e41f4b71Sopenharmony_ci
132e41f4b71Sopenharmony_ci    Column() {
133e41f4b71Sopenharmony_ci      Text("Pink")
134e41f4b71Sopenharmony_ci      Text() {
135e41f4b71Sopenharmony_ci        SymbolSpan($r('sys.symbol.ohos_folder_badge_plus'))
136e41f4b71Sopenharmony_ci          .fontSize(96)
137e41f4b71Sopenharmony_ci          .fontColor([Color.Pink])
138e41f4b71Sopenharmony_ci      }
139e41f4b71Sopenharmony_ci    }
140e41f4b71Sopenharmony_ci  }
141e41f4b71Sopenharmony_ci  ```
142e41f4b71Sopenharmony_ci  ![symbolSpan_multi_fontColor](figures/symbolspan_multi_fontcolor.PNG)
143e41f4b71Sopenharmony_ci
144e41f4b71Sopenharmony_ci- Set the rendering strategy of the **SymbolSpan** component using the **renderingStrategy** attribute.
145e41f4b71Sopenharmony_ci
146e41f4b71Sopenharmony_ci  ```ts
147e41f4b71Sopenharmony_ci  Row() {
148e41f4b71Sopenharmony_ci    Column() {
149e41f4b71Sopenharmony_ci      Text("Single-color mode")
150e41f4b71Sopenharmony_ci      Text() {
151e41f4b71Sopenharmony_ci        SymbolSpan($r('sys.symbol.ohos_folder_badge_plus'))
152e41f4b71Sopenharmony_ci          .fontSize(96)
153e41f4b71Sopenharmony_ci          .renderingStrategy(SymbolRenderingStrategy.SINGLE)
154e41f4b71Sopenharmony_ci          .fontColor([Color.Black, Color.Green, Color.White])
155e41f4b71Sopenharmony_ci      }
156e41f4b71Sopenharmony_ci    }
157e41f4b71Sopenharmony_ci
158e41f4b71Sopenharmony_ci    Column() {
159e41f4b71Sopenharmony_ci      Text("Multi-color mode")
160e41f4b71Sopenharmony_ci      Text() {
161e41f4b71Sopenharmony_ci        SymbolSpan($r('sys.symbol.ohos_folder_badge_plus'))
162e41f4b71Sopenharmony_ci          .fontSize(96)
163e41f4b71Sopenharmony_ci          .renderingStrategy(SymbolRenderingStrategy.MULTIPLE_COLOR)
164e41f4b71Sopenharmony_ci          .fontColor([Color.Black, Color.Green, Color.White])
165e41f4b71Sopenharmony_ci      }
166e41f4b71Sopenharmony_ci    }
167e41f4b71Sopenharmony_ci
168e41f4b71Sopenharmony_ci    Column() {
169e41f4b71Sopenharmony_ci      Text ("Layered mode")
170e41f4b71Sopenharmony_ci      Text() {
171e41f4b71Sopenharmony_ci        SymbolSpan($r('sys.symbol.ohos_folder_badge_plus'))
172e41f4b71Sopenharmony_ci          .fontSize(96)
173e41f4b71Sopenharmony_ci          .renderingStrategy(SymbolRenderingStrategy.MULTIPLE_OPACITY)
174e41f4b71Sopenharmony_ci          .fontColor([Color.Black, Color.Green, Color.White])
175e41f4b71Sopenharmony_ci      }
176e41f4b71Sopenharmony_ci    }
177e41f4b71Sopenharmony_ci  }
178e41f4b71Sopenharmony_ci  ```
179e41f4b71Sopenharmony_ci  ![symbolSpan_multi_renderingStrategy](figures/symbolspan_multi_renderingStrategy.png)
180e41f4b71Sopenharmony_ci
181e41f4b71Sopenharmony_ci- Set the effect strategy of the **SymbolSpan** component using the **effectStrategy** attribute.
182e41f4b71Sopenharmony_ci
183e41f4b71Sopenharmony_ci  ```ts
184e41f4b71Sopenharmony_ci  Row() {
185e41f4b71Sopenharmony_ci    Column() {
186e41f4b71Sopenharmony_ci      Text("No effect")
187e41f4b71Sopenharmony_ci      Text() {
188e41f4b71Sopenharmony_ci        SymbolSpan($r('sys.symbol.ohos_wifi'))
189e41f4b71Sopenharmony_ci          .fontSize(96)
190e41f4b71Sopenharmony_ci          .effectStrategy(SymbolEffectStrategy.NONE)
191e41f4b71Sopenharmony_ci      }
192e41f4b71Sopenharmony_ci    }
193e41f4b71Sopenharmony_ci
194e41f4b71Sopenharmony_ci    Column() {
195e41f4b71Sopenharmony_ci      Text("Overall scale effect")
196e41f4b71Sopenharmony_ci      Text() {
197e41f4b71Sopenharmony_ci        SymbolSpan($r('sys.symbol.ohos_wifi'))
198e41f4b71Sopenharmony_ci          .fontSize(96)
199e41f4b71Sopenharmony_ci          .effectStrategy(SymbolEffectStrategy.SCALE)
200e41f4b71Sopenharmony_ci      }
201e41f4b71Sopenharmony_ci    }
202e41f4b71Sopenharmony_ci
203e41f4b71Sopenharmony_ci    Column() {
204e41f4b71Sopenharmony_ci      Text("Hierarchical effect")
205e41f4b71Sopenharmony_ci      Text() {
206e41f4b71Sopenharmony_ci        SymbolSpan($r('sys.symbol.ohos_wifi'))
207e41f4b71Sopenharmony_ci          .fontSize(96)
208e41f4b71Sopenharmony_ci          .effectStrategy(SymbolEffectStrategy.HIERARCHICAL)
209e41f4b71Sopenharmony_ci      }
210e41f4b71Sopenharmony_ci    }
211e41f4b71Sopenharmony_ci  }
212e41f4b71Sopenharmony_ci  ```
213e41f4b71Sopenharmony_ci  ![symbolSpan_multi_effectStrategy](figures/symbolspan_multi_effectStrategy.gif)
214e41f4b71Sopenharmony_ci
215e41f4b71Sopenharmony_ci- **SymbolSpan** does not support universal events.
216e41f4b71Sopenharmony_ci
217e41f4b71Sopenharmony_ci## Customizing Symbol Glyph Animations
218e41f4b71Sopenharmony_ci
219e41f4b71Sopenharmony_ciIn addition to using the **effectStrategy** attribute, which triggers an animation once it is activated, you can control the animation playback and choose from a variety of effect strategies using the following two methods.
220e41f4b71Sopenharmony_ci
221e41f4b71Sopenharmony_ciFor details about how **effectStrategy** works with **symbolEffect**, see [SymbolGlyph.symbolEffect](../reference/apis-arkui/arkui-ts/ts-basic-components-symbolGlyph.md#symboleffect12-1).
222e41f4b71Sopenharmony_ci
223e41f4b71Sopenharmony_ci- Use the **symbolEffect** attribute to set both the effect strategy and playback state of **SymbolGlyph**.
224e41f4b71Sopenharmony_ci
225e41f4b71Sopenharmony_ci  ```ts
226e41f4b71Sopenharmony_ci  @State isActive: boolean = true;
227e41f4b71Sopenharmony_ci  Column() {
228e41f4b71Sopenharmony_ci    Text("Variable Color Effect")
229e41f4b71Sopenharmony_ci    SymbolGlyph($r('sys.symbol.ohos_wifi'))
230e41f4b71Sopenharmony_ci      .fontSize(96)
231e41f4b71Sopenharmony_ci      .symbolEffect(new HierarchicalSymbolEffect(EffectFillStyle.ITERATIVE), this.isActive)
232e41f4b71Sopenharmony_ci    Button(this.isActive ? 'Off' : 'Play').onClick(() => {
233e41f4b71Sopenharmony_ci      this.isActive = !this.isActive;
234e41f4b71Sopenharmony_ci    })
235e41f4b71Sopenharmony_ci  }
236e41f4b71Sopenharmony_ci  ```
237e41f4b71Sopenharmony_ci  ![symbolGlyph_symbolEffect_isActive](figures/symbolGlyph_symbolEffect_isActive.gif)
238e41f4b71Sopenharmony_ci
239e41f4b71Sopenharmony_ci- Use the **symbolEffect** attribute to set both the effect strategy and the trigger for playback of **SymbolGlyph**.
240e41f4b71Sopenharmony_ci
241e41f4b71Sopenharmony_ci  ```ts
242e41f4b71Sopenharmony_ci  @State triggerValueReplace: number = 0;
243e41f4b71Sopenharmony_ci  Column() {
244e41f4b71Sopenharmony_ci    Text("Bounce Effect")
245e41f4b71Sopenharmony_ci    SymbolGlyph($r('sys.symbol.ellipsis_message_1'))
246e41f4b71Sopenharmony_ci      .fontSize(96)
247e41f4b71Sopenharmony_ci      .fontColor([Color.Gray])
248e41f4b71Sopenharmony_ci      .symbolEffect(new BounceSymbolEffect(EffectScope.WHOLE, EffectDirection.UP), this.triggerValueReplace)
249e41f4b71Sopenharmony_ci    Button('Trigger').onClick(() => {
250e41f4b71Sopenharmony_ci      this.triggerValueReplace = this.triggerValueReplace + 1;
251e41f4b71Sopenharmony_ci    })
252e41f4b71Sopenharmony_ci  }
253e41f4b71Sopenharmony_ci  ```
254e41f4b71Sopenharmony_ci  ![BounceSymbolEffect](figures/symbolGlyph_bounceSymbolEffect_trigger.gif)
255e41f4b71Sopenharmony_ci
256e41f4b71Sopenharmony_ci
257e41f4b71Sopenharmony_ci## Adding Events
258e41f4b71Sopenharmony_ci
259e41f4b71Sopenharmony_ciYou can add universal events, such as **onClick** and **onTouch**, to the **SymbolGlyph** component to handle user interactions.
260e41f4b71Sopenharmony_ci
261e41f4b71Sopenharmony_ci```ts
262e41f4b71Sopenharmony_ci@State wifiColor: ResourceColor = Color.Black;
263e41f4b71Sopenharmony_ciSymbolGlyph($r('sys.symbol.ohos_wifi'))
264e41f4b71Sopenharmony_ci.fontSize(96)
265e41f4b71Sopenharmony_ci.fontColor([this.wifiColor])
266e41f4b71Sopenharmony_ci.onClick(()=>{
267e41f4b71Sopenharmony_ci  this.wifiColor = Color.Gray
268e41f4b71Sopenharmony_ci})
269e41f4b71Sopenharmony_ci```
270e41f4b71Sopenharmony_ci![symbolGlyph_onClick](figures/symbolGlyph_onClick.gif)
271e41f4b71Sopenharmony_ci
272e41f4b71Sopenharmony_ci## Example
273e41f4b71Sopenharmony_ci
274e41f4b71Sopenharmony_ci
275e41f4b71Sopenharmony_ci```ts
276e41f4b71Sopenharmony_ci// xxx.ets
277e41f4b71Sopenharmony_ci@Entry
278e41f4b71Sopenharmony_ci@Component
279e41f4b71Sopenharmony_cistruct Index {
280e41f4b71Sopenharmony_ci  @State triggerValueReplace: number = 0;
281e41f4b71Sopenharmony_ci  @State symbolSources: Resource[] = [$r('sys.symbol.repeat'), $r('sys.symbol.repeat_1'), $r('sys.symbol.arrow_left_arrow_right')]
282e41f4b71Sopenharmony_ci  @State symbolSourcesIndex: number = 0;
283e41f4b71Sopenharmony_ci  @State symbolText: string[] = ['Play in order','Loop song','Shuffle']
284e41f4b71Sopenharmony_ci  @State symbolTextIndex: number = 0;
285e41f4b71Sopenharmony_ci  @State fontColorValue:ResourceColor = Color.Grey;
286e41f4b71Sopenharmony_ci  @State fontColorValue1:ResourceColor = '#E8E8E8';
287e41f4b71Sopenharmony_ci
288e41f4b71Sopenharmony_ci  build() {
289e41f4b71Sopenharmony_ci    Column( { space: 10 }) {
290e41f4b71Sopenharmony_ci      Row() {
291e41f4b71Sopenharmony_ci        Text(){
292e41f4b71Sopenharmony_ci          Span('Playlist')
293e41f4b71Sopenharmony_ci            .fontSize(20)
294e41f4b71Sopenharmony_ci            .fontWeight(FontWeight.Bolder)
295e41f4b71Sopenharmony_ci          Span('(101)')
296e41f4b71Sopenharmony_ci        }
297e41f4b71Sopenharmony_ci      }
298e41f4b71Sopenharmony_ci      Row() {
299e41f4b71Sopenharmony_ci        Row({ space: 5 }) {
300e41f4b71Sopenharmony_ci          SymbolGlyph(this.symbolSources[this.symbolSourcesIndex])
301e41f4b71Sopenharmony_ci            .symbolEffect(new ReplaceSymbolEffect(EffectScope.WHOLE), this.triggerValueReplace)
302e41f4b71Sopenharmony_ci            .fontSize(20)
303e41f4b71Sopenharmony_ci            .fontColor([this.fontColorValue])
304e41f4b71Sopenharmony_ci          Text(this.symbolText[this.symbolTextIndex])
305e41f4b71Sopenharmony_ci            .fontColor(this.fontColorValue)
306e41f4b71Sopenharmony_ci        }
307e41f4b71Sopenharmony_ci        .onClick(()=>{
308e41f4b71Sopenharmony_ci          this.symbolTextIndex++;
309e41f4b71Sopenharmony_ci          this.symbolSourcesIndex++;
310e41f4b71Sopenharmony_ci          this.triggerValueReplace++;
311e41f4b71Sopenharmony_ci          if (this.symbolSourcesIndex > (this.symbolSources.length - 1)) {
312e41f4b71Sopenharmony_ci            this.symbolSourcesIndex = 0;
313e41f4b71Sopenharmony_ci            this.triggerValueReplace = 0;
314e41f4b71Sopenharmony_ci          }
315e41f4b71Sopenharmony_ci          if (this.symbolTextIndex > (this.symbolText.length - 1)) {
316e41f4b71Sopenharmony_ci            this.symbolTextIndex = 0;
317e41f4b71Sopenharmony_ci          }
318e41f4b71Sopenharmony_ci        })
319e41f4b71Sopenharmony_ci        .width('75%')
320e41f4b71Sopenharmony_ci
321e41f4b71Sopenharmony_ci        Row({ space: 5 }) {
322e41f4b71Sopenharmony_ci          Text(){
323e41f4b71Sopenharmony_ci            SymbolSpan($r('sys.symbol.arrow_down_circle_badge_vip_circle_filled'))
324e41f4b71Sopenharmony_ci              .fontColor([this.fontColorValue])
325e41f4b71Sopenharmony_ci              .fontSize(20)
326e41f4b71Sopenharmony_ci          }
327e41f4b71Sopenharmony_ci          Text(){
328e41f4b71Sopenharmony_ci            SymbolSpan($r('sys.symbol.heart_badge_plus'))
329e41f4b71Sopenharmony_ci              .fontColor([this.fontColorValue])
330e41f4b71Sopenharmony_ci              .fontSize(20)
331e41f4b71Sopenharmony_ci          }
332e41f4b71Sopenharmony_ci          Text(){
333e41f4b71Sopenharmony_ci            SymbolSpan($r('sys.symbol.ohos_trash'))
334e41f4b71Sopenharmony_ci              .fontColor([this.fontColorValue])
335e41f4b71Sopenharmony_ci              .fontSize(20)
336e41f4b71Sopenharmony_ci          }
337e41f4b71Sopenharmony_ci        }
338e41f4b71Sopenharmony_ci        .width('25%')
339e41f4b71Sopenharmony_ci      }
340e41f4b71Sopenharmony_ci      Divider().width(5).color(this.fontColorValue1).width('98%')
341e41f4b71Sopenharmony_ci      Row(){
342e41f4b71Sopenharmony_ci        Row(){
343e41f4b71Sopenharmony_ci          Text("Song 1")
344e41f4b71Sopenharmony_ci        }.width('82%')
345e41f4b71Sopenharmony_ci        Row({ space: 5}) {
346e41f4b71Sopenharmony_ci          SymbolGlyph($r('sys.symbol.play_arrow_triangle_2_circlepath'))
347e41f4b71Sopenharmony_ci            .fontColor([this.fontColorValue])
348e41f4b71Sopenharmony_ci            .fontSize(20)
349e41f4b71Sopenharmony_ci          SymbolGlyph($r('sys.symbol.trash'))
350e41f4b71Sopenharmony_ci            .fontColor([this.fontColorValue])
351e41f4b71Sopenharmony_ci            .fontSize(20)
352e41f4b71Sopenharmony_ci        }
353e41f4b71Sopenharmony_ci      }
354e41f4b71Sopenharmony_ci      Divider().width(5).color(this.fontColorValue1).width('98%')
355e41f4b71Sopenharmony_ci      Row(){
356e41f4b71Sopenharmony_ci        Row(){
357e41f4b71Sopenharmony_ci          Text("Song 2")
358e41f4b71Sopenharmony_ci        }.width('82%')
359e41f4b71Sopenharmony_ci        Row({ space: 5}) {
360e41f4b71Sopenharmony_ci          SymbolGlyph($r('sys.symbol.play_arrow_triangle_2_circlepath'))
361e41f4b71Sopenharmony_ci            .fontColor([this.fontColorValue])
362e41f4b71Sopenharmony_ci            .fontSize(20)
363e41f4b71Sopenharmony_ci          SymbolGlyph($r('sys.symbol.trash'))
364e41f4b71Sopenharmony_ci            .fontColor([this.fontColorValue])
365e41f4b71Sopenharmony_ci            .fontSize(20)
366e41f4b71Sopenharmony_ci        }
367e41f4b71Sopenharmony_ci      }
368e41f4b71Sopenharmony_ci      Divider().width(5).color(this.fontColorValue1).width('98%')
369e41f4b71Sopenharmony_ci      Row(){
370e41f4b71Sopenharmony_ci        Row(){
371e41f4b71Sopenharmony_ci          Text("Song 3")
372e41f4b71Sopenharmony_ci        }.width('82%')
373e41f4b71Sopenharmony_ci        Row({ space: 5}) {
374e41f4b71Sopenharmony_ci          SymbolGlyph($r('sys.symbol.play_arrow_triangle_2_circlepath'))
375e41f4b71Sopenharmony_ci            .fontColor([this.fontColorValue])
376e41f4b71Sopenharmony_ci            .fontSize(20)
377e41f4b71Sopenharmony_ci          SymbolGlyph($r('sys.symbol.trash'))
378e41f4b71Sopenharmony_ci            .fontColor([this.fontColorValue])
379e41f4b71Sopenharmony_ci            .fontSize(20)
380e41f4b71Sopenharmony_ci        }
381e41f4b71Sopenharmony_ci      }
382e41f4b71Sopenharmony_ci      Divider().width(5).color(this.fontColorValue1).width('98%')
383e41f4b71Sopenharmony_ci      Row(){
384e41f4b71Sopenharmony_ci        Row(){
385e41f4b71Sopenharmony_ci          Text("Song 4")
386e41f4b71Sopenharmony_ci        }.width('82%')
387e41f4b71Sopenharmony_ci        Row({ space: 5}) {
388e41f4b71Sopenharmony_ci          SymbolGlyph($r('sys.symbol.play_arrow_triangle_2_circlepath'))
389e41f4b71Sopenharmony_ci            .fontColor([this.fontColorValue])
390e41f4b71Sopenharmony_ci            .fontSize(20)
391e41f4b71Sopenharmony_ci          SymbolGlyph($r('sys.symbol.trash'))
392e41f4b71Sopenharmony_ci            .fontColor([this.fontColorValue])
393e41f4b71Sopenharmony_ci            .fontSize(20)
394e41f4b71Sopenharmony_ci        }
395e41f4b71Sopenharmony_ci      }
396e41f4b71Sopenharmony_ci      Divider().width(5).color(this.fontColorValue1).width('98%')
397e41f4b71Sopenharmony_ci      Row(){
398e41f4b71Sopenharmony_ci        Row(){
399e41f4b71Sopenharmony_ci          Text("Song 5")
400e41f4b71Sopenharmony_ci        }.width('82%')
401e41f4b71Sopenharmony_ci        Row({ space: 5}) {
402e41f4b71Sopenharmony_ci          SymbolGlyph($r('sys.symbol.play_arrow_triangle_2_circlepath'))
403e41f4b71Sopenharmony_ci            .fontColor([this.fontColorValue])
404e41f4b71Sopenharmony_ci            .fontSize(20)
405e41f4b71Sopenharmony_ci          SymbolGlyph($r('sys.symbol.trash'))
406e41f4b71Sopenharmony_ci            .fontColor([this.fontColorValue])
407e41f4b71Sopenharmony_ci            .fontSize(20)
408e41f4b71Sopenharmony_ci        }
409e41f4b71Sopenharmony_ci      }
410e41f4b71Sopenharmony_ci      Divider().width(5).color(this.fontColorValue1).width('98%')
411e41f4b71Sopenharmony_ci      Row(){
412e41f4b71Sopenharmony_ci        Row(){
413e41f4b71Sopenharmony_ci          Text("Song 6")
414e41f4b71Sopenharmony_ci        }.width('82%')
415e41f4b71Sopenharmony_ci        Row({ space: 5}) {
416e41f4b71Sopenharmony_ci          SymbolGlyph($r('sys.symbol.play_arrow_triangle_2_circlepath'))
417e41f4b71Sopenharmony_ci            .fontColor([this.fontColorValue])
418e41f4b71Sopenharmony_ci            .fontSize(20)
419e41f4b71Sopenharmony_ci          SymbolGlyph($r('sys.symbol.trash'))
420e41f4b71Sopenharmony_ci            .fontColor([this.fontColorValue])
421e41f4b71Sopenharmony_ci            .fontSize(20)
422e41f4b71Sopenharmony_ci        }
423e41f4b71Sopenharmony_ci      }
424e41f4b71Sopenharmony_ci      Divider().width(5).color(this.fontColorValue1).width('98%')
425e41f4b71Sopenharmony_ci      Row(){
426e41f4b71Sopenharmony_ci        Row(){
427e41f4b71Sopenharmony_ci          Text("Song 7")
428e41f4b71Sopenharmony_ci        }.width('82%')
429e41f4b71Sopenharmony_ci        Row({ space: 5}) {
430e41f4b71Sopenharmony_ci          SymbolGlyph($r('sys.symbol.play_arrow_triangle_2_circlepath'))
431e41f4b71Sopenharmony_ci            .fontColor([this.fontColorValue])
432e41f4b71Sopenharmony_ci            .fontSize(20)
433e41f4b71Sopenharmony_ci          SymbolGlyph($r('sys.symbol.trash'))
434e41f4b71Sopenharmony_ci            .fontColor([this.fontColorValue])
435e41f4b71Sopenharmony_ci            .fontSize(20)
436e41f4b71Sopenharmony_ci        }
437e41f4b71Sopenharmony_ci      }
438e41f4b71Sopenharmony_ci      Divider().width(5).color(this.fontColorValue1).width('98%')
439e41f4b71Sopenharmony_ci      Column(){
440e41f4b71Sopenharmony_ci        Text("Close")
441e41f4b71Sopenharmony_ci      }
442e41f4b71Sopenharmony_ci      .alignItems(HorizontalAlign.Center)
443e41f4b71Sopenharmony_ci      .width('98%')
444e41f4b71Sopenharmony_ci    }
445e41f4b71Sopenharmony_ci    .alignItems(HorizontalAlign.Start)
446e41f4b71Sopenharmony_ci    .width('100%')
447e41f4b71Sopenharmony_ci    .height(400)
448e41f4b71Sopenharmony_ci    .padding({
449e41f4b71Sopenharmony_ci      left:10,
450e41f4b71Sopenharmony_ci      top:10
451e41f4b71Sopenharmony_ci    })
452e41f4b71Sopenharmony_ci  }
453e41f4b71Sopenharmony_ci}
454e41f4b71Sopenharmony_ci```
455e41f4b71Sopenharmony_ci![symbol_scene_demo](figures/symbol_music_demo.gif)
456