aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/layout
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2019-08-21 08:21:17 +0000
committerAlex Ning <chineseperson5@gmail.com>2019-08-21 08:21:17 +0000
commit9bad5024ff2fe13d9fe366ed40a2ea8662620c18 (patch)
tree6b3b25091732c2c4b7882b6ebea832405e79806f /app/src/main/res/layout
parent029bbc951b3b7d128b9eb1a469942a8f03676d83 (diff)
downloadinfinity-for-reddit-9bad5024ff2fe13d9fe366ed40a2ea8662620c18.tar
infinity-for-reddit-9bad5024ff2fe13d9fe366ed40a2ea8662620c18.tar.gz
infinity-for-reddit-9bad5024ff2fe13d9fe366ed40a2ea8662620c18.tar.bz2
infinity-for-reddit-9bad5024ff2fe13d9fe366ed40a2ea8662620c18.tar.lz
infinity-for-reddit-9bad5024ff2fe13d9fe366ed40a2ea8662620c18.tar.xz
infinity-for-reddit-9bad5024ff2fe13d9fe366ed40a2ea8662620c18.tar.zst
infinity-for-reddit-9bad5024ff2fe13d9fe366ed40a2ea8662620c18.zip
Fixed getting same notifications for different accounts (for real this time). Add a settings acivity but with no use now. Minor bugs fixed. Minor UI tweaks.
Diffstat (limited to 'app/src/main/res/layout')
-rw-r--r--app/src/main/res/layout/fragment_post.xml1
-rw-r--r--app/src/main/res/layout/settings_activity.xml26
2 files changed, 26 insertions, 1 deletions
diff --git a/app/src/main/res/layout/fragment_post.xml b/app/src/main/res/layout/fragment_post.xml
index dcacaf49..9083b01d 100644
--- a/app/src/main/res/layout/fragment_post.xml
+++ b/app/src/main/res/layout/fragment_post.xml
@@ -3,7 +3,6 @@
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent"
- android:id="@+id/coordinator_layout_post_fragment"
tools:application="ml.docilealligator.infinityforreddit.PostFragment">
<com.lsjwzh.widget.materialloadingprogressbar.CircleProgressBar
diff --git a/app/src/main/res/layout/settings_activity.xml b/app/src/main/res/layout/settings_activity.xml
new file mode 100644
index 00000000..0b9ed248
--- /dev/null
+++ b/app/src/main/res/layout/settings_activity.xml
@@ -0,0 +1,26 @@
+<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ xmlns:app="http://schemas.android.com/apk/res-auto">
+
+ <com.google.android.material.appbar.AppBarLayout
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:theme="@style/AppTheme.AppBarOverlay">
+
+ <androidx.appcompat.widget.Toolbar
+ android:id="@+id/toolbar_settings_activity"
+ android:layout_width="match_parent"
+ android:layout_height="?attr/actionBarSize"
+ app:navigationIcon="?attr/homeAsUpIndicator"
+ app:popupTheme="@style/AppTheme.PopupOverlay" />
+
+ </com.google.android.material.appbar.AppBarLayout>
+
+ <FrameLayout
+ android:id="@+id/frame_layout_settings_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