Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
2 ตอบกลับ
894 มุมมอง

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


อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

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







อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

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.

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
0
ธ.ค. 20
67
2
ส.ค. 22
20459
4
เม.ย. 18
4110
1
มิ.ย. 15
4557
0
ม.ค. 25
1427