У меня есть фрагмент с двумя TextViews и ImageView, и я хочу наложить ограничения на эти представления. Как я могу это сделать? Потому что у меня есть только поля для фрагментов, но я не вижу ограничения макета для атрибутов.
<?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="match_parent"
tools:context=".saludoscongratulationsfragment">
<!-- TODO: Update blank fragment layout -->
<TextView
android:id="@+id/titulo"
android:layout_width="300dp"
android:layout_height="95dp"
android:layout_marginTop="16dp"
android:text="Lección completada!"
android:textColor="@android:color/holo_red_dark"
android:textSize="30sp"
/>
<ImageView
android:id="@+id/fuegosartificiales"
android:layout_width="match_parent"
android:layout_height="386dp"
android:layout_marginTop="92dp" />
Спасибо