TAILIEUCHUNG - Hướng dẫn lập trình cơ bản và nâng cao với Android 8

B2: Đi tới res/ để xây dựng giao diện cho chương trình: Mã: | Hướng dan lạp trinh cơ bàn VỠI Android Part 8 B2 Đi tới res để xây dựng giao diện cho chương trình Mã xml version encoding utf-8 LinearLayout xmlns android http apk res andro id android orientation vertical android layout_width fill_parent android layout_height fill_parent EditText android id @ id work_enter android layout_width fill_parent android layout_height wrap_content android hint @string work_hint android lines 1 android textSize 24px LinearLayout android layout_width wrap_content android layout_height wrap_content android orientation horizontal TextView android layout_width 50px android layout_height wrap_content android text @string hour_edit android typeface normal android textSize 15px android textStyle bold android padding 5px EditText android id @ id hour_edit android layout_width 45px android layout_height wrap_content android hint 12 android textColorHint @color hint_color android textSize 20px android gravity center android padding 5px android numeric integer android maxLength 2 TextView android layout_width 65px android layout_height wrap_content android text @string minute_edit android typeface normal android textSize 15px android textStyle bold android padding 5px EditText android id @ id minute_edit android layout_width 45px android layout_height wrap_content android hint 00 android textColorHint @color hint_color android textSize 20px android gravity center android padding 5px android numeric integer android maxLength 2 LinearLayout Button android id @ id button android layout_width wrap_content android layout_height wrap_content android gravity center android text @string button_content ListView android id @ id list android layout_width fill_parent android layout_height wrap_content LinearLayout Giao diện ta thiết kế ở đây có 1 Linear Layout làm thành phần chính các thành phần con của nó gồm 1 Edit Text dùng để nhập nội dung công việc 1 Linear Layout lại gồm các thành phần con để nhập giờ và phút thực hiện .

TỪ KHÓA LIÊN QUAN
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.