İçereği Atla
Menü
Bu soru işaretlendi
2 Cevaplar
922 Görünümler

Salam ,How can i style XML view ,should i use scss or another thing ?


in this example I am trying to change colors of state selection options but no way !


CSCC code


here is the xml code 


file structure 


manifest 


nothing is getting changed


Avatar
Vazgeç
En İyi Yanıt

Use single selector when targeting one class. 

 A variety of solution options are available.

 grouping selector when targeting multiple classes with the same styles.

.teacher-list ,.custom-state-field {
background-color: #e0f7fa;
font-weight: bold;
color: #1a73e8 !important;
padding: 5px;
border-radius: 4px;
} // this you won't change xml file


descendant selector when targeting a class inside another class.   

<group class="teacher-list">  // here you won't change css







Avatar
Vazgeç
En İyi Yanıt

The path needed is relative to the folder where the manifest is located.

You have no "Hospital" folder in the same folder as the manifest. You have just the "static" folder.

Avatar
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
0
Ara 20
67
2
Ağu 22
20465
4
Nis 18
4137
1
Haz 15
4562
0
Oca 25
1429