In a linear layout, which attribute can you add to switch to horizontal orientation?

In a linear layout, which attribute can you add to switch to horizontal orientation?











a. android:weight=
"horizontal"
b. android:orientation=
"horizontal"
c. android:gravity=
"horizontal"
d. android:layout=
"horizontal"














Answer: B


Android

Learn More Multiple Choice Question :