diff options
Diffstat (limited to 'app/src/main/res')
-rw-r--r-- | app/src/main/res/layout/dialog_assignee.xml | 23 | ||||
-rw-r--r-- | app/src/main/res/values/strings.xml | 2 | ||||
-rw-r--r-- | app/src/main/res/values/styles.xml | 5 |
3 files changed, 30 insertions, 0 deletions
diff --git a/app/src/main/res/layout/dialog_assignee.xml b/app/src/main/res/layout/dialog_assignee.xml new file mode 100644 index 000000000..c0f3e3218 --- /dev/null +++ b/app/src/main/res/layout/dialog_assignee.xml @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="utf-8"?> +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:tools="http://schemas.android.com/tools" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:orientation="vertical"> + + <ImageView + android:id="@+id/avatar" + android:layout_width="match_parent" + android:layout_height="200dp" + android:contentDescription="@string/user_avatar" + android:scaleType="centerCrop" + android:src="@drawable/ic_person_grey600_24dp" /> + + <TextView + android:padding="?dialogPreferredPadding" + android:id="@+id/displayName" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:textAppearance="?attr/textAppearanceHeadline1" + tools:text="@tools:sample/full_names" /> +</LinearLayout>
\ No newline at end of file diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 1abd3ec4a..c1cedb708 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -312,4 +312,6 @@ <string name="cannot_upload_files_without_permission">Can not upload files without permission</string> <string name="clone_cards">Clone cards</string> <string name="simple_clone">Clone</string> + <string name="user_avatar">User avatar</string> + <string name="simple_unassign">Unassign</string> </resources> diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml index f0bff78fe..c253ae461 100644 --- a/app/src/main/res/values/styles.xml +++ b/app/src/main/res/values/styles.xml @@ -6,6 +6,7 @@ <item name="colorAccent">@color/accent</item> <item name="toolbarStyle">@style/toolbarStyle</item> <item name="android:windowBackground">?attr/colorPrimary</item> + <item name="textAppearanceHeadline1">@style/Deck.TextAppearance.Headline1</item> </style> <style name="toolbarStyle" parent="@style/Widget.AppCompat.Toolbar"> @@ -32,4 +33,8 @@ <item name="android:colorBackgroundCacheHint">@null</item> <item name="android:windowIsTranslucent">true</item> </style> + + <style name="Deck.TextAppearance.Headline1" parent="TextAppearance.MaterialComponents.Headline1"> + <item name="android:textSize">36sp</item> + </style> </resources> |