diff options
author | Alex Ning <chineseperson5@gmail.com> | 2019-08-19 09:57:04 +0000 |
---|---|---|
committer | Alex Ning <chineseperson5@gmail.com> | 2019-08-19 09:57:04 +0000 |
commit | 556047aa42b8fba25be56c38e5e919690444858b (patch) | |
tree | 0c2ee2a1ac74e1f2eafbcca7137cd562b90495c1 /app/src/main/res | |
parent | 5bf002629d92610c152ee3ef9bd2ca7b71fd5cbc (diff) | |
download | infinity-for-reddit-556047aa42b8fba25be56c38e5e919690444858b.tar infinity-for-reddit-556047aa42b8fba25be56c38e5e919690444858b.tar.gz infinity-for-reddit-556047aa42b8fba25be56c38e5e919690444858b.tar.bz2 infinity-for-reddit-556047aa42b8fba25be56c38e5e919690444858b.tar.lz infinity-for-reddit-556047aa42b8fba25be56c38e5e919690444858b.tar.xz infinity-for-reddit-556047aa42b8fba25be56c38e5e919690444858b.tar.zst infinity-for-reddit-556047aa42b8fba25be56c38e5e919690444858b.zip |
Finish MainActivity if clicking a notification for another user.
Diffstat (limited to 'app/src/main/res')
-rw-r--r-- | app/src/main/res/layout/activity_main.xml | 14 | ||||
-rw-r--r-- | app/src/main/res/values/strings.xml | 3 |
2 files changed, 17 insertions, 0 deletions
diff --git a/app/src/main/res/layout/activity_main.xml b/app/src/main/res/layout/activity_main.xml index 849253a1..83aebc66 100644 --- a/app/src/main/res/layout/activity_main.xml +++ b/app/src/main/res/layout/activity_main.xml @@ -38,6 +38,13 @@ android:layout_height="wrap_content" android:orientation="vertical"> + <TextView + android:id="@+id/account_label_main_activity" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:padding="16dp" + android:text="@string/label_account" /> + <LinearLayout android:id="@+id/profile_linear_layout_main_activity" android:layout_width="match_parent" @@ -116,6 +123,13 @@ </LinearLayout> + <TextView + android:id="@+id/post_label_main_activity" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:padding="16dp" + android:text="@string/label_post" /> + <LinearLayout android:id="@+id/upvoted_linear_layout_main_activity" android:layout_width="match_parent" diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index ade37480..2d02c866 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -231,4 +231,7 @@ <string name="notification_summary_subreddit">Subreddit</string> <string name="notification_summary_award">Award</string> <string name="notification_new_messages">%1$d New Messages</string> + + <string name="label_account">Account</string> + <string name="label_post">Post</string> </resources> |