Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?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=".MainActivity">
- <Button
- android:id="@+id/button3"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_marginTop="8dp"
- android:layout_marginEnd="8dp"
- android:layout_marginRight="8dp"
- android:background="@color/colorAccent"
- android:text="Buy"
- android:textColor="@android:color/white"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintEnd_toStartOf="@+id/guideline4"
- app:layout_constraintHorizontal_bias="0.5"
- app:layout_constraintStart_toEndOf="@+id/button4"
- app:layout_constraintTop_toBottomOf="@+id/imageView2" />
- <Button
- android:id="@+id/button4"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_marginStart="8dp"
- android:layout_marginLeft="8dp"
- android:layout_marginTop="8dp"
- android:layout_marginEnd="8dp"
- android:layout_marginRight="8dp"
- android:background="@color/colorAccent"
- android:text="Borrow"
- android:textColor="@android:color/white"
- app:layout_constraintEnd_toStartOf="@+id/button3"
- app:layout_constraintHorizontal_bias="0.5"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toBottomOf="@+id/imageView2" />
- <ImageView
- android:id="@+id/imageView2"
- android:layout_width="0dp"
- android:layout_height="180dp"
- app:layout_constraintBottom_toBottomOf="@+id/imageView"
- app:layout_constraintDimensionRatio="w,340:335"
- app:layout_constraintEnd_toStartOf="@+id/guideline4"
- app:layout_constraintTop_toBottomOf="@+id/imageView"
- app:srcCompat="@drawable/cover" />
- <ImageView
- android:id="@+id/imageView"
- android:layout_width="0dp"
- android:layout_height="0dp"
- android:scaleType="centerCrop"
- app:layout_constraintDimensionRatio="2:1"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintHorizontal_bias="0.0"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toTopOf="parent"
- app:srcCompat="@drawable/header" />
- <ImageView
- android:id="@+id/imageView3"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:tint="#E91E63"
- app:layout_constraintStart_toStartOf="@+id/guideline3"
- app:layout_constraintTop_toBottomOf="@+id/imageView"
- app:srcCompat="@drawable/ic_bookmark_black_24dp" />
- <TextView
- android:id="@+id/textView"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_marginStart="8dp"
- android:layout_marginLeft="8dp"
- android:layout_marginTop="8dp"
- android:layout_marginEnd="8dp"
- android:layout_marginRight="8dp"
- android:text="نماذج من تراحم علماء المسلمين"
- android:textAppearance="@style/TextAppearance.AppCompat.Medium"
- android:textStyle="bold"
- app:layout_constraintEnd_toStartOf="@+id/imageView2"
- app:layout_constraintStart_toEndOf="@+id/imageView3"
- app:layout_constraintTop_toBottomOf="@+id/imageView" />
- <TextView
- android:id="@+id/textView2"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginTop="8dp"
- android:text="ربيع عبدالرؤوف الزواوي"
- app:layout_constraintEnd_toStartOf="@+id/imageView2"
- app:layout_constraintTop_toBottomOf="@+id/textView" />
- <View
- android:id="@+id/divider"
- android:layout_width="match_parent"
- android:layout_height="1dp"
- android:layout_marginTop="16dp"
- android:background="?android:attr/listDivider"
- app:layout_constraintEnd_toStartOf="@+id/guideline4"
- app:layout_constraintStart_toStartOf="@+id/guideline3"
- app:layout_constraintTop_toBottomOf="@+id/button3" />
- <androidx.constraintlayout.widget.Guideline
- android:id="@+id/guideline3"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:orientation="vertical"
- app:layout_constraintGuide_percent="0.03" />
- <androidx.constraintlayout.widget.Guideline
- android:id="@+id/guideline4"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:orientation="vertical"
- app:layout_constraintGuide_percent="0.969697" />
- <com.google.android.material.floatingactionbutton.FloatingActionButton
- android:id="@+id/floatingActionButton4"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:clickable="true"
- app:layout_constraintEnd_toStartOf="@+id/floatingActionButton6"
- app:layout_constraintHorizontal_bias="0.5"
- app:layout_constraintStart_toEndOf="@+id/guideline3"
- app:layout_constraintTop_toTopOf="@+id/floatingActionButton5"
- app:srcCompat="@drawable/ic_star_black_24dp" />
- <com.google.android.material.floatingactionbutton.FloatingActionButton
- android:id="@+id/floatingActionButton5"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:clickable="true"
- app:layout_constraintEnd_toStartOf="@+id/floatingActionButton7"
- app:layout_constraintHorizontal_bias="0.5"
- app:layout_constraintStart_toEndOf="@+id/floatingActionButton6"
- app:layout_constraintTop_toTopOf="@+id/floatingActionButton6"
- app:srcCompat="@drawable/ic_restore_black_24dp" />
- <com.google.android.material.floatingactionbutton.FloatingActionButton
- android:id="@+id/floatingActionButton6"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:clickable="true"
- app:layout_constraintEnd_toStartOf="@+id/floatingActionButton5"
- app:layout_constraintHorizontal_bias="0.5"
- app:layout_constraintStart_toEndOf="@+id/floatingActionButton4"
- app:layout_constraintTop_toTopOf="@+id/floatingActionButton7"
- app:srcCompat="@drawable/ic_book_black_24dp" />
- <com.google.android.material.floatingactionbutton.FloatingActionButton
- android:id="@+id/floatingActionButton7"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginTop="16dp"
- android:clickable="true"
- app:layout_constraintEnd_toEndOf="@+id/guideline4"
- app:layout_constraintHorizontal_bias="0.5"
- app:layout_constraintStart_toEndOf="@+id/floatingActionButton5"
- app:layout_constraintStart_toStartOf="@+id/guideline3"
- app:layout_constraintTop_toBottomOf="@+id/divider"
- app:srcCompat="@drawable/ic_rate_review_black_24dp" />
- </androidx.constraintlayout.widget.ConstraintLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement