<?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/item_operation_select" android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="horizontal" > <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginTop="10dp" android:orientation="horizontal"> <TextView android:id="@+id/operation_name" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_weight="1" android:minHeight="10dp" android:paddingBottom="10dp" android:paddingLeft="6dip" android:paddingTop="10dp" android:text="@string/dummy_str" android:textAppearance="?android:attr/textAppearanceMedium" android:textColor="@color/text_select" /> <ImageView android:id="@+id/nextLevel" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignParentRight="true" android:layout_gravity="center" android:src="@drawable/ic_navigation_next_item" android:visibility="visible" /> </LinearLayout> </RelativeLayout>