diff options
author | YuutaW <17158086+Trumeet@users.noreply.github.com> | 2019-03-02 09:59:43 -0800 |
---|---|---|
committer | YuutaW <17158086+Trumeet@users.noreply.github.com> | 2019-03-02 09:59:43 -0800 |
commit | e64ce1da0ef49a56fa904b38c48b76298e1f892a (patch) | |
tree | 82bffbfca5f1e3ee48ccc3002e06d9513ebac713 /app/src/main/res/layout | |
parent | e7be393b842d8445ae47bc59e88980a99b6e468e (diff) | |
download | WorkMode-e64ce1da0ef49a56fa904b38c48b76298e1f892a.tar WorkMode-e64ce1da0ef49a56fa904b38c48b76298e1f892a.tar.gz WorkMode-e64ce1da0ef49a56fa904b38c48b76298e1f892a.tar.bz2 WorkMode-e64ce1da0ef49a56fa904b38c48b76298e1f892a.zip |
feat(app): add about dialog
Signed-off-by: YuutaW <17158086+Trumeet@users.noreply.github.com>
Diffstat (limited to 'app/src/main/res/layout')
-rw-r--r-- | app/src/main/res/layout/dialog_about.xml | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/app/src/main/res/layout/dialog_about.xml b/app/src/main/res/layout/dialog_about.xml new file mode 100644 index 0000000..98dca7f --- /dev/null +++ b/app/src/main/res/layout/dialog_about.xml @@ -0,0 +1,44 @@ +<?xml version="1.0" encoding="utf-8"?> +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:tools="http://schemas.android.com/tools" + xmlns:app="http://schemas.android.com/apk/res-auto" + android:orientation="horizontal" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:padding="24dp"> + <ImageView + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:src="@mipmap/ic_launcher" + android:layout_marginEnd="16dp"/> + <LinearLayout + android:orientation="vertical" + android:layout_width="wrap_content" + android:layout_height="wrap_content"> + <TextView + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/app_name" + android:textAppearance="@style/TextAppearance.AppCompat.Title"/> + <TextView + android:id="@+id/text_version" + android:layout_width="wrap_content" + android:layout_height="wrap_content"/> + <moe.yuuta.workmode.widgets.HtmlTextView + android:id="@+id/text_copyright" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_marginTop="8dp" + app:html="@string/about_icon_copyright" + app:enableLinks="true" + android:textSize="12sp" + android:textColor="@android:color/black" /> + <TextView + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="Copyright © 2019 - 2019 Trumeet" + android:textSize="12sp" + android:textColor="@android:color/black" + tools:ignore="HardcodedText" /> + </LinearLayout> +</LinearLayout>
\ No newline at end of file |