diff options
| author | Nosweh <62889203+Nosweh@users.noreply.github.com> | 2020-08-28 17:31:40 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-08-28 21:01:40 +0530 |
| commit | 0f0d1994e589b4f2b2603c882f52c79e2307a4f7 (patch) | |
| tree | ba6d5d5e80f9993ce8d21ea87d2ab687d1675ebb /app/src/main/res/layout/git_log_row_layout.xml | |
| parent | 88b1de2b509c007171b432da1d9b4b4761509def (diff) | |
| download | HardenedPass-0f0d1994e589b4f2b2603c882f52c79e2307a4f7.tar.gz HardenedPass-0f0d1994e589b4f2b2603c882f52c79e2307a4f7.zip | |
Add Activity to view the Git commit log (#1056)
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.xml | 45 |
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> |
