diff --git a/app/src/main/assets/elements_data.json b/app/src/main/assets/elements_data.json index 2c23602..bb51934 100644 --- a/app/src/main/assets/elements_data.json +++ b/app/src/main/assets/elements_data.json @@ -1021,16 +1021,33 @@ "langlebigstes Isotop": "---" }, { - "Name": "Wasserstoff", - "Ordnungszahl": 1, - "Gruppe": "Hauptgruppe I(1)", - "Periode/Hauptquantenzahl": 1, - "Schale": "K", - "Molare Masse": "1,0080 g/mol", - "Dichte": "2,25 g/l", - "Elektronegativität": "2,20", - "Schmelztemperatur": "-259°C", - "Siedetemperatur": "-253°C", + "Name": "Promethium", + "Ordnungszahl": 61, + "Gruppe": "Lanthanoide", + "Periode/Hauptquantenzahl": 6, + "Schale": "P", + "Molare Masse": "147 g/mol", + "Dichte": "7,22 g/cm³", + "Elektronegativität": "1,14", + "Schmelztemperatur": "1080°C", + "Siedetemperatur": "2460°C", + "radioaktiv": "Ja", + "Halbwertszeit": "17,7 Jahre", + "Strahlungsart": "Positronen", + "künstlich": "Nein", + "langlebigstes Isotop": "Ja" + }, + { + "Name": "Samarium", + "Ordnungszahl": 62, + "Gruppe": "Lanthanoide", + "Periode/Hauptquantenzahl": 6, + "Schale": "P", + "Molare Masse": "150,36 g/mol", + "Dichte": "7,54 g/cm³", + "Elektronegativität": "1,17", + "Schmelztemperatur": "1077°C", + "Siedetemperatur": "1791°C", "radioaktiv": "Nein", "Halbwertszeit": "---", "Strahlungsart": "---", @@ -1038,16 +1055,16 @@ "langlebigstes Isotop": "---" }, { - "Name": "Wasserstoff", - "Ordnungszahl": 1, - "Gruppe": "Hauptgruppe I(1)", - "Periode/Hauptquantenzahl": 1, - "Schale": "K", - "Molare Masse": "1,0080 g/mol", - "Dichte": "2,25 g/l", - "Elektronegativität": "2,20", - "Schmelztemperatur": "-259°C", - "Siedetemperatur": "-253°C", + "Name": "Europium", + "Ordnungszahl": 63, + "Gruppe": "Lanthanoide", + "Periode/Hauptquantenzahl": 6, + "Schale": "P", + "Molare Masse": "151,96 g/mol", + "Dichte": "5,26 g/cm³", + "Elektronegativität": "1,2", + "Schmelztemperatur": "822°C", + "Siedetemperatur": "1597°C", "radioaktiv": "Nein", "Halbwertszeit": "---", "Strahlungsart": "---", @@ -1055,16 +1072,16 @@ "langlebigstes Isotop": "---" }, { - "Name": "Wasserstoff", - "Ordnungszahl": 1, - "Gruppe": "Hauptgruppe I(1)", - "Periode/Hauptquantenzahl": 1, - "Schale": "K", - "Molare Masse": "1,0080 g/mol", - "Dichte": "2,25 g/l", - "Elektronegativität": "2,20", - "Schmelztemperatur": "-259°C", - "Siedetemperatur": "-253°C", + "Name": "Gadolinium", + "Ordnungszahl": 64, + "Gruppe": "Lanthanoide", + "Periode/Hauptquantenzahl": 6, + "Schale": "P", + "Molare Masse": "157,25 g/mol", + "Dichte": "5,26 g/cm³", + "Elektronegativität": "1,29", + "Schmelztemperatur": "1313°C", + "Siedetemperatur": "3266°C", "radioaktiv": "Nein", "Halbwertszeit": "---", "Strahlungsart": "---", @@ -1072,16 +1089,16 @@ "langlebigstes Isotop": "---" }, { - "Name": "Wasserstoff", - "Ordnungszahl": 1, - "Gruppe": "Hauptgruppe I(1)", - "Periode/Hauptquantenzahl": 1, - "Schale": "K", - "Molare Masse": "1,0080 g/mol", - "Dichte": "2,25 g/l", - "Elektronegativität": "2,20", - "Schmelztemperatur": "-259°C", - "Siedetemperatur": "-253°C", + "Name": "Terbium", + "Ordnungszahl": 65, + "Gruppe": "Lanthanoide", + "Periode/Hauptquantenzahl": 6, + "Schale": "P", + "Molare Masse": "158,93 g/mol", + "Dichte": "8,27 g/cm³", + "Elektronegativität": "1,2", + "Schmelztemperatur": "1360°C", + "Siedetemperatur": "3123°C", "radioaktiv": "Nein", "Halbwertszeit": "---", "Strahlungsart": "---", @@ -1089,16 +1106,16 @@ "langlebigstes Isotop": "---" }, { - "Name": "Wasserstoff", - "Ordnungszahl": 1, - "Gruppe": "Hauptgruppe I(1)", - "Periode/Hauptquantenzahl": 1, - "Schale": "K", - "Molare Masse": "1,0080 g/mol", - "Dichte": "2,25 g/l", - "Elektronegativität": "2,20", - "Schmelztemperatur": "-259°C", - "Siedetemperatur": "-253°C", + "Name": "Dysprosium", + "Ordnungszahl": 66, + "Gruppe": "Lanthanoide", + "Periode/Hauptquantenzahl": 6, + "Schale": "P", + "Molare Masse": "162,50 g/mol", + "Dichte": "8,54 g/cm³", + "Elektronegativität": "1,22", + "Schmelztemperatur": "1412°C", + "Siedetemperatur": "2562°C", "radioaktiv": "Nein", "Halbwertszeit": "---", "Strahlungsart": "---", @@ -1106,16 +1123,16 @@ "langlebigstes Isotop": "---" }, { - "Name": "Wasserstoff", - "Ordnungszahl": 1, - "Gruppe": "Hauptgruppe I(1)", - "Periode/Hauptquantenzahl": 1, - "Schale": "K", - "Molare Masse": "1,0080 g/mol", - "Dichte": "2,25 g/l", - "Elektronegativität": "2,20", - "Schmelztemperatur": "-259°C", - "Siedetemperatur": "-253°C", + "Name": "Holmium", + "Ordnungszahl": 67, + "Gruppe": "Lanthanoide", + "Periode/Hauptquantenzahl": 6, + "Schale": "P", + "Molare Masse": "164,93 g/mol", + "Dichte": "8,80 g/cm³", + "Elektronegativität": "1,23", + "Schmelztemperatur": "1474°C", + "Siedetemperatur": "2695°C", "radioaktiv": "Nein", "Halbwertszeit": "---", "Strahlungsart": "---", @@ -1123,16 +1140,16 @@ "langlebigstes Isotop": "---" }, { - "Name": "Wasserstoff", - "Ordnungszahl": 1, - "Gruppe": "Hauptgruppe I(1)", - "Periode/Hauptquantenzahl": 1, - "Schale": "K", - "Molare Masse": "1,0080 g/mol", - "Dichte": "2,25 g/l", - "Elektronegativität": "2,20", - "Schmelztemperatur": "-259°C", - "Siedetemperatur": "-253°C", + "Name": "Erbium", + "Ordnungszahl": 68, + "Gruppe": "Lanthanoide", + "Periode/Hauptquantenzahl": 6, + "Schale": "P", + "Molare Masse": "164,93 g/mol", + "Dichte": "9,05 g/cm³", + "Elektronegativität": "1,24", + "Schmelztemperatur": "1529°C", + "Siedetemperatur": "2863°C", "radioaktiv": "Nein", "Halbwertszeit": "---", "Strahlungsart": "---", @@ -1140,16 +1157,16 @@ "langlebigstes Isotop": "---" }, { - "Name": "Wasserstoff", - "Ordnungszahl": 1, - "Gruppe": "Hauptgruppe I(1)", - "Periode/Hauptquantenzahl": 1, - "Schale": "K", - "Molare Masse": "1,0080 g/mol", - "Dichte": "2,25 g/l", - "Elektronegativität": "2,20", - "Schmelztemperatur": "-259°C", - "Siedetemperatur": "-253°C", + "Name": "Thulium", + "Ordnungszahl": 69, + "Gruppe": "Lanthanoide", + "Periode/Hauptquantenzahl": 6, + "Schale": "P", + "Molare Masse": "168,93 g/mol", + "Dichte": "9,33 g/cm³", + "Elektronegativität": "1,25", + "Schmelztemperatur": "1545°C", + "Siedetemperatur": "1947°C", "radioaktiv": "Nein", "Halbwertszeit": "---", "Strahlungsart": "---", @@ -1157,16 +1174,16 @@ "langlebigstes Isotop": "---" }, { - "Name": "Wasserstoff", - "Ordnungszahl": 1, - "Gruppe": "Hauptgruppe I(1)", - "Periode/Hauptquantenzahl": 1, - "Schale": "K", - "Molare Masse": "1,0080 g/mol", - "Dichte": "2,25 g/l", - "Elektronegativität": "2,20", - "Schmelztemperatur": "-259°C", - "Siedetemperatur": "-253°C", + "Name": "Ytterbium", + "Ordnungszahl": 70, + "Gruppe": "Lanthanoide", + "Periode/Hauptquantenzahl": 6, + "Schale": "P", + "Molare Masse": "173,05 g/mol", + "Dichte": "6,98 g/cm³", + "Elektronegativität": "1,1", + "Schmelztemperatur": "824°C", + "Siedetemperatur": "1194°C", "radioaktiv": "Nein", "Halbwertszeit": "---", "Strahlungsart": "---", @@ -1174,16 +1191,16 @@ "langlebigstes Isotop": "---" }, { - "Name": "Wasserstoff", - "Ordnungszahl": 1, - "Gruppe": "Hauptgruppe I(1)", - "Periode/Hauptquantenzahl": 1, - "Schale": "K", - "Molare Masse": "1,0080 g/mol", - "Dichte": "2,25 g/l", - "Elektronegativität": "2,20", - "Schmelztemperatur": "-259°C", - "Siedetemperatur": "-253°C", + "Name": "Lutetium", + "Ordnungszahl": 71, + "Gruppe": "Nebengruppe IIIb(3)", + "Periode/Hauptquantenzahl": 6, + "Schale": "P", + "Molare Masse": "174,97 g/mol", + "Dichte": "9,84 g/cm³", + "Elektronegativität": "1,27", + "Schmelztemperatur": "1658°C", + "Siedetemperatur": "3395°C", "radioaktiv": "Nein", "Halbwertszeit": "---", "Strahlungsart": "---", @@ -1191,16 +1208,16 @@ "langlebigstes Isotop": "---" }, { - "Name": "Wasserstoff", - "Ordnungszahl": 1, - "Gruppe": "Hauptgruppe I(1)", - "Periode/Hauptquantenzahl": 1, - "Schale": "K", - "Molare Masse": "1,0080 g/mol", - "Dichte": "2,25 g/l", - "Elektronegativität": "2,20", - "Schmelztemperatur": "-259°C", - "Siedetemperatur": "-253°C", + "Name": "Hafnium", + "Ordnungszahl": 72, + "Gruppe": "Nebengruppe IVb(4)", + "Periode/Hauptquantenzahl": 6, + "Schale": "P", + "Molare Masse": "178,49 g/mol", + "Dichte": "13,1 g/cm³", + "Elektronegativität": "1,3", + "Schmelztemperatur": "2227°C", + "Siedetemperatur": "4602°C", "radioaktiv": "Nein", "Halbwertszeit": "---", "Strahlungsart": "---", @@ -1208,16 +1225,16 @@ "langlebigstes Isotop": "---" }, { - "Name": "Wasserstoff", - "Ordnungszahl": 1, - "Gruppe": "Hauptgruppe I(1)", - "Periode/Hauptquantenzahl": 1, - "Schale": "K", - "Molare Masse": "1,0080 g/mol", - "Dichte": "2,25 g/l", - "Elektronegativität": "2,20", - "Schmelztemperatur": "-259°C", - "Siedetemperatur": "-253°C", + "Name": "Tantal", + "Ordnungszahl": 73, + "Gruppe": "Nebengruppe Vb(5)", + "Periode/Hauptquantenzahl": 6, + "Schale": "P", + "Molare Masse": "180,95 g/mol", + "Dichte": "16,6 g/cm³", + "Elektronegativität": "1,5", + "Schmelztemperatur": "2996°C", + "Siedetemperatur": "5660°C", "radioaktiv": "Nein", "Halbwertszeit": "---", "Strahlungsart": "---", @@ -1225,16 +1242,16 @@ "langlebigstes Isotop": "---" }, { - "Name": "Wasserstoff", - "Ordnungszahl": 1, - "Gruppe": "Hauptgruppe I(1)", - "Periode/Hauptquantenzahl": 1, - "Schale": "K", - "Molare Masse": "1,0080 g/mol", - "Dichte": "2,25 g/l", - "Elektronegativität": "2,20", - "Schmelztemperatur": "-259°C", - "Siedetemperatur": "-253°C", + "Name": "Wolfram", + "Ordnungszahl": 74, + "Gruppe": "Nebengruppe VIb(6)", + "Periode/Hauptquantenzahl": 6, + "Schale": "P", + "Molare Masse": "183,84 g/mol", + "Dichte": "19,3 g/cm³", + "Elektronegativität": "2,36", + "Schmelztemperatur": "3410°C", + "Siedetemperatur": "5660°C", "radioaktiv": "Nein", "Halbwertszeit": "---", "Strahlungsart": "---", @@ -1242,16 +1259,16 @@ "langlebigstes Isotop": "---" }, { - "Name": "Wasserstoff", - "Ordnungszahl": 1, - "Gruppe": "Hauptgruppe I(1)", - "Periode/Hauptquantenzahl": 1, - "Schale": "K", - "Molare Masse": "1,0080 g/mol", - "Dichte": "2,25 g/l", - "Elektronegativität": "2,20", - "Schmelztemperatur": "-259°C", - "Siedetemperatur": "-253°C", + "Name": "Rhenium", + "Ordnungszahl": 75, + "Gruppe": "Nebengruppe VIIb(7)", + "Periode/Hauptquantenzahl": 6, + "Schale": "P", + "Molare Masse": "186,21 g/mol", + "Dichte": "21,0 g/cm³", + "Elektronegativität": "1,9", + "Schmelztemperatur": "3180°C", + "Siedetemperatur": "5627°C", "radioaktiv": "Nein", "Halbwertszeit": "---", "Strahlungsart": "---", @@ -1259,16 +1276,16 @@ "langlebigstes Isotop": "---" }, { - "Name": "Wasserstoff", - "Ordnungszahl": 1, - "Gruppe": "Hauptgruppe I(1)", - "Periode/Hauptquantenzahl": 1, - "Schale": "K", - "Molare Masse": "1,0080 g/mol", - "Dichte": "2,25 g/l", - "Elektronegativität": "2,20", - "Schmelztemperatur": "-259°C", - "Siedetemperatur": "-253°C", + "Name": "Osmium", + "Ordnungszahl": 76, + "Gruppe": "Nebengruppe VIIIb(8)", + "Periode/Hauptquantenzahl": 6, + "Schale": "P", + "Molare Masse": "190,23 g/mol", + "Dichte": "22,4 g/cm³", + "Elektronegativität": "2,2", + "Schmelztemperatur": "3045°C", + "Siedetemperatur": "5027°C", "radioaktiv": "Nein", "Halbwertszeit": "---", "Strahlungsart": "---", @@ -1276,16 +1293,16 @@ "langlebigstes Isotop": "---" }, { - "Name": "Wasserstoff", - "Ordnungszahl": 1, - "Gruppe": "Hauptgruppe I(1)", - "Periode/Hauptquantenzahl": 1, - "Schale": "K", - "Molare Masse": "1,0080 g/mol", - "Dichte": "2,25 g/l", + "Name": "Iridium", + "Ordnungszahl": 77, + "Gruppe": "Nebengruppe VIIIb(9)", + "Periode/Hauptquantenzahl": 6, + "Schale": "P", + "Molare Masse": "192,22 g/mol", + "Dichte": "22,5 g/cm³", "Elektronegativität": "2,20", - "Schmelztemperatur": "-259°C", - "Siedetemperatur": "-253°C", + "Schmelztemperatur": "2410°C", + "Siedetemperatur": "4130°C", "radioaktiv": "Nein", "Halbwertszeit": "---", "Strahlungsart": "---", @@ -1293,16 +1310,16 @@ "langlebigstes Isotop": "---" }, { - "Name": "Wasserstoff", - "Ordnungszahl": 1, - "Gruppe": "Hauptgruppe I(1)", - "Periode/Hauptquantenzahl": 1, - "Schale": "K", - "Molare Masse": "1,0080 g/mol", - "Dichte": "2,25 g/l", - "Elektronegativität": "2,20", - "Schmelztemperatur": "-259°C", - "Siedetemperatur": "-253°C", + "Name": "Platin", + "Ordnungszahl": 78, + "Gruppe": "Nebengruppe VIIIb(10)", + "Periode/Hauptquantenzahl": 6, + "Schale": "P", + "Molare Masse": "195,08 g/mol", + "Dichte": "21,4 g/cm³", + "Elektronegativität": "2,28", + "Schmelztemperatur": "1772°C", + "Siedetemperatur": "3827°C", "radioaktiv": "Nein", "Halbwertszeit": "---", "Strahlungsart": "---", @@ -1310,16 +1327,16 @@ "langlebigstes Isotop": "---" }, { - "Name": "Wasserstoff", - "Ordnungszahl": 1, - "Gruppe": "Hauptgruppe I(1)", - "Periode/Hauptquantenzahl": 1, - "Schale": "K", - "Molare Masse": "1,0080 g/mol", - "Dichte": "2,25 g/l", - "Elektronegativität": "2,20", - "Schmelztemperatur": "-259°C", - "Siedetemperatur": "-253°C", + "Name": "Gold", + "Ordnungszahl": 79, + "Gruppe": "Nebengruppe Ib(11)", + "Periode/Hauptquantenzahl": 6, + "Schale": "P", + "Molare Masse": "196,97 g/mol", + "Dichte": "19,32 g/cm³", + "Elektronegativität": "2,54", + "Schmelztemperatur": "1064°C", + "Siedetemperatur": "2807°C", "radioaktiv": "Nein", "Halbwertszeit": "---", "Strahlungsart": "---", @@ -1327,16 +1344,16 @@ "langlebigstes Isotop": "---" }, { - "Name": "Wasserstoff", - "Ordnungszahl": 1, - "Gruppe": "Hauptgruppe I(1)", - "Periode/Hauptquantenzahl": 1, - "Schale": "K", - "Molare Masse": "1,0080 g/mol", - "Dichte": "2,25 g/l", - "Elektronegativität": "2,20", - "Schmelztemperatur": "-259°C", - "Siedetemperatur": "-253°C", + "Name": "Quecksilber", + "Ordnungszahl": 80, + "Gruppe": "Nebengruppe IIb(12)", + "Periode/Hauptquantenzahl": 6, + "Schale": "P", + "Molare Masse": "200,59 g/mol", + "Dichte": "13,53 g/cm³", + "Elektronegativität": "2,00", + "Schmelztemperatur": "-39°C", + "Siedetemperatur": "357°C", "radioaktiv": "Nein", "Halbwertszeit": "---", "Strahlungsart": "---", @@ -1344,16 +1361,16 @@ "langlebigstes Isotop": "---" }, { - "Name": "Wasserstoff", - "Ordnungszahl": 1, - "Gruppe": "Hauptgruppe I(1)", - "Periode/Hauptquantenzahl": 1, - "Schale": "K", - "Molare Masse": "1,0080 g/mol", - "Dichte": "2,25 g/l", - "Elektronegativität": "2,20", - "Schmelztemperatur": "-259°C", - "Siedetemperatur": "-253°C", + "Name": "Thallium", + "Ordnungszahl": 81, + "Gruppe": "Hauptgruppe III(13)", + "Periode/Hauptquantenzahl": 6, + "Schale": "P", + "Molare Masse": "204,38 g/mol", + "Dichte": "11,85 g/cm³", + "Elektronegativität": "2,04", + "Schmelztemperatur": "303°C", + "Siedetemperatur": "1457°C", "radioaktiv": "Nein", "Halbwertszeit": "---", "Strahlungsart": "---", @@ -1361,16 +1378,16 @@ "langlebigstes Isotop": "---" }, { - "Name": "Wasserstoff", - "Ordnungszahl": 1, - "Gruppe": "Hauptgruppe I(1)", - "Periode/Hauptquantenzahl": 1, - "Schale": "K", - "Molare Masse": "1,0080 g/mol", - "Dichte": "2,25 g/l", - "Elektronegativität": "2,20", - "Schmelztemperatur": "-259°C", - "Siedetemperatur": "-253°C", + "Name": "Blei", + "Ordnungszahl": 82, + "Gruppe": "Hauptgruppe IV(14)", + "Periode/Hauptquantenzahl": 6, + "Schale": "P", + "Molare Masse": "207,2 g/mol", + "Dichte": "11,4 g/cm³", + "Elektronegativität": "1,87", + "Schmelztemperatur": "327°C", + "Siedetemperatur": "1740°C", "radioaktiv": "Nein", "Halbwertszeit": "---", "Strahlungsart": "---", @@ -1378,16 +1395,16 @@ "langlebigstes Isotop": "---" }, { - "Name": "Wasserstoff", - "Ordnungszahl": 1, - "Gruppe": "Hauptgruppe I(1)", - "Periode/Hauptquantenzahl": 1, - "Schale": "K", - "Molare Masse": "1,0080 g/mol", - "Dichte": "2,25 g/l", - "Elektronegativität": "2,20", - "Schmelztemperatur": "-259°C", - "Siedetemperatur": "-253°C", + "Name": "Bismut", + "Ordnungszahl": 83, + "Gruppe": "Hauptgruppe V(15)", + "Periode/Hauptquantenzahl": 6, + "Schale": "P", + "Molare Masse": "208,98 g/mol", + "Dichte": "9,8 g/cm³", + "Elektronegativität": "2,02", + "Schmelztemperatur": "271°C", + "Siedetemperatur": "1560°C", "radioaktiv": "Nein", "Halbwertszeit": "---", "Strahlungsart": "---", @@ -1395,633 +1412,599 @@ "langlebigstes Isotop": "---" }, { - "Name": "Wasserstoff", - "Ordnungszahl": 1, - "Gruppe": "Hauptgruppe I(1)", - "Periode/Hauptquantenzahl": 1, - "Schale": "K", - "Molare Masse": "1,0080 g/mol", - "Dichte": "2,25 g/l", - "Elektronegativität": "2,20", - "Schmelztemperatur": "-259°C", - "Siedetemperatur": "-253°C", - "radioaktiv": "Nein", - "Halbwertszeit": "---", - "Strahlungsart": "---", + "Name": "Polonium", + "Ordnungszahl": 84, + "Gruppe": "Hauptgruppe VI(16)", + "Periode/Hauptquantenzahl": 6, + "Schale": "P", + "Molare Masse": "209 g/mol", + "Dichte": "2,25 g/cm³", + "Elektronegativität": "2,0", + "Schmelztemperatur": "254°C", + "Siedetemperatur": "961°C", + "radioaktiv": "Ja", + "Halbwertszeit": "102 Jahre", + "Strahlungsart": "Kerne He²⁺", "künstlich": "Nein", - "langlebigstes Isotop": "---" + "langlebigstes Isotop": "Ja" }, { - "Name": "Wasserstoff", - "Ordnungszahl": 1, - "Gruppe": "Hauptgruppe I(1)", - "Periode/Hauptquantenzahl": 1, - "Schale": "K", - "Molare Masse": "1,0080 g/mol", - "Dichte": "2,25 g/l", - "Elektronegativität": "2,20", - "Schmelztemperatur": "-259°C", - "Siedetemperatur": "-253°C", - "radioaktiv": "Nein", - "Halbwertszeit": "---", - "Strahlungsart": "---", + "Name": "Astat", + "Ordnungszahl": 85, + "Gruppe": "Hauptgruppe VII(17)", + "Periode/Hauptquantenzahl": 6, + "Schale": "P", + "Molare Masse": "210 g/mol", + "Dichte": "---", + "Elektronegativität": "2,2", + "Schmelztemperatur": "302°C", + "Siedetemperatur": "337°C", + "radioaktiv": "Ja", + "Halbwertszeit": "8,1 Stunden", + "Strahlungsart": "Kerne He²⁺", "künstlich": "Nein", - "langlebigstes Isotop": "---" + "langlebigstes Isotop": "Ja" }, { - "Name": "Wasserstoff", - "Ordnungszahl": 1, - "Gruppe": "Hauptgruppe I(1)", - "Periode/Hauptquantenzahl": 1, - "Schale": "K", - "Molare Masse": "1,0080 g/mol", - "Dichte": "2,25 g/l", - "Elektronegativität": "2,20", - "Schmelztemperatur": "-259°C", - "Siedetemperatur": "-253°C", - "radioaktiv": "Nein", - "Halbwertszeit": "---", - "Strahlungsart": "---", + "Name": "Radon", + "Ordnungszahl": 86, + "Gruppe": "Hauptgruppe VIII(18)", + "Periode/Hauptquantenzahl": 6, + "Schale": "P", + "Molare Masse": "222 g/mol", + "Dichte": "9,73 g/l", + "Elektronegativität": "---", + "Schmelztemperatur": "-71°C", + "Siedetemperatur": "-62°C", + "radioaktiv": "Ja", + "Halbwertszeit": "3,8 Tage", + "Strahlungsart": "Kerne He²⁺", "künstlich": "Nein", - "langlebigstes Isotop": "---" + "langlebigstes Isotop": "Ja" }, { - "Name": "Wasserstoff", - "Ordnungszahl": 1, + "Name": "Francium", + "Ordnungszahl": 87, "Gruppe": "Hauptgruppe I(1)", - "Periode/Hauptquantenzahl": 1, - "Schale": "K", - "Molare Masse": "1,0080 g/mol", - "Dichte": "2,25 g/l", - "Elektronegativität": "2,20", - "Schmelztemperatur": "-259°C", - "Siedetemperatur": "-253°C", - "radioaktiv": "Nein", - "Halbwertszeit": "---", - "Strahlungsart": "---", + "Periode/Hauptquantenzahl": 7, + "Schale": "Q", + "Molare Masse": "223 g/mol", + "Dichte": "---", + "Elektronegativität": "0,7", + "Schmelztemperatur": "27°C", + "Siedetemperatur": "677°C", + "radioaktiv": "Ja", + "Halbwertszeit": "22,0 Minuten", + "Strahlungsart": "Elektronen", "künstlich": "Nein", - "langlebigstes Isotop": "---" + "langlebigstes Isotop": "Ja" }, { - "Name": "Wasserstoff", - "Ordnungszahl": 1, - "Gruppe": "Hauptgruppe I(1)", - "Periode/Hauptquantenzahl": 1, - "Schale": "K", - "Molare Masse": "1,0080 g/mol", - "Dichte": "2,25 g/l", - "Elektronegativität": "2,20", - "Schmelztemperatur": "-259°C", - "Siedetemperatur": "-253°C", - "radioaktiv": "Nein", - "Halbwertszeit": "---", - "Strahlungsart": "---", + "Name": "Radium", + "Ordnungszahl": 88, + "Gruppe": "Hauptgruppe II(2)", + "Periode/Hauptquantenzahl": 7, + "Schale": "Q", + "Molare Masse": "226 g/mol", + "Dichte": "5,0 g/cm³", + "Elektronegativität": "0,9", + "Schmelztemperatur": "700°C", + "Siedetemperatur": "1140°C", + "radioaktiv": "Ja", + "Halbwertszeit": "1600 Jahre", + "Strahlungsart": "Kerne He²⁺", "künstlich": "Nein", - "langlebigstes Isotop": "---" + "langlebigstes Isotop": "Ja" }, { - "Name": "Wasserstoff", - "Ordnungszahl": 1, - "Gruppe": "Hauptgruppe I(1)", - "Periode/Hauptquantenzahl": 1, - "Schale": "K", - "Molare Masse": "1,0080 g/mol", - "Dichte": "2,25 g/l", - "Elektronegativität": "2,20", - "Schmelztemperatur": "-259°C", - "Siedetemperatur": "-253°C", - "radioaktiv": "Nein", - "Halbwertszeit": "---", - "Strahlungsart": "---", + "Name": "Actinium", + "Ordnungszahl": 89, + "Gruppe": "Actinoide", + "Periode/Hauptquantenzahl": 7, + "Schale": "Q", + "Molare Masse": "227 g/mol", + "Dichte": "10,1 g/cm³", + "Elektronegativität": "1,1", + "Schmelztemperatur": "1050°C", + "Siedetemperatur": "3200°C", + "radioaktiv": "Ja", + "Halbwertszeit": "21,8 Jahre", + "Strahlungsart": "Elektronen", "künstlich": "Nein", - "langlebigstes Isotop": "---" + "langlebigstes Isotop": "Ja" }, { - "Name": "Wasserstoff", - "Ordnungszahl": 1, - "Gruppe": "Hauptgruppe I(1)", - "Periode/Hauptquantenzahl": 1, - "Schale": "K", - "Molare Masse": "1,0080 g/mol", - "Dichte": "2,25 g/l", - "Elektronegativität": "2,20", - "Schmelztemperatur": "-259°C", - "Siedetemperatur": "-253°C", - "radioaktiv": "Nein", - "Halbwertszeit": "---", - "Strahlungsart": "---", + "Name": "Thorium", + "Ordnungszahl": 90, + "Gruppe": "Actinoide", + "Periode/Hauptquantenzahl": 7, + "Schale": "P", + "Molare Masse": "232 g/mol", + "Dichte": "11,7 g/cm³", + "Elektronegativität": "1,1", + "Schmelztemperatur": "1750°C", + "Siedetemperatur": "4790°C", + "radioaktiv": "Ja", + "Halbwertszeit": "1,40·10¹⁰ Jahre", + "Strahlungsart": "Kerne He²⁺", "künstlich": "Nein", - "langlebigstes Isotop": "---" + "langlebigstes Isotop": "Ja" }, { - "Name": "Wasserstoff", - "Ordnungszahl": 1, - "Gruppe": "Hauptgruppe I(1)", - "Periode/Hauptquantenzahl": 1, - "Schale": "K", - "Molare Masse": "1,0080 g/mol", - "Dichte": "2,25 g/l", - "Elektronegativität": "2,20", - "Schmelztemperatur": "-259°C", - "Siedetemperatur": "-253°C", - "radioaktiv": "Nein", - "Halbwertszeit": "---", - "Strahlungsart": "---", + "Name": "Protactinium", + "Ordnungszahl": 91, + "Gruppe": "Actinoide", + "Periode/Hauptquantenzahl": 7, + "Schale": "Q", + "Molare Masse": "231 g/mol", + "Dichte": "15,4 g/cm³", + "Elektronegativität": "1,5", + "Schmelztemperatur": "1554°C", + "Siedetemperatur": "---", + "radioaktiv": "Ja", + "Halbwertszeit": "3,28·10⁴ Jahre", + "Strahlungsart": "Kerne He²⁺", "künstlich": "Nein", - "langlebigstes Isotop": "---" + "langlebigstes Isotop": "Ja" }, { - "Name": "Wasserstoff", - "Ordnungszahl": 1, - "Gruppe": "Hauptgruppe I(1)", - "Periode/Hauptquantenzahl": 1, - "Schale": "K", - "Molare Masse": "1,0080 g/mol", - "Dichte": "2,25 g/l", - "Elektronegativität": "2,20", - "Schmelztemperatur": "-259°C", - "Siedetemperatur": "-253°C", - "radioaktiv": "Nein", - "Halbwertszeit": "---", - "Strahlungsart": "---", + "Name": "Uran", + "Ordnungszahl": 92, + "Gruppe": "Actinoide", + "Periode/Hauptquantenzahl": 7, + "Schale": "Q", + "Molare Masse": "238 g/mol", + "Dichte": "18,90 g/cm³", + "Elektronegativität": "1,38", + "Schmelztemperatur": "1132°C", + "Siedetemperatur": "3818°C", + "radioaktiv": "Ja", + "Halbwertszeit": "4,47·10⁹ Jahre", + "Strahlungsart": "Kerne He²⁺", "künstlich": "Nein", - "langlebigstes Isotop": "---" + "langlebigstes Isotop": "Ja" }, { - "Name": "Wasserstoff", - "Ordnungszahl": 1, - "Gruppe": "Hauptgruppe I(1)", - "Periode/Hauptquantenzahl": 1, - "Schale": "K", - "Molare Masse": "1,0080 g/mol", - "Dichte": "2,25 g/l", - "Elektronegativität": "2,20", - "Schmelztemperatur": "-259°C", - "Siedetemperatur": "-253°C", - "radioaktiv": "Nein", - "Halbwertszeit": "---", - "Strahlungsart": "---", + "Name": "Neptunium", + "Ordnungszahl":93, + "Gruppe": "Actinoide", + "Periode/Hauptquantenzahl": 7, + "Schale": "Q", + "Molare Masse": "237 g/mol", + "Dichte": "20,4 g/cm³", + "Elektronegativität": "1,36", + "Schmelztemperatur": "640°C", + "Siedetemperatur": "3902°C", + "radioaktiv": "Ja", + "Halbwertszeit": "5,1·10⁶ Jahre", + "Strahlungsart": "Kerne He²⁺", "künstlich": "Nein", - "langlebigstes Isotop": "---" + "langlebigstes Isotop": "Ja" }, { - "Name": "Wasserstoff", - "Ordnungszahl": 1, - "Gruppe": "Hauptgruppe I(1)", - "Periode/Hauptquantenzahl": 1, - "Schale": "K", - "Molare Masse": "1,0080 g/mol", - "Dichte": "2,25 g/l", - "Elektronegativität": "2,20", - "Schmelztemperatur": "-259°C", - "Siedetemperatur": "-253°C", - "radioaktiv": "Nein", - "Halbwertszeit": "---", - "Strahlungsart": "---", + "Name": "Plutonium", + "Ordnungszahl":94, + "Gruppe": "Actionoide", + "Periode/Hauptquantenzahl": 7, + "Schale": "P", + "Molare Masse": "244 g/mol", + "Dichte": "19,8 g/cm³", + "Elektronegativität": "1,28", + "Schmelztemperatur": "641°C", + "Siedetemperatur": "3232°C", + "radioaktiv": "Ja", + "Halbwertszeit": "8,00·10⁷ Jahre", + "Strahlungsart": "Kerne He²⁺", "künstlich": "Nein", - "langlebigstes Isotop": "---" + "langlebigstes Isotop": "Ja" }, { - "Name": "Wasserstoff", - "Ordnungszahl": 1, - "Gruppe": "Hauptgruppe I(1)", - "Periode/Hauptquantenzahl": 1, - "Schale": "K", - "Molare Masse": "1,0080 g/mol", - "Dichte": "2,25 g/l", - "Elektronegativität": "2,20", - "Schmelztemperatur": "-259°C", - "Siedetemperatur": "-253°C", - "radioaktiv": "Nein", - "Halbwertszeit": "---", - "Strahlungsart": "---", - "künstlich": "Nein", - "langlebigstes Isotop": "---" + "Name": "Americium", + "Ordnungszahl": 95, + "Gruppe": "Actinoide", + "Periode/Hauptquantenzahl": 7, + "Schale": "Q", + "Molare Masse": "243 g/mol", + "Dichte": "13,7 g/cm³", + "Elektronegativität": "1,3", + "Schmelztemperatur": "995°C", + "Siedetemperatur": "2607°C", + "radioaktiv": "Ja", + "Halbwertszeit": "7370 Jahre", + "Strahlungsart": "Kerne He²⁺", + "künstlich": "Ja", + "langlebigstes Isotop": "Ja" }, { - "Name": "Wasserstoff", - "Ordnungszahl": 1, - "Gruppe": "Hauptgruppe I(1)", - "Periode/Hauptquantenzahl": 1, - "Schale": "K", - "Molare Masse": "1,0080 g/mol", - "Dichte": "2,25 g/l", - "Elektronegativität": "2,20", - "Schmelztemperatur": "-259°C", - "Siedetemperatur": "-253°C", - "radioaktiv": "Nein", - "Halbwertszeit": "---", - "Strahlungsart": "---", - "künstlich": "Nein", - "langlebigstes Isotop": "---" + "Name": "Curium", + "Ordnungszahl": 96, + "Gruppe": "Actinoide", + "Periode/Hauptquantenzahl": 7, + "Schale": "Q", + "Molare Masse": "247 g/mol", + "Dichte": "13,5 g/cm³", + "Elektronegativität": "1,3", + "Schmelztemperatur": "1340°C", + "Siedetemperatur": "---°C", + "radioaktiv": "Ja", + "Halbwertszeit": "1,56·10⁷ Jahre", + "Strahlungsart": "Kerne He²⁺", + "künstlich": "Ja", + "langlebigstes Isotop": "Ja" }, { - "Name": "Wasserstoff", - "Ordnungszahl": 1, - "Gruppe": "Hauptgruppe I(1)", - "Periode/Hauptquantenzahl": 1, - "Schale": "K", - "Molare Masse": "1,0080 g/mol", - "Dichte": "2,25 g/l", - "Elektronegativität": "2,20", - "Schmelztemperatur": "-259°C", - "Siedetemperatur": "-253°C", - "radioaktiv": "Nein", - "Halbwertszeit": "---", - "Strahlungsart": "---", - "künstlich": "Nein", - "langlebigstes Isotop": "---" + "Name": "Berkelium", + "Ordnungszahl": 97, + "Gruppe": "Actinoide", + "Periode/Hauptquantenzahl": 7, + "Schale": "Q", + "Molare Masse": "247 g/mol", + "Dichte": "14,0 g/cm³", + "Elektronegativität": "1,3", + "Schmelztemperatur": "---", + "Siedetemperatur": "---", + "radioaktiv": "Ja", + "Halbwertszeit": "1380 Jahre", + "Strahlungsart": "Kerne He²⁺", + "künstlich": "Ja", + "langlebigstes Isotop": "Ja" }, { - "Name": "Wasserstoff", - "Ordnungszahl": 1, - "Gruppe": "Hauptgruppe I(1)", - "Periode/Hauptquantenzahl": 1, - "Schale": "K", - "Molare Masse": "1,0080 g/mol", - "Dichte": "2,25 g/l", - "Elektronegativität": "2,20", - "Schmelztemperatur": "-259°C", - "Siedetemperatur": "-253°C", - "radioaktiv": "Nein", - "Halbwertszeit": "---", - "Strahlungsart": "---", - "künstlich": "Nein", - "langlebigstes Isotop": "---" + "Name": "Californium", + "Ordnungszahl": 98, + "Gruppe": "Actinoide", + "Periode/Hauptquantenzahl": 7, + "Schale": "Q", + "Molare Masse": "251 g/mol", + "Dichte": "---", + "Elektronegativität": "1,3", + "Schmelztemperatur": "---", + "Siedetemperatur": "---", + "radioaktiv": "Ja", + "Halbwertszeit": "898 Jahre", + "Strahlungsart": "Kerne He²⁺", + "künstlich": "Ja", + "langlebigstes Isotop": "Ja" }, { - "Name": "Wasserstoff", - "Ordnungszahl": 1, - "Gruppe": "Hauptgruppe I(1)", - "Periode/Hauptquantenzahl": 1, - "Schale": "K", - "Molare Masse": "1,0080 g/mol", - "Dichte": "2,25 g/l", - "Elektronegativität": "2,20", - "Schmelztemperatur": "-259°C", - "Siedetemperatur": "-253°C", - "radioaktiv": "Nein", - "Halbwertszeit": "---", - "Strahlungsart": "---", - "künstlich": "Nein", - "langlebigstes Isotop": "---" + "Name": "Einsteinium", + "Ordnungszahl": 99, + "Gruppe": "Actinoide", + "Periode/Hauptquantenzahl": 7, + "Schale": "Q", + "Molare Masse": "252 g/mol", + "Dichte": "---", + "Elektronegativität": "1,3", + "Schmelztemperatur": "---", + "Siedetemperatur": "---", + "radioaktiv": "Ja", + "Halbwertszeit": "472 Tage", + "Strahlungsart": "Kerne He²⁺", + "künstlich": "Ja", + "langlebigstes Isotop": "Ja" }, { - "Name": "Wasserstoff", - "Ordnungszahl": 1, - "Gruppe": "Hauptgruppe I(1)", - "Periode/Hauptquantenzahl": 1, - "Schale": "K", - "Molare Masse": "1,0080 g/mol", - "Dichte": "2,25 g/l", - "Elektronegativität": "2,20", - "Schmelztemperatur": "-259°C", - "Siedetemperatur": "-253°C", - "radioaktiv": "Nein", - "Halbwertszeit": "---", - "Strahlungsart": "---", - "künstlich": "Nein", - "langlebigstes Isotop": "---" + "Name": "Fermium", + "Ordnungszahl": 100, + "Gruppe": "Actinoide", + "Periode/Hauptquantenzahl": 7, + "Schale": "Q", + "Molare Masse": "257 g/mol", + "Dichte": "---", + "Elektronegativität": "1,3", + "Schmelztemperatur": "---", + "Siedetemperatur": "---", + "radioaktiv": "Ja", + "Halbwertszeit": "100,5 Tage", + "Strahlungsart": "Kerne He²⁺", + "künstlich": "Ja", + "langlebigstes Isotop": "Ja" }, { - "Name": "Wasserstoff", - "Ordnungszahl": 1, - "Gruppe": "Hauptgruppe I(1)", - "Periode/Hauptquantenzahl": 1, - "Schale": "K", - "Molare Masse": "1,0080 g/mol", - "Dichte": "2,25 g/l", - "Elektronegativität": "2,20", - "Schmelztemperatur": "-259°C", - "Siedetemperatur": "-253°C", - "radioaktiv": "Nein", - "Halbwertszeit": "---", - "Strahlungsart": "---", - "künstlich": "Nein", - "langlebigstes Isotop": "---" + "Name": "Mendelevium", + "Ordnungszahl": 101, + "Gruppe": "Actinoide", + "Periode/Hauptquantenzahl": 7, + "Schale": "Q", + "Molare Masse": "258 g/mol", + "Dichte": "---", + "Elektronegativität": "1,3", + "Schmelztemperatur": "---", + "Siedetemperatur": "---", + "radioaktiv": "Ja", + "Halbwertszeit": "52 Tage", + "Strahlungsart": "Kerne He²⁺", + "künstlich": "Ja", + "langlebigstes Isotop": "Ja" }, { - "Name": "Wasserstoff", - "Ordnungszahl": 1, - "Gruppe": "Hauptgruppe I(1)", - "Periode/Hauptquantenzahl": 1, - "Schale": "K", - "Molare Masse": "1,0080 g/mol", - "Dichte": "2,25 g/l", - "Elektronegativität": "2,20", - "Schmelztemperatur": "-259°C", - "Siedetemperatur": "-253°C", - "radioaktiv": "Nein", - "Halbwertszeit": "---", - "Strahlungsart": "---", - "künstlich": "Nein", - "langlebigstes Isotop": "---" + "Name": "Nobelium", + "Ordnungszahl": 102, + "Gruppe": "Actinoide", + "Periode/Hauptquantenzahl": 7, + "Schale": "Q", + "Molare Masse": "259 g/mol", + "Dichte": "---", + "Elektronegativität": "1,3", + "Schmelztemperatur": "---", + "Siedetemperatur": "---", + "radioaktiv": "Ja", + "Halbwertszeit": "58 Minuten", + "Strahlungsart": "Kerne He²⁺", + "künstlich": "Ja", + "langlebigstes Isotop": "Ja" }, { - "Name": "Wasserstoff", - "Ordnungszahl": 1, - "Gruppe": "Hauptgruppe I(1)", - "Periode/Hauptquantenzahl": 1, - "Schale": "K", - "Molare Masse": "1,0080 g/mol", - "Dichte": "2,25 g/l", - "Elektronegativität": "2,20", - "Schmelztemperatur": "-259°C", - "Siedetemperatur": "-253°C", - "radioaktiv": "Nein", - "Halbwertszeit": "---", - "Strahlungsart": "---", - "künstlich": "Nein", - "langlebigstes Isotop": "---" + "Name": "Lawrencium", + "Ordnungszahl": 103, + "Gruppe": "Nebengruppe IIIb(3)", + "Periode/Hauptquantenzahl": 7, + "Schale": "Q", + "Molare Masse": "262 g/mol", + "Dichte": "---", + "Elektronegativität": "---", + "Schmelztemperatur": "---", + "Siedetemperatur": "---", + "radioaktiv": "Ja", + "Halbwertszeit": "4 Stunden", + "Strahlungsart": "komplexer Kernzerfall", + "künstlich": "Ja", + "langlebigstes Isotop": "Ja" }, { - "Name": "Wasserstoff", - "Ordnungszahl": 1, - "Gruppe": "Hauptgruppe I(1)", - "Periode/Hauptquantenzahl": 1, - "Schale": "K", - "Molare Masse": "1,0080 g/mol", - "Dichte": "2,25 g/l", - "Elektronegativität": "2,20", - "Schmelztemperatur": "-259°C", - "Siedetemperatur": "-253°C", - "radioaktiv": "Nein", - "Halbwertszeit": "---", - "Strahlungsart": "---", - "künstlich": "Nein", - "langlebigstes Isotop": "---" + "Name": "Rutherfordium", + "Ordnungszahl": 104, + "Gruppe": "Nebengruppe IVb(4)", + "Periode/Hauptquantenzahl": 7, + "Schale": "Q", + "Molare Masse": "267 g/mol", + "Dichte": "---", + "Elektronegativität": "---", + "Schmelztemperatur": "---", + "Siedetemperatur": "---", + "radioaktiv": "Ja", + "Halbwertszeit": "2,5 Stunden", + "Strahlungsart": "komplexer Kernzerfall", + "künstlich": "Ja", + "langlebigstes Isotop": "Ja" }, { - "Name": "Wasserstoff", - "Ordnungszahl": 1, - "Gruppe": "Hauptgruppe I(1)", - "Periode/Hauptquantenzahl": 1, - "Schale": "K", - "Molare Masse": "1,0080 g/mol", - "Dichte": "2,25 g/l", - "Elektronegativität": "2,20", - "Schmelztemperatur": "-259°C", - "Siedetemperatur": "-253°C", - "radioaktiv": "Nein", - "Halbwertszeit": "---", - "Strahlungsart": "---", - "künstlich": "Nein", - "langlebigstes Isotop": "---" + "Name": "Dubnium", + "Ordnungszahl": 105, + "Gruppe": "Nebengruppe V(5)", + "Periode/Hauptquantenzahl": 7, + "Schale": "Q", + "Molare Masse": "270 g/mol", + "Dichte": "---", + "Elektronegativität": "---", + "Schmelztemperatur": "---", + "Siedetemperatur": "---", + "radioaktiv": "Ja", + "Halbwertszeit": "90 Stunden", + "Strahlungsart": "komplexer Kernzerfall", + "künstlich": "Ja", + "langlebigstes Isotop": "Ja" }, { - "Name": "Wasserstoff", - "Ordnungszahl": 1, - "Gruppe": "Hauptgruppe I(1)", - "Periode/Hauptquantenzahl": 1, - "Schale": "K", - "Molare Masse": "1,0080 g/mol", - "Dichte": "2,25 g/l", - "Elektronegativität": "2,20", - "Schmelztemperatur": "-259°C", - "Siedetemperatur": "-253°C", - "radioaktiv": "Nein", - "Halbwertszeit": "---", - "Strahlungsart": "---", - "künstlich": "Nein", - "langlebigstes Isotop": "---" + "Name": "Seaborgium", + "Ordnungszahl": 106, + "Gruppe": "Nebengruppe VIb(6)", + "Periode/Hauptquantenzahl": 7, + "Schale": "Q", + "Molare Masse": "269 g/mol", + "Dichte": "---", + "Elektronegativität": "---", + "Schmelztemperatur": "---", + "Siedetemperatur": "---", + "radioaktiv": "Ja", + "Halbwertszeit": "8,0 Minuten", + "Strahlungsart": "Kerne He²⁺", + "künstlich": "Ja", + "langlebigstes Isotop": "Ja" }, { - "Name": "Wasserstoff", - "Ordnungszahl": 1, - "Gruppe": "Hauptgruppe I(1)", - "Periode/Hauptquantenzahl": 1, - "Schale": "K", - "Molare Masse": "1,0080 g/mol", - "Dichte": "2,25 g/l", - "Elektronegativität": "2,20", - "Schmelztemperatur": "-259°C", - "Siedetemperatur": "-253°C", - "radioaktiv": "Nein", - "Halbwertszeit": "---", - "Strahlungsart": "---", - "künstlich": "Nein", - "langlebigstes Isotop": "---" + "Name": "Bohrium", + "Ordnungszahl": 107, + "Gruppe": "Nebengruppe VIIb(7)", + "Periode/Hauptquantenzahl": 7, + "Schale": "Q", + "Molare Masse": "270 g/mol", + "Dichte": "---", + "Elektronegativität": "---", + "Schmelztemperatur": "---", + "Siedetemperatur": "---", + "radioaktiv": "Ja", + "Halbwertszeit": "3,8 Minuten", + "Strahlungsart": "Kerne He²⁺", + "künstlich": "Ja", + "langlebigstes Isotop": "Ja" }, { - "Name": "Wasserstoff", - "Ordnungszahl": 1, - "Gruppe": "Hauptgruppe I(1)", - "Periode/Hauptquantenzahl": 1, - "Schale": "K", - "Molare Masse": "1,0080 g/mol", - "Dichte": "2,25 g/l", - "Elektronegativität": "2,20", - "Schmelztemperatur": "-259°C", - "Siedetemperatur": "-253°C", - "radioaktiv": "Nein", - "Halbwertszeit": "---", - "Strahlungsart": "---", - "künstlich": "Nein", - "langlebigstes Isotop": "---" + "Name": "Hassium", + "Ordnungszahl": 108, + "Gruppe": "Nebengruppe VIIIb(8)", + "Periode/Hauptquantenzahl": 7, + "Schale": "Q", + "Molare Masse": "270 g/mol", + "Dichte": "---", + "Elektronegativität": "---", + "Schmelztemperatur": "---", + "Siedetemperatur": "---", + "radioaktiv": "Ja", + "Halbwertszeit": "30 Sekunden", + "Strahlungsart": "Kerne He²⁺", + "künstlich": "Ja", + "langlebigstes Isotop": "Ja" }, { - "Name": "Wasserstoff", - "Ordnungszahl": 1, - "Gruppe": "Hauptgruppe I(1)", - "Periode/Hauptquantenzahl": 1, - "Schale": "K", - "Molare Masse": "1,0080 g/mol", - "Dichte": "2,25 g/l", - "Elektronegativität": "2,20", - "Schmelztemperatur": "-259°C", - "Siedetemperatur": "-253°C", - "radioaktiv": "Nein", - "Halbwertszeit": "---", - "Strahlungsart": "---", - "künstlich": "Nein", - "langlebigstes Isotop": "---" + "Name": "Meitnerium", + "Ordnungszahl": 109, + "Gruppe": "Nebengruppe VIIIb(9)", + "Periode/Hauptquantenzahl": 7, + "Schale": "Q", + "Molare Masse": "278 g/mol", + "Dichte": "---", + "Elektronegativität": "---", + "Schmelztemperatur": "---", + "Siedetemperatur": "---", + "radioaktiv": "Ja", + "Halbwertszeit": "29 Sekunden", + "Strahlungsart": "Kerne He²⁺", + "künstlich": "Ja", + "langlebigstes Isotop": "Ja" }, { - "Name": "Wasserstoff", - "Ordnungszahl": 1, - "Gruppe": "Hauptgruppe I(1)", - "Periode/Hauptquantenzahl": 1, - "Schale": "K", - "Molare Masse": "1,0080 g/mol", - "Dichte": "2,25 g/l", - "Elektronegativität": "2,20", - "Schmelztemperatur": "-259°C", - "Siedetemperatur": "-253°C", - "radioaktiv": "Nein", - "Halbwertszeit": "---", - "Strahlungsart": "---", - "künstlich": "Nein", - "langlebigstes Isotop": "---" + "Name": "Darmstadtium", + "Ordnungszahl": 110, + "Gruppe": "Nebengruppe VIIIb(10)", + "Periode/Hauptquantenzahl": 7, + "Schale": "Q", + "Molare Masse": "281 g/mol", + "Dichte": "---", + "Elektronegativität": "---", + "Schmelztemperatur": "---", + "Siedetemperatur": "---", + "radioaktiv": "Ja", + "Halbwertszeit": "14 Sekunden", + "Strahlungsart": "Kerne He²⁺", + "künstlich": "Ja", + "langlebigstes Isotop": "Ja" }, { - "Name": "Wasserstoff", - "Ordnungszahl": 1, - "Gruppe": "Hauptgruppe I(1)", - "Periode/Hauptquantenzahl": 1, - "Schale": "K", - "Molare Masse": "1,0080 g/mol", - "Dichte": "2,25 g/l", - "Elektronegativität": "2,20", - "Schmelztemperatur": "-259°C", - "Siedetemperatur": "-253°C", - "radioaktiv": "Nein", - "Halbwertszeit": "---", - "Strahlungsart": "---", - "künstlich": "Nein", - "langlebigstes Isotop": "---" + "Name": "Roentgenium", + "Ordnungszahl": 111, + "Gruppe": "Nebengruppe Ib(11)", + "Periode/Hauptquantenzahl": 7, + "Schale": "Q", + "Molare Masse": "281 g/mol", + "Dichte": "---", + "Elektronegativität": "---", + "Schmelztemperatur": "---", + "Siedetemperatur": "---", + "radioaktiv": "Ja", + "Halbwertszeit": "37 Sekunden", + "Strahlungsart": "Kerne He²⁺", + "künstlich": "Ja", + "langlebigstes Isotop": "Ja" }, { - "Name": "Wasserstoff", - "Ordnungszahl": 1, - "Gruppe": "Hauptgruppe I(1)", - "Periode/Hauptquantenzahl": 1, - "Schale": "K", - "Molare Masse": "1,0080 g/mol", - "Dichte": "2,25 g/l", - "Elektronegativität": "2,20", - "Schmelztemperatur": "-259°C", - "Siedetemperatur": "-253°C", - "radioaktiv": "Nein", - "Halbwertszeit": "---", - "Strahlungsart": "---", - "künstlich": "Nein", - "langlebigstes Isotop": "---" + "Name": "Copernicium", + "Ordnungszahl": 112, + "Gruppe": "Nebengruppe IIb(12)", + "Periode/Hauptquantenzahl": 7, + "Schale": "Q", + "Molare Masse": "285 g/mol", + "Dichte": "---", + "Elektronegativität": "---", + "Schmelztemperatur": "---", + "Siedetemperatur": "---", + "radioaktiv": "Ja", + "Halbwertszeit": "32 Sekunden", + "Strahlungsart": "Kerne He²⁺", + "künstlich": "Ja", + "langlebigstes Isotop": "Ja" }, { - "Name": "Wasserstoff", - "Ordnungszahl": 1, - "Gruppe": "Hauptgruppe I(1)", - "Periode/Hauptquantenzahl": 1, - "Schale": "K", - "Molare Masse": "1,0080 g/mol", - "Dichte": "2,25 g/l", - "Elektronegativität": "2,20", - "Schmelztemperatur": "-259°C", - "Siedetemperatur": "-253°C", - "radioaktiv": "Nein", - "Halbwertszeit": "---", - "Strahlungsart": "---", - "künstlich": "Nein", - "langlebigstes Isotop": "---" + "Name": "Nihonium", + "Ordnungszahl": 113, + "Gruppe": "Hauptgruppe III(13)", + "Periode/Hauptquantenzahl": 7, + "Schale": "Q", + "Molare Masse": "284 g/mol", + "Dichte": "---", + "Elektronegativität": "---", + "Schmelztemperatur": "---", + "Siedetemperatur": "---", + "radioaktiv": "Ja", + "Halbwertszeit": "0,48 Sekunden", + "Strahlungsart": "Kerne He²⁺", + "künstlich": "Ja", + "langlebigstes Isotop": "Ja" }, { - "Name": "Wasserstoff", - "Ordnungszahl": 1, - "Gruppe": "Hauptgruppe I(1)", - "Periode/Hauptquantenzahl": 1, - "Schale": "K", - "Molare Masse": "1,0080 g/mol", - "Dichte": "2,25 g/l", - "Elektronegativität": "2,20", - "Schmelztemperatur": "-259°C", - "Siedetemperatur": "-253°C", - "radioaktiv": "Nein", - "Halbwertszeit": "---", - "Strahlungsart": "---", - "künstlich": "Nein", - "langlebigstes Isotop": "---" + "Name": "Flerovium", + "Ordnungszahl": 114, + "Gruppe": "Hauptgruppe IV(14)", + "Periode/Hauptquantenzahl": 7, + "Schale": "Q", + "Molare Masse": "289 g/mol", + "Dichte": "---", + "Elektronegativität": "---", + "Schmelztemperatur": "---", + "Siedetemperatur": "---", + "radioaktiv": "Ja", + "Halbwertszeit": "2,4 Sekunden", + "Strahlungsart": "Kerne He²⁺", + "künstlich": "Ja", + "langlebigstes Isotop": "Ja" }, { - "Name": "Wasserstoff", - "Ordnungszahl": 1, - "Gruppe": "Hauptgruppe I(1)", - "Periode/Hauptquantenzahl": 1, - "Schale": "K", - "Molare Masse": "1,0080 g/mol", - "Dichte": "2,25 g/l", - "Elektronegativität": "2,20", - "Schmelztemperatur": "-259°C", - "Siedetemperatur": "-253°C", - "radioaktiv": "Nein", - "Halbwertszeit": "---", - "Strahlungsart": "---", - "künstlich": "Nein", - "langlebigstes Isotop": "---" + "Name": "Moscovium", + "Ordnungszahl": 115, + "Gruppe": "Hauptgruppe V(15)", + "Periode/Hauptquantenzahl": 7, + "Schale": "Q", + "Molare Masse": "289 g/mol", + "Dichte": "---", + "Elektronegativität": "---", + "Schmelztemperatur": "---", + "Siedetemperatur": "---", + "radioaktiv": "Ja", + "Halbwertszeit": "340 Millisekunden", + "Strahlungsart": "Kerne He²⁺", + "künstlich": "Ja", + "langlebigstes Isotop": "Ja" }, { - "Name": "Wasserstoff", - "Ordnungszahl": 1, - "Gruppe": "Hauptgruppe I(1)", - "Periode/Hauptquantenzahl": 1, - "Schale": "K", - "Molare Masse": "1,0080 g/mol", - "Dichte": "2,25 g/l", - "Elektronegativität": "2,20", - "Schmelztemperatur": "-259°C", - "Siedetemperatur": "-253°C", - "radioaktiv": "Nein", - "Halbwertszeit": "---", - "Strahlungsart": "---", - "künstlich": "Nein", - "langlebigstes Isotop": "---" + "Name": "Livermorium", + "Ordnungszahl": 116, + "Gruppe": "Hauptgruppe VI(16)", + "Periode/Hauptquantenzahl": 7, + "Schale": "Q", + "Molare Masse": "293 g/mol", + "Dichte": "---", + "Elektronegativität": "---", + "Schmelztemperatur": "---", + "Siedetemperatur": "---", + "radioaktiv": "Ja", + "Halbwertszeit": "80 Millisekunden", + "Strahlungsart": "Kerne He²⁺", + "künstlich": "Ja", + "langlebigstes Isotop": "Ja" }, { - "Name": "Wasserstoff", - "Ordnungszahl": 1, - "Gruppe": "Hauptgruppe I(1)", - "Periode/Hauptquantenzahl": 1, - "Schale": "K", - "Molare Masse": "1,0080 g/mol", - "Dichte": "2,25 g/l", - "Elektronegativität": "2,20", - "Schmelztemperatur": "-259°C", - "Siedetemperatur": "-253°C", - "radioaktiv": "Nein", - "Halbwertszeit": "---", - "Strahlungsart": "---", - "künstlich": "Nein", - "langlebigstes Isotop": "---" + "Name": "Tenness", + "Ordnungszahl": 117, + "Gruppe": "Hauptgruppe VII(17)", + "Periode/Hauptquantenzahl": 7, + "Schale": "Q", + "Molare Masse": "294 g/mol", + "Dichte": "---", + "Elektronegativität": "---", + "Schmelztemperatur": "---", + "Siedetemperatur": "---", + "radioaktiv": "Ja", + "Halbwertszeit": "29 Millisekunden", + "Strahlungsart": "Kerne He²⁺", + "künstlich": "Ja", + "langlebigstes Isotop": "Ja" }, { - "Name": "Wasserstoff", - "Ordnungszahl": 1, - "Gruppe": "Hauptgruppe I(1)", - "Periode/Hauptquantenzahl": 1, - "Schale": "K", - "Molare Masse": "1,0080 g/mol", - "Dichte": "2,25 g/l", - "Elektronegativität": "2,20", - "Schmelztemperatur": "-259°C", - "Siedetemperatur": "-253°C", - "radioaktiv": "Nein", - "Halbwertszeit": "---", - "Strahlungsart": "---", - "künstlich": "Nein", - "langlebigstes Isotop": "---" + "Name": "Oganesson", + "Ordnungszahl": 118, + "Gruppe": "Hauptgruppe VIII(18)", + "Periode/Hauptquantenzahl": 7, + "Schale": "Q", + "Molare Masse": "294 g/mol", + "Dichte": "---", + "Elektronegativität": "---", + "Schmelztemperatur": "---", + "Siedetemperatur": "---", + "radioaktiv": "Ja", + "Halbwertszeit": "1,4 Millisekunden", + "Strahlungsart": "Kerne He²⁺", + "künstlich": "Ja", + "langlebigstes Isotop": "Ja" }, - { - "Name": "Wasserstoff", - "Ordnungszahl": 1, - "Gruppe": "Hauptgruppe I(1)", - "Periode/Hauptquantenzahl": 1, - "Schale": "K", - "Molare Masse": "1,0080 g/mol", - "Dichte": "2,25 g/l", - "Elektronegativität": "2,20", - "Schmelztemperatur": "-259°C", - "Siedetemperatur": "-253°C", - "radioaktiv": "Nein", - "Halbwertszeit": "---", - "Strahlungsart": "---", - "künstlich": "Nein", - "langlebigstes Isotop": "---" - }, - { - "Name": "Wasserstoff", - "Ordnungszahl": 1, - "Gruppe": "Hauptgruppe I(1)", - "Periode/Hauptquantenzahl": 1, - "Schale": "K", - "Molare Masse": "1,0080 g/mol", - "Dichte": "2,25 g/l", - "Elektronegativität": "2,20", - "Schmelztemperatur": "-259°C", - "Siedetemperatur": "-253°C", - "radioaktiv": "Nein", - "Halbwertszeit": "---", - "Strahlungsart": "---", - "künstlich": "Nein", - "langlebigstes Isotop": "---" - } ] } \ No newline at end of file diff --git a/app/src/main/java/com/schoolapp/cleverclass/AboutActivity.kt b/app/src/main/java/com/schoolapp/cleverclass/AboutActivity.kt index 3c3b749..a3f4291 100644 --- a/app/src/main/java/com/schoolapp/cleverclass/AboutActivity.kt +++ b/app/src/main/java/com/schoolapp/cleverclass/AboutActivity.kt @@ -24,6 +24,7 @@ import androidx.compose.material3.TopAppBar import androidx.compose.material3.TopAppBarDefaults import androidx.compose.runtime.Composable import androidx.compose.ui.Modifier +import androidx.compose.ui.unit.Dp import androidx.compose.ui.unit.dp import com.schoolapp.cleverclass.ui.theme.CleverClassTheme @@ -70,14 +71,18 @@ fun AboutContent(activity: ComponentActivity){ .verticalScroll(rememberScrollState()) .fillMaxWidth()) { - Spacer(modifier = Modifier.height(16.dp)) - Text(text = "This Product is published under the\nGNU General Public License\nVersion 3, 29 June 2007", - style = MaterialTheme.typography.bodySmall, - modifier = Modifier.padding(start = 16.dp, end = 16.dp)) - Spacer(modifier = Modifier.height(32.dp)) - Text(text = "Developed by:\n- Paul Posch\n- Matthias Meyer\n- Jakub Szarko\n- Emilian Bührer", - style = MaterialTheme.typography.bodySmall, - modifier = Modifier.padding(start = 16.dp, end = 16.dp)) + AboutTextElement("This Product is published under the\nGNU General Public License\nVersion 3, 29 June 2007", 16.dp) + AboutTextElement("Developed by:\n- Paul Posch\n- Matthias Meyer\n- Jakub Szarko\n- Emilian Bührer", 32.dp) + AboutTextElement("Fun Facts:\nThis app consists of 2.873 lines of code\nThe repository is 413KB big\nThe development took about 3 month", 64.dp) //TODO: Update before launch } } +} + +@Composable +fun AboutTextElement(text: String, space: Dp){ + Spacer(modifier = Modifier.height(space)) + Text(text = text, + style = MaterialTheme.typography.bodySmall, + color = MaterialTheme.colorScheme.onBackground, + modifier = Modifier.padding(start = 16.dp, end = 16.dp)) } \ No newline at end of file diff --git a/app/src/main/java/com/schoolapp/cleverclass/PSEActivity.kt b/app/src/main/java/com/schoolapp/cleverclass/PSEActivity.kt index 062e90a..ee51390 100644 --- a/app/src/main/java/com/schoolapp/cleverclass/PSEActivity.kt +++ b/app/src/main/java/com/schoolapp/cleverclass/PSEActivity.kt @@ -1,6 +1,5 @@ package com.schoolapp.cleverclass -import android.content.Context import android.os.Bundle import androidx.activity.ComponentActivity import androidx.activity.compose.setContent @@ -94,34 +93,38 @@ private val shells = listOf( "K", "L", "M", "N", "O", "P", "Q" ) +private val elementNameList = listOf( + "H", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "He", + "Li", "Be", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "B", "C", "N", "O", "F", "Ne", + "Na", "Mg", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "Al", "Si", "P", "S", "Cl", "Ar", + "K", "Ca", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "Sc", "Ti", "V", "Cr", "Mn", "Fe", "Co", "Ni", "Cu", "Zn", "Ga", "Ge", "As", "Se", "Br", "Kr", + "Rb", "Sr", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "Y", "Zr", "Nb", "Mo", "Tc", "Ru", "Rh", "Pd", "Ag", "Cd", "In", "Sn", "Sb", "Te", "I", "Xe", + "Cs", "Ba", "La", "Ce", "Pr", "Nd", "Pm", "Sm", "Eu", "Gd", "Tb", "Dy", "Ho", "Er", "Tm", "Yb", "Lu", "Hf", "Ta", "W", "Re", "Os", "Ir", "Pt", "Au", "Hg", "Tl", "Pb", "Bi", "Po", "At", "Rn", + "Fr", "Ra", "Ac", "Th", "Pa", "U", "Np", "Pu", "Am", "Cm", "Bk", "Cf", "Es", "Fm", "Md", "No", "Lr", "Rf", "Db", "Sg", "Bh", "Hs", "Mt", "Ds", "Rg", "Cn", "Nh", "Fl", "Mc", "Lv", "Ts", "Og" +) +private val elementButtonColors = listOf( + 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, + 1, 1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1, 1, 1, 1, 1, 1, + 2, 2, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2, 2, 2, 2, 2, 2, + 3, 3, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, + 4, 4, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, + 5, 5, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 5, 5, 5, 5, 5, 5, + 6, 6, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 6, 6, 6, 6, 6, 6 +) + // Content of PSE @OptIn(ExperimentalMaterial3Api::class) @Composable fun PSEMainContent(activity: ComponentActivity) { + val inputStream = activity.assets.open("elements_data.json") + val rootObj = JSONObject(InputStreamReader(inputStream).readText()) + var showInfo by remember { mutableStateOf(false) } var dialogChooser by remember { mutableStateOf(-1) } - val elementNameList = listOf( - "H", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "He", - "Li", "Be", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "B", "C", "N", "O", "F", "Ne", - "Na", "Mg", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "Al", "Si", "P", "S", "Cl", "Ar", - "K", "Ca", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "Sc", "Ti", "V", "Cr", "Mn", "Fe", "Co", "Ni", "Cu", "Zn", "Ga", "Ge", "As", "Se", "Br", "Kr", - "Rb", "Sr", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "Y", "Zr", "Nb", "Mo", "Tc", "Ru", "Rh", "Pd", "Ag", "Cd", "In", "Sn", "Sb", "Te", "I", "Xe", - "Cs", "Ba", "La", "Ce", "Pr", "Nd", "Pm", "Sm", "Eu", "Gd", "Tb", "Dy", "Ho", "Er", "Tm", "Yb", "Lu", "Hf", "Ta", "W", "Re", "Os", "Ir", "Pt", "Au", "Hg", "Tl", "Pb", "Bi", "Po", "At", "Rn", - "Fr", "Ra", "Ac", "Th", "Pa", "U", "Np", "Pu", "Am", "Cm", "Bk", "Cf", "Es", "Fm", "Md", "No", "Lr", "Rf", "Db", "Sg", "Bh", "Hs", "Mt", "Ds", "Rg", "Cn", "Nh", "Fl", "Mc", "Lv", "Ts", "Og" - ) - val elementButtonColors = listOf( - 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, - 1, 1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1, 1, 1, 1, 1, 1, - 2, 2, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2, 2, 2, 2, 2, 2, - 3, 3, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, - 4, 4, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, - 5, 5, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 5, 5, 5, 5, 5, 5, - 6, 6, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 6, 6, 6, 6, 6, 6 - ) Column { TopAppBar( colors = TopAppBarDefaults.centerAlignedTopAppBarColors(MaterialTheme.colorScheme.primaryContainer), @@ -174,22 +177,9 @@ fun PSEMainContent(activity: ComponentActivity) { for (element in 0..31) { val index = row * 32 + element if (elementNameList[index] != "") { - Box(modifier = Modifier - .padding(3.dp) - .size(60.dp) - .background( - color = colors[elementButtonColors[index]], - shape = RoundedCornerShape(5) - ) - .clickable { dialogChooser = ++dialogCounter } - ) { - Text( - modifier = Modifier.align(Alignment.Center), - text = elementNameList[index], - color = com.schoolapp.cleverclass.ui.theme.TextOnColouredButton, - style = MaterialTheme.typography.labelLarge - ) - } + val elementJsonIndex = dialogCounter + ++dialogCounter + ElementBox(arrayIndex = index, onClick = { dialogChooser = elementJsonIndex }) } else { Box( modifier = Modifier @@ -214,7 +204,7 @@ fun PSEMainContent(activity: ComponentActivity) { modifier = Modifier .verticalScroll(rememberScrollState()) .horizontalScroll(rememberScrollState()), - text = readElementData(activity, dcValue), + text = readElementData(rootObj, dcValue), color = MaterialTheme.colorScheme.onPrimaryContainer, style = MaterialTheme.typography.labelMedium ) @@ -264,6 +254,26 @@ fun PSEMainContent(activity: ComponentActivity) { } +@Composable +fun ElementBox(arrayIndex: Int, onClick: () -> Unit){ + Box(modifier = Modifier + .padding(3.dp) + .size(60.dp) + .background( + color = colors[elementButtonColors[arrayIndex]], + shape = RoundedCornerShape(5) + ) + .clickable { onClick() } + ) { + Text( + modifier = Modifier.align(Alignment.Center), + text = elementNameList[arrayIndex], + color = com.schoolapp.cleverclass.ui.theme.TextOnColouredButton, + style = MaterialTheme.typography.labelLarge + ) + } +} + @Composable fun InformationBox(text: String, color: Color){ Box(modifier = Modifier @@ -283,10 +293,8 @@ fun InformationBox(text: String, color: Color){ } } -fun readElementData(context: Context, int: Int): String { - val inputStream = context.assets.open("elements_data.json") - val rootObj = JSONObject(InputStreamReader(inputStream).readText()) - val elementData = rootObj.getJSONArray("elements").getJSONObject(int) +private fun readElementData(jsonObject: JSONObject, int: Int): String { + val elementData = jsonObject.getJSONArray("elements").getJSONObject(int) return "Name:\n${elementData.get("Name")}\n\n" + "Ordnungszahl:\n${elementData.get("Ordnungszahl")}\n\n" + "Gruppe:\n${elementData.get("Gruppe")}\n\n" +