|
@@ -1,79 +1,78 @@
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
<androidx.cardview.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android"
|
|
<androidx.cardview.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
- android:orientation="horizontal"
|
|
|
|
|
|
+ android:id="@+id/card"
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_margin="5dp"
|
|
android:layout_margin="5dp"
|
|
- android:id="@+id/card"
|
|
|
|
|
|
+ android:orientation="horizontal"
|
|
app:cardElevation="5dp">
|
|
app:cardElevation="5dp">
|
|
|
|
|
|
|
|
|
|
<RelativeLayout
|
|
<RelativeLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
- android:layout_height="wrap_content"
|
|
|
|
- >
|
|
|
|
|
|
+ android:layout_height="wrap_content">
|
|
|
|
+
|
|
<ImageView
|
|
<ImageView
|
|
|
|
+ android:id="@+id/Icon"
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="200dp"
|
|
android:layout_height="200dp"
|
|
- android:src="@drawable/ic_launcher_background"
|
|
|
|
- android:id="@+id/Icon"
|
|
|
|
android:layout_margin="5dp"
|
|
android:layout_margin="5dp"
|
|
- />
|
|
|
|
|
|
+ android:src="@drawable/ic_launcher_background" />
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
- android:orientation="vertical"
|
|
|
|
|
|
+ android:layout_below="@+id/Icon"
|
|
android:gravity="center_vertical"
|
|
android:gravity="center_vertical"
|
|
- android:paddingTop="10dp"
|
|
|
|
- android:layout_below="@+id/Icon">
|
|
|
|
|
|
+ android:orientation="vertical"
|
|
|
|
+ android:paddingTop="10dp">
|
|
|
|
|
|
<TextView
|
|
<TextView
|
|
|
|
+ android:id="@+id/title"
|
|
android:layout_width="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
- android:textStyle="bold"
|
|
|
|
|
|
+ android:layout_marginBottom="5dp"
|
|
android:gravity="left"
|
|
android:gravity="left"
|
|
- android:id="@+id/title"
|
|
|
|
android:padding="5dp"
|
|
android:padding="5dp"
|
|
android:textSize="20sp"
|
|
android:textSize="20sp"
|
|
- android:layout_marginBottom="5dp"/>
|
|
|
|
|
|
+ android:textStyle="bold" />
|
|
|
|
|
|
<LinearLayout
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
- android:orientation="horizontal"
|
|
|
|
- >
|
|
|
|
|
|
+ android:orientation="horizontal">
|
|
|
|
|
|
- <TextView
|
|
|
|
- android:layout_width="wrap_content"
|
|
|
|
- android:layout_height="wrap_content"
|
|
|
|
- android:textSize="16sp"
|
|
|
|
- android:textStyle="bold"
|
|
|
|
- android:padding="5dp"
|
|
|
|
- android:gravity="left"
|
|
|
|
- android:text="Author:"/>
|
|
|
|
<TextView
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
- android:textSize="15sp"
|
|
|
|
- android:padding="5dp"
|
|
|
|
|
|
+ android:layout_marginStart="5dp"
|
|
|
|
+ android:gravity="left"
|
|
|
|
+ android:text="Author:"
|
|
|
|
+ android:textSize="16sp"
|
|
|
|
+ android:textStyle="bold" />
|
|
|
|
+
|
|
|
|
+ <TextView
|
|
|
|
+ android:id="@+id/author"
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
android:gravity="right"
|
|
android:gravity="right"
|
|
|
|
+ android:padding="5dp"
|
|
android:text="Name"
|
|
android:text="Name"
|
|
- android:id="@+id/author"/>
|
|
|
|
|
|
+ android:textSize="15sp" />
|
|
|
|
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
|
|
|
|
<TextView
|
|
<TextView
|
|
|
|
+ android:id="@+id/subtitle"
|
|
android:layout_width="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
- android:gravity="left"
|
|
|
|
- android:id="@+id/subtitle"
|
|
|
|
- android:padding="5dp"
|
|
|
|
android:layout_marginBottom="5dp"
|
|
android:layout_marginBottom="5dp"
|
|
|
|
+ android:gravity="left"
|
|
|
|
+ android:lineSpacingExtra="2dp"
|
|
android:maxLines="5"
|
|
android:maxLines="5"
|
|
- android:lineSpacingExtra="2dp"/>
|
|
|
|
|
|
+ android:padding="5dp" />
|
|
|
|
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
|
|
|
|
@@ -81,5 +80,4 @@
|
|
</RelativeLayout>
|
|
</RelativeLayout>
|
|
|
|
|
|
|
|
|
|
-
|
|
|
|
</androidx.cardview.widget.CardView>
|
|
</androidx.cardview.widget.CardView>
|