2016-11-24 10:56:15 +11:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<android.support.v7.widget.CardView 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="220dp">
|
|
|
|
|
|
|
|
<android.support.constraint.ConstraintLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_margin="8dp">
|
|
|
|
|
2016-12-19 16:15:14 +11:00
|
|
|
<!-- Ignore ContentDescription because it is kind of meaningless to have TTS read out "App icon"
|
|
|
|
when it will inevitably read out the name of the app straight after. -->
|
2016-11-24 10:56:15 +11:00
|
|
|
<ImageView
|
|
|
|
android:id="@+id/icon"
|
|
|
|
android:layout_width="96dip"
|
|
|
|
android:layout_height="96dip"
|
|
|
|
tools:src="@drawable/ic_launcher"
|
|
|
|
android:scaleType="fitCenter"
|
|
|
|
android:layout_marginEnd="16dp"
|
|
|
|
android:layout_marginRight="16dp"
|
|
|
|
android:layout_marginStart="16dp"
|
|
|
|
android:layout_marginLeft="16dp"
|
|
|
|
android:layout_marginTop="8dp"
|
|
|
|
android:layout_marginBottom="8dp"
|
|
|
|
app:layout_constraintRight_toRightOf="parent"
|
|
|
|
app:layout_constraintLeft_toLeftOf="parent"
|
2016-12-19 16:15:14 +11:00
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
|
tools:ignore="ContentDescription" />
|
2016-11-24 10:56:15 +11:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
tools:text="F-Droid An application summary which takes up too much space and must ellipsize"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:id="@+id/summary"
|
|
|
|
android:maxLines="4"
|
|
|
|
android:textSize="14sp"
|
|
|
|
android:ellipsize="end"
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/icon"
|
|
|
|
app:layout_constraintRight_toRightOf="parent"
|
|
|
|
app:layout_constraintLeft_toLeftOf="parent"
|
|
|
|
android:layout_marginTop="8dp" />
|
|
|
|
|
2017-03-08 08:51:21 +11:00
|
|
|
<include layout="@layout/app_status_new"
|
2016-11-24 10:56:15 +11:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2017-03-08 08:51:21 +11:00
|
|
|
android:id="@+id/new_tag"
|
|
|
|
android:layout_marginTop="4dp"
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/summary"
|
|
|
|
app:layout_constraintStart_toStartOf="@+id/summary"
|
|
|
|
app:layout_constraintLeft_toLeftOf="@+id/summary" />
|
2016-11-24 10:56:15 +11:00
|
|
|
|
|
|
|
</android.support.constraint.ConstraintLayout>
|
|
|
|
|
|
|
|
</android.support.v7.widget.CardView>
|