Which ViewGroup would be most suitable to create a layout with two buttons side-by-side?
4 phương ánCó giải thích
Các phương án trả lời
Chọn một phương ánLời giảiChọn phương án để mở
Để tạo một layout với hai nút button nằm cạnh nhau, chúng ta nên sử dụng ViewGroup LinearLayout. LinearLayout cho phép chúng ta sắp xếp các view theo chiều dọc hoặc chiều ngang. Trong trường hợp này, chúng ta muốn hai nút button nằm cạnh nhau theo chiều ngang, vì vậy LinearLayout là lựa chọn phù hợp.
Cùng chương 3
Assume you have a TextView with a textSize attribute of 16sp. This TextView also has a style applied to it which sets textSize to 14sp. In addition, there is also a theme in the app that sets textSize to 12sp. What is the actual textSize of the TextView that will be displayed on screen?Có lời giảiCâu hỏiWhat is the name of the file in which you create options menu items?Có lời giảiCâu hỏiTo display text which control will you use?Có lời giảiCâu hỏiCả 37 câu của chủ đề37 câu
Đi tiếp từ đây