Может ли кто-нибудь помочь мне с размещением моего права под названием? Я относительно новым для андроида программирования и извините за мой плохой английский: DНе удалось разместить мой TextView справа
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="horizontal" android:layout_width="match_parent"
android:layout_height="match_parent">
<ImageView
android:id="@+id/listIcon"
android:padding="8dp"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:src="@drawable/facebook"/>
<TextView
android:id="@+id/listText"
android:layout_gravity="center_vertical"
android:padding="8dp"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Title" />
<TextView
android:id="@+id/listTextDescription"
android:layout_gravity="center_vertical"
android:padding="8dp"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Undertitle" />
</LinearLayout>
Что не так с этим XML? Можете ли вы дать описание того, что вы получаете по сравнению с тем, что хотите? – Nacho
@ Nacho Проблема уже решена, но спасибо! – Ron