Android layout 我需要对齐3个文本视图,它们应该放置在布局的中心,不使用任何填充

Android layout 我需要对齐3个文本视图,它们应该放置在布局的中心,不使用任何填充,android-layout,Android Layout,视图应如下所示 TextView TextView TextView 请试试这个 <LinearLayout width="match_parent" height="match_parent" orientation="vertical"> <TextView with="wrap_content" height="wrap_content" android:gravity="

视图应如下所示


                       TextView
                       TextView TextView
请试试这个

<LinearLayout width="match_parent" height="match_parent" orientation="vertical">

 <TextView with="wrap_content" height="wrap_content" android:gravity="center"/>


 <LinearLayout width="match_parent" height="match_parent" orientation="horizontal"    android:gravity="center">

   <TextView with="wrap_content" height="wrap_content"/>

   <TextView with="wrap_content" height="wrap_content"/>

 </LinearLayout>

</LinearLayout>