aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/layout
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2022-01-13 15:30:55 +0000
committerAlex Ning <chineseperson5@gmail.com>2022-01-13 15:30:55 +0000
commit6f1cd194cb2e573fdc2f3d928be0207ca8fa08df (patch)
treecd6868ffa6b9175bb2fff4af0322d315f86575db /app/src/main/res/layout
parente0c849e13526c4ab8199cf76d13268cd0669a481 (diff)
downloadinfinity-for-reddit-6f1cd194cb2e573fdc2f3d928be0207ca8fa08df.tar
infinity-for-reddit-6f1cd194cb2e573fdc2f3d928be0207ca8fa08df.tar.gz
infinity-for-reddit-6f1cd194cb2e573fdc2f3d928be0207ca8fa08df.tar.bz2
infinity-for-reddit-6f1cd194cb2e573fdc2f3d928be0207ca8fa08df.tar.lz
infinity-for-reddit-6f1cd194cb2e573fdc2f3d928be0207ca8fa08df.tar.xz
infinity-for-reddit-6f1cd194cb2e573fdc2f3d928be0207ca8fa08df.tar.zst
infinity-for-reddit-6f1cd194cb2e573fdc2f3d928be0207ca8fa08df.zip
Continue adding support for custom font.
Diffstat (limited to 'app/src/main/res/layout')
-rw-r--r--app/src/main/res/layout/activity_anonymous_subscriptions.xml42
-rw-r--r--app/src/main/res/layout/fragment_flair_bottom_sheet.xml12
-rw-r--r--app/src/main/res/layout/item_custom_theme_switch_item.xml2
3 files changed, 1 insertions, 55 deletions
diff --git a/app/src/main/res/layout/activity_anonymous_subscriptions.xml b/app/src/main/res/layout/activity_anonymous_subscriptions.xml
deleted file mode 100644
index 66efc9bb..00000000
--- a/app/src/main/res/layout/activity_anonymous_subscriptions.xml
+++ /dev/null
@@ -1,42 +0,0 @@
-<?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:layout_width="match_parent"
- android:layout_height="match_parent"
- android:id="@+id/coordinator_layout_anonymous_subscriptions_activity"
- tools:context=".activities.AnonymousSubscriptionsActivity">
-
- <com.google.android.material.appbar.AppBarLayout
- android:id="@+id/appbar_layout_anonymous_subscriptions_activity"
- 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_anonymous_subscriptions_activity"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- app:layout_scrollFlags="scroll|enterAlways"
- app:titleEnabled="false"
- app:toolbarId="@+id/toolbar_subreddit_selection_activity">
-
- <androidx.appcompat.widget.Toolbar
- android:id="@+id/toolbar_anonymous_subscriptions_activity"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:minHeight="?attr/actionBarSize"
- app:popupTheme="@style/AppTheme.PopupOverlay"
- app:navigationIcon="?attr/homeAsUpIndicator" />
-
- </com.google.android.material.appbar.CollapsingToolbarLayout>
-
- </com.google.android.material.appbar.AppBarLayout>
-
- <androidx.fragment.app.FragmentContainerView
- android:id="@+id/frame_layout_anonymous_subscriptions_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
diff --git a/app/src/main/res/layout/fragment_flair_bottom_sheet.xml b/app/src/main/res/layout/fragment_flair_bottom_sheet.xml
index f3ed6751..5649a70c 100644
--- a/app/src/main/res/layout/fragment_flair_bottom_sheet.xml
+++ b/app/src/main/res/layout/fragment_flair_bottom_sheet.xml
@@ -7,18 +7,6 @@
android:orientation="vertical"
tools:application=".FlairBottomSheetFragment">
- <TextView
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:paddingTop="16dp"
- android:paddingBottom="16dp"
- android:paddingStart="32dp"
- android:paddingEnd="32dp"
- android:text="@string/flair"
- android:textColor="?attr/primaryTextColor"
- android:textSize="?attr/font_18"
- android:fontFamily="?attr/font_family" />
-
<ProgressBar
android:id="@+id/progress_bar_flair_bottom_sheet_fragment"
android:layout_width="wrap_content"
diff --git a/app/src/main/res/layout/item_custom_theme_switch_item.xml b/app/src/main/res/layout/item_custom_theme_switch_item.xml
index 9b6ef0ef..9c29b265 100644
--- a/app/src/main/res/layout/item_custom_theme_switch_item.xml
+++ b/app/src/main/res/layout/item_custom_theme_switch_item.xml
@@ -34,7 +34,7 @@
</LinearLayout>
- <Switch
+ <com.google.android.material.switchmaterial.SwitchMaterial
android:id="@+id/theme_item_switch_item_custom_theme_switch_item"
android:layout_width="wrap_content"
android:layout_height="wrap_content"