aboutsummaryrefslogtreecommitdiffstats
path: root/app/src/main/res/layout/git_log_row_layout.xml
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main/res/layout/git_log_row_layout.xml')
-rw-r--r--app/src/main/res/layout/git_log_row_layout.xml45
1 files changed, 45 insertions, 0 deletions
diff --git a/app/src/main/res/layout/git_log_row_layout.xml b/app/src/main/res/layout/git_log_row_layout.xml
new file mode 100644
index 00000000..5a29f241
--- /dev/null
+++ b/app/src/main/res/layout/git_log_row_layout.xml
@@ -0,0 +1,45 @@
+<?xml version="1.0" encoding="utf-8"?><!--
+ ~ Copyright © 2014-2020 The Android Password Store Authors. All Rights Reserved.
+ ~ SPDX-License-Identifier: GPL-3.0-only
+ -->
+<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="wrap_content"
+ android:paddingHorizontal="@dimen/activity_vertical_margin"
+ android:paddingVertical="@dimen/activity_horizontal_margin">
+
+ <androidx.appcompat.widget.AppCompatTextView
+ android:id="@+id/git_log_row_message"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="@dimen/normal_margin"
+ android:ellipsize="end"
+ android:maxLines="2"
+ app:layout_constraintBottom_toBottomOf="parent"
+ app:layout_constraintEnd_toEndOf="parent"
+ app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintTop_toBottomOf="@+id/git_log_row_hash"
+ tools:text="Commit message" />
+
+ <androidx.appcompat.widget.AppCompatTextView
+ android:id="@+id/git_log_row_hash"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:textColor="?attr/colorSecondary"
+ android:textStyle="bold"
+ app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintTop_toTopOf="parent"
+ tools:text="Hash" />
+
+ <androidx.appcompat.widget.AppCompatTextView
+ android:id="@+id/git_log_row_time"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:alpha="0.5"
+ app:layout_constraintEnd_toEndOf="parent"
+ app:layout_constraintTop_toTopOf="parent"
+ tools:text="Time" />
+
+</androidx.constraintlayout.widget.ConstraintLayout>