У меня есть два текстовых вида (TV_1, TV_2). Я хочу установить TV_2 прямо справа от TV_1. Это значит
<RelativeLayout
android:id="@+id/xrays_dicom_alert_TnC"
android:layout_height="wrap_content"
android:layout_width="fill_parent"
android:layout_marginTop="20dp">
<CheckBox
android:id="@+id/xrays_dicom_alert_cb"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"/>
<TextView
android:id="@+id/xrays_dicom_alert_TnC_text"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_toRightOf="@id/xrays_dicom_alert_cb"
android:text="I have read I agree to the following"
android:textColor="@color/black"
android:textAppearance="?android:attr/textAppearanceMedium" />
<TextView
android:id="@+id/xrays_dicom_alert_statement"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_toRightOf="@id/xrays_dicom_alert_cb"
android:layout_below="@id/xrays_dicom_alert_TnC_text"
android:layout_alignRight="@id/xrays_dicom_alert_TnC_text"
android:text="Statement"
android:textColor="@color/black"
android:layout_weight="1"
android:textAppearance="?android:attr/textAppearanceMedium" />
</RelativeLayout>
Это невозможно в Android.
Вид занимает прямоугольную область на экране.
http://www.androidadb.com/class/android/view/View.java.html
Или вам нужно сделать что-то подобное
Чтобы сделать интерактивный текст в TextView, вы можете использовать концепцию Spannable. http://developer.android.com/reference/android/text/Spannable.html
использовать URLSpan
http://www.androidadb.com/class/ur/URLSpan.html
Я думаю, это невозможно в шаблоне, что вы просили.