Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
136 lines (122 sloc) 5.28 KB
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".view.ui.Activity.MainActivity"
>
<!--<androidx.core.widget.NestedScrollView
android:layout_width="match_parent"
android:layout_height="wrap_content"
>-->
<!--<TextView
android:id="@+id/txt_xml"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintLeft_toLeftOf="parent"
android:text="Shawn Mendes"
android:textAllCaps="false"
android:textColor="#000000"
android:textSize="15sp"
/>-->
<androidx.constraintlayout.widget.ConstraintLayout
android:id="@+id/const1"
android:layout_width="match_parent"
android:layout_height="68dp"
app:layout_constraintTop_toTopOf="parent"
>
<ImageView
android:id="@+id/edit_img_xml"
android:layout_width="24dp"
android:layout_height="24dp"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintLeft_toLeftOf="@id/edit_xml"
android:src="@drawable/research"
/>
<TextView
android:id="@+id/edit_txt_xml"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="16dp"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintLeft_toRightOf="@id/edit_img_xml"
android:textColor="#B3B3B3"
android:text="search by artists name"
android:textSize="15sp"
android:textAllCaps="false"
/>
<EditText
android:id="@+id/edit_xml"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintBottom_toBottomOf="parent"
android:layout_marginLeft="32dp"
android:layout_marginRight="32dp"
android:backgroundTint="#FAFAFA"
android:textColorHint="#B3B3B3"
/>
</androidx.constraintlayout.widget.ConstraintLayout>
<ImageView
android:id="@+id/img_xml"
android:layout_width="match_parent"
android:layout_height="350dp"
app:layout_constraintTop_toBottomOf="@+id/const1"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintLeft_toLeftOf="parent"
android:src="@drawable/pic"
android:scaleType="fitXY"
/>
<Button
android:id="@+id/btn_xml"
android:layout_width="wrap_content"
android:layout_height="32dp"
app:layout_constraintBottom_toTopOf="@id/artist_name_xml"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintLeft_toLeftOf="parent"
android:background="@drawable/rounded"
android:text="Top featured"
android:textColor="#ffffff"
android:textSize="14sp"
android:paddingLeft="12dp"
android:paddingRight="12dp"
android:layout_marginBottom="16dp"
/>
<TextView
android:id="@+id/artist_name_xml"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:layout_constraintBottom_toBottomOf="@id/img_xml"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintLeft_toLeftOf="parent"
android:textColor="#ffffff"
android:text="Shawn Mendes"
android:textAllCaps="false"
android:textSize="28sp"
android:layout_marginBottom="20dp"
/>
<com.google.android.material.tabs.TabLayout
android:id="@+id/tab_xml"
android:layout_width="match_parent"
android:layout_height="?attr/actionBarSize"
app:layout_constraintTop_toBottomOf="@+id/img_xml"
app:tabIndicatorColor="#FAFAFA"
app:tabTextAppearance="@style/CustomTextAppearance"
android:layout_marginLeft="16dp"
android:layout_marginRight="16dp"
/>
<androidx.viewpager.widget.ViewPager
android:id="@+id/view_pager_xml"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:layout_constraintTop_toBottomOf="@id/tab_xml"
android:layout_marginTop="8dp"
/>
<!-- </androidx.core.widget.NestedScrollView>-->
</androidx.constraintlayout.widget.ConstraintLayout>
You can’t perform that action at this time.