A simple replication of the
TextInputLayout
from the Android design library
libraryDependencies += "io.taig.android" % "floating-label-layout" % "[version]"
dependencies {
compile 'io.taig.android:floating-label-layout:[version]@aar'
}
<io.taig.android.widget.FloatingLabelLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="My label string">
<RadioGroup ... />
</io.taig.android.widget.FloatingLabelLayout>`