
Widoki i grupy widoków
189
jesteś tutaj
¨
Układ LinearLayout
¨
Układ FrameLayout
¨
Układ LinearLayout
¨
Układ FrameLayout
<?xml version=”1.0” encoding=”utf-8”?>
<FrameLayout xmlns:android=”http://schemas.android.com/apk/res/android”
xmlns:tools=”http://schemas.android.com/tools”
android:layout_width=”match_parent”
android:layout_height=”wrap_content”
tools:context=”com.hfad.kaczusia.MainActivity”>
<ImageView
android:layout_width=”match_parent”
android:layout_height=”wrap_content”
android:scaleType=”centerCrop”
android:src=”@drawable/duck”/>
<TextView
android:layout_width=”wrap_content”
android:layout_height=”wrap_content”
android:padding=”16dp” ...