please find below my layout & its result ; I need the text \'Text message\' to align on the baseline of the text \'Header\'(Please find bel
For ConstraintLayout
just use this↓ to align to another textView
baseline:
app:layout_constraintBaseline_toBaselineOf="@+id/textView"
Use RelativeLayout as a container for TextViews and add the attribute
android:layout_alignBaseline="@+id/title"
to id/language TextView
On Component tree select both component you want to be in same base, right click and then select show baseline. Just drag baseline of two components.
Just use the android:gravity="bottom" on LinearLayout(The linear with the both textviews) and android:layout_height="wrap_content" in both TextViews.