Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <androidx.constraintlayout.widget.ConstraintLayout
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:orientation="vertical"
- android:layout_marginRight="@dimen/margin">
- <com.an.constraintlayout.sample.views.CircleImageView
- android:id="@+id/profile_image"
- android:layout_width="@dimen/profile_item_image_size"
- android:layout_height="@dimen/profile_item_image_size"
- android:layout_marginLeft="@dimen/margin"
- android:layout_marginRight="@dimen/margin"
- app:civ_border_color="@android:color/transparent"
- app:civ_border_width="0dp"
- app:layout_constraintHorizontal_bias="0.5"
- app:layout_constraintLeft_toRightOf="parent"
- app:layout_constraintRight_toLeftOf="parent"
- app:layout_constraintTop_toTopOf="parent" />
- <com.an.customfontview.CustomTextView
- android:id="@+id/txt_name"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginLeft="@dimen/margin"
- android:layout_marginTop="@dimen/margin_small"
- android:layout_marginRight="@dimen/margin"
- android:ellipsize="end"
- android:maxEms="6"
- android:maxLines="1"
- android:textColor="@color/profile_item_name"
- android:textSize="@dimen/font_small"
- app:layout_constraintHorizontal_bias="0.5"
- app:layout_constraintLeft_toRightOf="parent"
- app:layout_constraintRight_toLeftOf="parent"
- app:layout_constraintTop_toBottomOf="@+id/profile_image"
- app:textFontPath="fonts/gt_medium.otf" />
- <com.an.customfontview.CustomTextView
- android:id="@+id/txt_info"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_below="@+id/txt_name"
- android:layout_marginLeft="@dimen/margin_small"
- android:layout_marginTop="@dimen/margin_xsmall"
- android:layout_marginRight="@dimen/margin_small"
- android:ellipsize="end"
- android:maxEms="6"
- android:maxLines="1"
- android:textColor="@color/profile_item_info"
- android:textSize="@dimen/font_xsmall"
- app:layout_constraintHorizontal_bias="0.5"
- app:layout_constraintLeft_toRightOf="parent"
- app:layout_constraintRight_toLeftOf="parent"
- app:layout_constraintTop_toBottomOf="@+id/txt_name"
- app:textFontPath="fonts/gt_medium.otf" />
- </androidx.constraintlayout.widget.ConstraintLayout>
Add Comment
Please, Sign In to add comment