2020-05-17 05:54:01 +03:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
|
<androidx.cardview.widget.CardView
|
|
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
2020-05-19 05:04:51 +03:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
2020-05-17 05:54:01 +03:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content">
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:orientation="vertical"
|
2020-05-19 05:04:51 +03:00
|
|
|
android:padding="0dp">
|
2020-05-17 05:54:01 +03:00
|
|
|
|
|
|
|
|
<androidx.cardview.widget.CardView
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent"
|
2020-05-19 05:04:51 +03:00
|
|
|
app:cardBackgroundColor="@color/colorPrimary"
|
|
|
|
|
app:cardElevation="4dp"
|
|
|
|
|
app:cardUseCompatPadding="false"
|
|
|
|
|
app:contentPadding="15dp">
|
2020-05-17 05:54:01 +03:00
|
|
|
|
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent">
|
|
|
|
|
|
|
|
|
|
<TextView
|
2020-05-19 05:04:51 +03:00
|
|
|
android:id="@+id/appRegion"
|
|
|
|
|
android:layout_width="40dp"
|
2020-05-17 05:54:01 +03:00
|
|
|
android:layout_height="wrap_content"
|
2020-05-19 05:04:51 +03:00
|
|
|
android:layout_marginStart="24dp"
|
|
|
|
|
android:background="@drawable/rect_light_blue"
|
|
|
|
|
android:paddingStart="4dp"
|
|
|
|
|
android:paddingLeft="10dp"
|
|
|
|
|
android:paddingTop="4dp"
|
|
|
|
|
android:paddingEnd="4dp"
|
|
|
|
|
android:paddingRight="10dp"
|
|
|
|
|
android:paddingBottom="4dp"
|
|
|
|
|
android:textAlignment="center"
|
|
|
|
|
android:textColor="@color/colorOnSecondary"
|
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
|
app:layout_constraintEnd_toStartOf="@+id/appMinFW"
|
|
|
|
|
app:layout_constraintStart_toEndOf="@+id/imageView" />
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/appTitle"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginStart="24dp"
|
2020-05-17 05:54:01 +03:00
|
|
|
android:ellipsize="marquee"
|
|
|
|
|
android:focusable="auto"
|
|
|
|
|
android:focusableInTouchMode="true"
|
|
|
|
|
android:marqueeRepeatLimit="marquee_forever"
|
|
|
|
|
android:scrollHorizontally="true"
|
|
|
|
|
android:singleLine="true"
|
|
|
|
|
android:textAlignment="viewStart"
|
2020-05-19 05:04:51 +03:00
|
|
|
android:textAppearance="?android:attr/textAppearanceListItem"
|
|
|
|
|
android:textColor="@color/colorOnPrimary"
|
|
|
|
|
android:textSize="18sp"
|
2020-05-17 05:54:01 +03:00
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
2020-05-19 05:04:51 +03:00
|
|
|
app:layout_constraintStart_toEndOf="@+id/imageView"
|
2020-05-17 05:54:01 +03:00
|
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
|
android:id="@+id/imageView"
|
|
|
|
|
android:layout_width="62dp"
|
|
|
|
|
android:layout_height="56dp"
|
2020-05-20 00:06:30 +03:00
|
|
|
android:contentDescription="game icon"
|
2020-05-17 05:54:01 +03:00
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
|
|
app:srcCompat="@drawable/ic_games_black_24dp" />
|
2020-05-19 05:04:51 +03:00
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/appMinFW"
|
|
|
|
|
android:layout_width="40dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginStart="8dp"
|
|
|
|
|
android:background="@drawable/rect_red"
|
|
|
|
|
android:padding="4dp"
|
|
|
|
|
android:textAlignment="center"
|
|
|
|
|
android:textColor="@color/colorOnSecondary"
|
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
|
app:layout_constraintStart_toEndOf="@+id/appRegion" />
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/appLastDate"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:padding="4dp"
|
|
|
|
|
android:textColor="@color/colorOnSecondary"
|
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
|
app:layout_constraintEnd_toEndOf="parent" />
|
2020-05-17 05:54:01 +03:00
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
|
|
|
|
|
|
|
</androidx.cardview.widget.CardView>
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
</androidx.cardview.widget.CardView>
|