Created
June 3, 2021 11:04
-
-
Save ajailani4/300472c2b67a153b95f252ee7467685e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
xmlns:app="http://schemas.android.com/apk/res-auto" | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
xmlns:tools="http://schemas.android.com/tools"> | |
<androidx.appcompat.widget.AppCompatTextView | |
android:id="@+id/name" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:layout_marginStart="20dp" | |
android:layout_marginTop="15dp" | |
android:fontFamily="@font/montserrat_bold" | |
android:textColor="@color/black" | |
android:textSize="16sp" | |
app:layout_constraintStart_toStartOf="parent" | |
app:layout_constraintTop_toTopOf="parent" | |
tools:text="Samsung" /> | |
<!-- Phones List --> | |
<androidx.appcompat.widget.AppCompatImageView | |
android:id="@+id/moreIv" | |
android:layout_width="20dp" | |
android:layout_height="20dp" | |
android:layout_marginTop="18dp" | |
android:layout_marginEnd="20dp" | |
android:background="?android:attr/actionBarItemBackground" | |
android:clickable="true" | |
android:focusable="true" | |
android:src="@drawable/ic_more" | |
app:layout_constraintEnd_toEndOf="parent" | |
app:layout_constraintTop_toTopOf="parent" | |
app:tint="@color/black" /> | |
<androidx.recyclerview.widget.RecyclerView | |
android:id="@+id/phonesHomeRv" | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:layout_marginTop="10dp" | |
android:paddingStart="10dp" | |
android:paddingEnd="10dp" | |
android:paddingBottom="10dp" | |
android:clipToPadding="false" | |
android:overScrollMode="never" | |
android:scrollbars="horizontal" | |
app:layout_constraintBottom_toBottomOf="parent" | |
app:layout_constraintEnd_toEndOf="parent" | |
app:layout_constraintStart_toStartOf="parent" | |
app:layout_constraintTop_toBottomOf="@+id/name" /> | |
</androidx.constraintlayout.widget.ConstraintLayout> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment