【发布时间】:2016-12-20 21:41:57
【问题描述】:
我是 android studio 的新手,真的不知道如何将 Imageview 设置为背景。
<?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" />
【问题讨论】:
-
这个解决方案有很多链接
标签: android background imageview