<?xml version="1.0" encoding="utf-8"?>
-
<!--
~ Copyright © 2018 Damyan Ivanov.
~ This file is part of Mobile-Ledger.
<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="wrap_content"
android:layout_margin="8dp"
app:layout_constraintStart_toStartOf="parent"
app:layout_goneMarginBottom="8dp">
- <android.support.constraint.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.support.constraint.ConstraintLayout
android:id="@+id/transaction_row"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="5"
- android:text="Sample description goes here."
+ android:text="---."
android:textStyle="bold"
tools:ignore="HardcodedText" />
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="5"
- android:text="Account name, a really long one. A very very very long one. It may even spawn on more than two lines -- three, four or more."
+ android:text="---"
android:textAlignment="viewStart"
tools:ignore="HardcodedText" />
android:layout_height="wrap_content"
android:layout_marginEnd="0dp"
android:minWidth="60dp"
- android:text="€ 123,45"
+ android:text="€ --,--"
android:textAlignment="viewEnd"
tools:ignore="HardcodedText" />
</LinearLayout>
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="5"
- android:text="Account name, a really long one. A very very very long one. It may even spawn on more than two lines -- three, four or more."
+ android:text="---"
android:textAlignment="viewStart"
tools:ignore="HardcodedText" />
android:layout_height="wrap_content"
android:layout_marginEnd="0dp"
android:minWidth="60dp"
- android:text="-14 678,90"
+ android:text="---,--"
android:textAlignment="viewEnd"
tools:ignore="HardcodedText" />
</LinearLayout>