This question already has an answer here:
Why am I getting a CircularDependencyException?
You have defined your title to be above your subtitle, and your subtitle to be below your title:
<TextView android:id="@+id/title" ... android:layout_above="@+id/subtitle" ... /> <TextView android:id="@+id/subtitle" ... android:layout_below="@+id/title" ... />
That's a circular reference: To position
title, Android first needs to determine the position of
subtitle. However, to position
subtitle, it needs to determine the position of
You need to make sure that Android can position your elements without getting into a depencendy loop. For example, positioning the title at the top, and then positioning the subtitle below the title would be fine.