0
私はアンドロイドスタジオには新しく、実際にイメージビューをバックグラウンドとして設定する方法はわかりません。私はどのように背景としてイメージビューを設定しましたか?
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:orientation="vertical" android:layout_width="match_parent"
android:layout_height="match_parent"
android:weightSum="1"
>
<ImageView
android:layout_width="match_parent"
android:layout_height="match_parent"
app:srcCompat="@android:drawable/arrow_up_float"
android:id="@+id/imageViewFull" />
このソリューションの多くのリンクがある – Athul
http://stackoverflow.com/questions/16135984/full-screen-background-image-in-an -activity?noredirect = 1&lq = 1 – Athul