main.xml
имеет ListView
и ImageView
. Сейчас ListView
находится за ImageView
. Как я могу сделать, когда пользователь прикасается к экрану, ImageView
помещается за ListView
. Как я могу реализовать в программе? Мой main.xml
выглядит следующим образом.Изменение порядка просмотра в программе
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
>
<LinearLayout android:id="@+id/tracker_container"
android:layout_width="match_parent"
android:layout_height="0dip"
android:layout_weight="1"
android:orientation="vertical"
/>
<ImageView
android:id="@+id/imageView1"
android:contentDescription="@string/display"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/im1"
/>
</LinearLayout>
где ListView в этом XML? есть только linearlayouts и imageview –
Нет У меня есть другой xml для фрагмента списка. – batuman
, тогда включите его, чтобы мы могли помочь –