Placing a TextView below two ImageViews and in middle - Android -


please share code achieve layout of screen shown in below link. text should in center of 2 images , these components can dynamic.

(https://docs.google.com/file/d/0b9n2ihvep_qendfkawfhverqovk/edit?usp=sharing)

https://www.dropbox.com/s/2j4bpwdmv0wgesg/untitled%20diagram.png

hope works

<linearlayout xmlns:android="http://schemas.android.com/apk/res/android"     xmlns:tools="http://schemas.android.com/tools"     android:id="@+id/pager"     android:layout_width="match_parent"     android:layout_height="match_parent"     android:orientation="vertical"      >  <linearlayout     android:layout_width="match_parent"     android:layout_height="wrap_content" >      <imageview         android:id="@+id/imageview1"         android:layout_width="0dp"         android:layout_height="wrap_content"         android:layout_weight="1"          />      <imageview         android:id="@+id/imageview2"         android:layout_width="0dp"         android:layout_height="wrap_content"         android:layout_weight="1"          />  </linearlayout>  <textview         android:id="@+id/textview1"         android:layout_width="wrap_content"         android:layout_height="wrap_content"         android:layout_gravity="center_horizontal"         android:gravity="center_horizontal"         android:text="textview" />  </linearlayout> 

Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -