Commit 6c9b806c by tungnq

TODO: Đã hoàn thiện xong giao diện bảng có chức năng switch

parent 122d682e
......@@ -56,8 +56,18 @@ const styles = StyleSheet.create({
flexDirection: 'row',
backgroundColor: R.colors.blue2,
height: 50,
},
headerCell: {
height: 50,
paddingVertical: 12,
paddingHorizontal: 8,
paddingHorizontal: 4,
borderRightWidth: 1,
borderRightColor: R.colors.gray3,
borderBottomWidth: 1,
borderBottomColor: R.colors.gray3,
justifyContent: 'center',
alignItems: 'center',
backgroundColor: R.colors.blue2,
},
headerText: {
fontSize: 12,
......
......@@ -55,11 +55,21 @@ const ListStudentRollCallView = props => {
const renderTableHeader = () => (
<View style={styles.tableHeader}>
<Text style={[styles.headerText, styles.codeColumn]}>Mã sv</Text>
<Text style={[styles.headerText, styles.nameColumn]}>H và tên</Text>
<Text style={[styles.headerText, styles.dateColumn]}>Ngày hc</Text>
<Text style={[styles.headerText, styles.statusColumn]}>Trng thái</Text>
<Text style={[styles.headerText, styles.noteColumn]}>Ghi chú</Text>
<View style={[styles.headerCell, styles.codeColumn]}>
<Text style={styles.headerText}>Mã sv</Text>
</View>
<View style={[styles.headerCell, styles.nameColumn]}>
<Text style={styles.headerText}>H và tên</Text>
</View>
<View style={[styles.headerCell, styles.dateColumn]}>
<Text style={styles.headerText}>Ngày hc</Text>
</View>
<View style={[styles.headerCell, styles.statusColumn]}>
<Text style={styles.headerText}>Trng thái</Text>
</View>
<View style={[styles.headerCell, styles.noteColumn]}>
<Text style={styles.headerText}>Ghi chú</Text>
</View>
</View>
);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment