aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res
diff options
context:
space:
mode:
authorTaco <SkytkRSfan3895@gmail.com>2022-09-21 04:46:13 +0000
committerGitHub <noreply@github.com>2022-09-21 04:46:13 +0000
commit55d6078ccc4e73eab8179bd0d550bfec65720708 (patch)
tree0a6015a1351ca9b5f9414418b488ca6e6764dfb1 /app/src/main/res
parent8a2932122ce839c60c8370fbd029cdebceddd16b (diff)
downloadinfinity-for-reddit-55d6078ccc4e73eab8179bd0d550bfec65720708.tar
infinity-for-reddit-55d6078ccc4e73eab8179bd0d550bfec65720708.tar.gz
infinity-for-reddit-55d6078ccc4e73eab8179bd0d550bfec65720708.tar.bz2
infinity-for-reddit-55d6078ccc4e73eab8179bd0d550bfec65720708.tar.lz
infinity-for-reddit-55d6078ccc4e73eab8179bd0d550bfec65720708.tar.xz
infinity-for-reddit-55d6078ccc4e73eab8179bd0d550bfec65720708.tar.zst
infinity-for-reddit-55d6078ccc4e73eab8179bd0d550bfec65720708.zip
Start utilizing view binding (#1013)
Diffstat (limited to 'app/src/main/res')
-rw-r--r--app/src/main/res/layout/activity_account_posts.xml12
-rw-r--r--app/src/main/res/layout/activity_account_saved_thing.xml14
-rw-r--r--app/src/main/res/layout/activity_comment.xml22
3 files changed, 24 insertions, 24 deletions
diff --git a/app/src/main/res/layout/activity_account_posts.xml b/app/src/main/res/layout/activity_account_posts.xml
index a15dbc52..8e8d45c6 100644
--- a/app/src/main/res/layout/activity_account_posts.xml
+++ b/app/src/main/res/layout/activity_account_posts.xml
@@ -4,25 +4,25 @@
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
- android:id="@+id/coordinator_layout_account_posts_activity"
+ android:id="@+id/account_posts_coordinator_layout"
tools:context=".activities.AccountPostsActivity">
<com.google.android.material.appbar.AppBarLayout
- android:id="@+id/appbar_layout_account_posts_activity"
+ android:id="@+id/account_posts_appbar_layout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:theme="@style/AppTheme.AppBarOverlay">
<com.google.android.material.appbar.CollapsingToolbarLayout
- android:id="@+id/collapsing_toolbar_layout_account_posts_activity"
+ android:id="@+id/account_posts_collapsing_toolbar_layout"
android:layout_width="match_parent"
android:layout_height="match_parent"
app:layout_scrollFlags="scroll|enterAlways"
app:titleEnabled="false"
- app:toolbarId="@+id/toolbar_account_posts_activity">
+ app:toolbarId="@+id/account_posts_toolbar">
<androidx.appcompat.widget.Toolbar
- android:id="@+id/toolbar_account_posts_activity"
+ android:id="@+id/account_posts_toolbar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:minHeight="?attr/actionBarSize"
@@ -34,7 +34,7 @@
</com.google.android.material.appbar.AppBarLayout>
<androidx.fragment.app.FragmentContainerView
- android:id="@+id/frame_layout_account_posts_activity"
+ android:id="@+id/account_posts_frame_layout"
android:layout_width="match_parent"
android:layout_height="match_parent"
app:layout_behavior="@string/appbar_scrolling_view_behavior" />
diff --git a/app/src/main/res/layout/activity_account_saved_thing.xml b/app/src/main/res/layout/activity_account_saved_thing.xml
index 4f12aa4e..f6660c4b 100644
--- a/app/src/main/res/layout/activity_account_saved_thing.xml
+++ b/app/src/main/res/layout/activity_account_saved_thing.xml
@@ -4,25 +4,25 @@
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
- android:id="@+id/coordinator_layout_account_saved_thing_activity"
+ android:id="@+id/account_saved_thing_coordinator_layout"
tools:context=".activities.AccountPostsActivity">
<com.google.android.material.appbar.AppBarLayout
- android:id="@+id/appbar_layout_account_saved_thing_activity"
+ android:id="@+id/account_saved_thing_appbar_layout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:theme="@style/AppTheme.AppBarOverlay">
<com.google.android.material.appbar.CollapsingToolbarLayout
- android:id="@+id/collapsing_toolbar_layout_account_saved_thing_activity"
+ android:id="@+id/account_saved_thing_collapsing_toolbar_layout"
android:layout_width="match_parent"
android:layout_height="match_parent"
app:layout_scrollFlags="scroll|enterAlways"
app:titleEnabled="false"
- app:toolbarId="@+id/toolbar_account_saved_thing_activity">
+ app:toolbarId="@+id/account_saved_thing_toolbar">
<androidx.appcompat.widget.Toolbar
- android:id="@+id/toolbar_account_saved_thing_activity"
+ android:id="@+id/account_saved_thing_toolbar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:minHeight="?attr/actionBarSize"
@@ -34,7 +34,7 @@
</com.google.android.material.appbar.CollapsingToolbarLayout>
<com.google.android.material.tabs.TabLayout
- android:id="@+id/tab_layout_tab_layout_account_saved_thing_activity_activity"
+ android:id="@+id/account_saved_thing_tab_layout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="bottom"
@@ -48,7 +48,7 @@
</com.google.android.material.appbar.AppBarLayout>
<androidx.viewpager2.widget.ViewPager2
- android:id="@+id/view_pager_account_saved_thing_activity"
+ android:id="@+id/account_saved_thing_view_pager_2"
android:layout_width="match_parent"
android:layout_height="match_parent"
app:layout_behavior="@string/appbar_scrolling_view_behavior" />
diff --git a/app/src/main/res/layout/activity_comment.xml b/app/src/main/res/layout/activity_comment.xml
index 73a755a8..7087b13f 100644
--- a/app/src/main/res/layout/activity_comment.xml
+++ b/app/src/main/res/layout/activity_comment.xml
@@ -2,19 +2,19 @@
<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_comment_activity"
+ android:id="@+id/comment_coordinator_layout"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:application=".CommentActivity">
<com.google.android.material.appbar.AppBarLayout
- android:id="@+id/appbar_layout_comment_activity"
+ android:id="@+id/comment_appbar_layout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:theme="@style/AppTheme.AppBarOverlay">
<androidx.appcompat.widget.Toolbar
- android:id="@+id/toolbar_comment_activity"
+ android:id="@+id/comment_toolbar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:minHeight="?attr/actionBarSize"
@@ -40,7 +40,7 @@
android:orientation="vertical">
<TextView
- android:id="@+id/comment_parent_markwon_view_comment_activity"
+ android:id="@+id/comment_comment_parent_markwon_view"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="16dp"
@@ -48,7 +48,7 @@
android:fontFamily="?attr/content_font_family" />
<androidx.recyclerview.widget.RecyclerView
- android:id="@+id/content_markdown_view_comment_activity"
+ android:id="@+id/comment_content_markdown_view"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="8dp"
@@ -57,12 +57,12 @@
android:visibility="gone" />
<View
- android:id="@+id/divider_comment_activity"
+ android:id="@+id/comment_divider"
android:layout_width="match_parent"
android:layout_height="1dp" />
<LinearLayout
- android:id="@+id/account_linear_layout_comment_activity"
+ android:id="@+id/comment_account_linear_layout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingTop="16dp"
@@ -72,13 +72,13 @@
android:background="?attr/selectableItemBackground">
<pl.droidsonroids.gif.GifImageView
- android:id="@+id/account_icon_gif_image_view_comment_activity"
+ android:id="@+id/comment_account_icon_gif_image_view"
android:layout_width="24dp"
android:layout_height="24dp"
android:layout_marginStart="16dp" />
<TextView
- android:id="@+id/account_name_text_view_comment_activity"
+ android:id="@+id/comment_account_name_text_view"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
@@ -89,7 +89,7 @@
</LinearLayout>
<EditText
- android:id="@+id/comment_edit_text_comment_activity"
+ android:id="@+id/comment_comment_edit_text"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="#00000000"
@@ -106,7 +106,7 @@
</androidx.core.widget.NestedScrollView>
<androidx.recyclerview.widget.RecyclerView
- android:id="@+id/markdown_bottom_bar_recycler_view_comment_activity"
+ android:id="@+id/comment_markdown_bottom_bar_recycler_view"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:scrollbars="horizontal"