aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/layout/activity_give_award.xml
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2020-09-28 01:56:58 +0000
committerAlex Ning <chineseperson5@gmail.com>2020-09-28 01:56:58 +0000
commit60108462ceb93a5797b67bee66f55237f4730561 (patch)
tree52d1ce227ecc38aad4ec122cfc27aae0a1f6c8fd /app/src/main/res/layout/activity_give_award.xml
parentca19c566c338a8c815ce68aa88e3a09987112881 (diff)
downloadinfinity-for-reddit-60108462ceb93a5797b67bee66f55237f4730561.tar
infinity-for-reddit-60108462ceb93a5797b67bee66f55237f4730561.tar.gz
infinity-for-reddit-60108462ceb93a5797b67bee66f55237f4730561.tar.bz2
infinity-for-reddit-60108462ceb93a5797b67bee66f55237f4730561.tar.lz
infinity-for-reddit-60108462ceb93a5797b67bee66f55237f4730561.tar.xz
infinity-for-reddit-60108462ceb93a5797b67bee66f55237f4730561.tar.zst
infinity-for-reddit-60108462ceb93a5797b67bee66f55237f4730561.zip
Giving award is available. Giving award is not tested because I don't have Reddit Coins. Currently all the award ids are hardcoded.
Diffstat (limited to 'app/src/main/res/layout/activity_give_award.xml')
-rw-r--r--app/src/main/res/layout/activity_give_award.xml33
1 files changed, 33 insertions, 0 deletions
diff --git a/app/src/main/res/layout/activity_give_award.xml b/app/src/main/res/layout/activity_give_award.xml
new file mode 100644
index 00000000..4eec2c84
--- /dev/null
+++ b/app/src/main/res/layout/activity_give_award.xml
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="utf-8"?>
+<androidx.coordinatorlayout.widget.CoordinatorLayout 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:id="@+id/coordinator_layout_give_award_activity"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ tools:context=".Activity.GiveAwardActivity">
+
+ <com.google.android.material.appbar.AppBarLayout
+ android:id="@+id/appbar_layout_give_award_activity"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:theme="@style/AppTheme.AppBarOverlay">
+
+ <androidx.appcompat.widget.Toolbar
+ android:id="@+id/toolbar_give_award_activity"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:minHeight="?attr/actionBarSize"
+ app:title="@string/give_award_activity_label"
+ app:popupTheme="@style/AppTheme.PopupOverlay"
+ app:navigationIcon="?attr/homeAsUpIndicator" />
+
+ </com.google.android.material.appbar.AppBarLayout>
+
+ <androidx.recyclerview.widget.RecyclerView
+ android:id="@+id/recycler_view_give_award_activity"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ app:layout_behavior="@string/appbar_scrolling_view_behavior" />
+
+</androidx.coordinatorlayout.widget.CoordinatorLayout> \ No newline at end of file