mirror of
https://codeberg.org/Bazsalanszky/Infinity-For-Lemmy.git
synced 2025-10-05 21:39:50 +02:00
Implement custom multiple themes (Buggy).
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="?attr/backgroundColor"
|
||||
android:id="@+id/coordinator_layout_account_posts_activity"
|
||||
tools:context=".Activity.AccountPostsActivity">
|
||||
|
||||
<com.google.android.material.appbar.AppBarLayout
|
||||
|
@@ -5,6 +5,7 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="?attr/backgroundColor"
|
||||
android:id="@+id/coordinator_layout_account_saved_thing_activity"
|
||||
tools:context=".Activity.AccountPostsActivity">
|
||||
|
||||
<com.google.android.material.appbar.AppBarLayout
|
||||
|
@@ -48,7 +48,7 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="16dp"
|
||||
android:textColor="?attr/primaryTextColor"
|
||||
android:textColor="?attr/commentColor"
|
||||
android:textSize="?attr/title_font_16" />
|
||||
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
@@ -61,6 +61,7 @@
|
||||
android:visibility="gone" />
|
||||
|
||||
<View
|
||||
android:id="@+id/divider_comment_activity"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="1dp"
|
||||
android:layout_marginBottom="16dp"
|
||||
|
@@ -55,6 +55,7 @@
|
||||
android:maxLength="50" />
|
||||
|
||||
<View
|
||||
android:id="@+id/divider_1_create_multi_reddit_activity"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="1dp"
|
||||
android:background="?attr/dividerColor" />
|
||||
@@ -71,6 +72,7 @@
|
||||
android:textColor="?attr/primaryTextColor" />
|
||||
|
||||
<View
|
||||
android:id="@+id/divider_2_create_multi_reddit_activity"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="1dp"
|
||||
android:background="?attr/dividerColor" />
|
||||
@@ -85,6 +87,7 @@
|
||||
android:background="?attr/selectableItemBackground">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/visibility_text_view_create_multi_reddit_activity"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
|
@@ -34,7 +34,7 @@
|
||||
</com.google.android.material.appbar.AppBarLayout>
|
||||
|
||||
<EditText
|
||||
android:id="@+id/post_text_content_edit_text_edit_comment_activity"
|
||||
android:id="@+id/comment_edit_text_edit_comment_activity"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:gravity="top"
|
||||
|
@@ -53,6 +53,7 @@
|
||||
android:textColor="?attr/primaryTextColor" />
|
||||
|
||||
<View
|
||||
android:id="@+id/divider_edit_post_activity"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="1dp"
|
||||
android:background="?attr/dividerColor" />
|
||||
|
@@ -4,6 +4,7 @@
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:id="@+id/coordinator_layout_filtered_thing_activity"
|
||||
android:background="?attr/backgroundColor"
|
||||
tools:application=".FilteredPostsActivity">
|
||||
|
||||
|
@@ -4,6 +4,7 @@
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:id="@+id/coordinator_layout_login_activity"
|
||||
android:background="?attr/backgroundColor"
|
||||
tools:application="ml.docilealligator.infinityforreddit.Activity.LoginActivity">
|
||||
|
||||
|
@@ -17,6 +17,7 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_gravity="start"
|
||||
android:id="@+id/navigation_view_main_activity"
|
||||
android:background="?attr/backgroundColor">
|
||||
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
|
@@ -4,6 +4,7 @@
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:id="@+id/coordinator_layout_multi_reddit_listing_activity"
|
||||
tools:context=".Activity.MultiRedditListingActivity">
|
||||
|
||||
<com.google.android.material.appbar.AppBarLayout
|
||||
|
@@ -83,6 +83,7 @@
|
||||
</RelativeLayout>
|
||||
|
||||
<View
|
||||
android:id="@+id/divider_1_post_image_activity"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="1dp"
|
||||
android:background="?attr/dividerColor" />
|
||||
@@ -137,6 +138,7 @@
|
||||
</LinearLayout>
|
||||
|
||||
<View
|
||||
android:id="@+id/divider_2_post_image_activity"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="1dp"
|
||||
android:background="?attr/dividerColor" />
|
||||
@@ -154,6 +156,7 @@
|
||||
android:textColor="?attr/primaryTextColor" />
|
||||
|
||||
<View
|
||||
android:id="@+id/divider_3_post_image_activity"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="1dp"
|
||||
android:background="?attr/dividerColor" />
|
||||
|
@@ -83,6 +83,7 @@
|
||||
</RelativeLayout>
|
||||
|
||||
<View
|
||||
android:id="@+id/divider_1_post_link_activity"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="1dp"
|
||||
android:background="?attr/dividerColor" />
|
||||
@@ -137,6 +138,7 @@
|
||||
</LinearLayout>
|
||||
|
||||
<View
|
||||
android:id="@+id/divider_2_post_link_activity"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="1dp"
|
||||
android:background="?attr/dividerColor" />
|
||||
@@ -154,6 +156,7 @@
|
||||
android:textColor="?attr/primaryTextColor" />
|
||||
|
||||
<View
|
||||
android:id="@+id/divider_3_post_link_activity"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="1dp"
|
||||
android:background="?attr/dividerColor" />
|
||||
|
@@ -83,6 +83,7 @@
|
||||
</RelativeLayout>
|
||||
|
||||
<View
|
||||
android:id="@+id/divider_1_post_text_activity"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="1dp"
|
||||
android:background="?attr/dividerColor" />
|
||||
@@ -137,6 +138,7 @@
|
||||
</LinearLayout>
|
||||
|
||||
<View
|
||||
android:id="@+id/divider_2_post_text_activity"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="1dp"
|
||||
android:background="?attr/dividerColor" />
|
||||
@@ -154,6 +156,7 @@
|
||||
android:textColor="?attr/primaryTextColor" />
|
||||
|
||||
<View
|
||||
android:id="@+id/divider_3_post_text_activity"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="1dp"
|
||||
android:background="?attr/dividerColor" />
|
||||
|
@@ -83,6 +83,7 @@
|
||||
</RelativeLayout>
|
||||
|
||||
<View
|
||||
android:id="@+id/divider_1_post_video_activity"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="1dp"
|
||||
android:background="?attr/dividerColor" />
|
||||
@@ -137,6 +138,7 @@
|
||||
</LinearLayout>
|
||||
|
||||
<View
|
||||
android:id="@+id/divider_2_post_video_activity"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="1dp"
|
||||
android:background="?attr/dividerColor" />
|
||||
@@ -154,6 +156,7 @@
|
||||
android:textColor="?attr/primaryTextColor" />
|
||||
|
||||
<View
|
||||
android:id="@+id/divider_3_post_video_activity"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="1dp"
|
||||
android:background="?attr/dividerColor" />
|
||||
|
@@ -4,6 +4,7 @@
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:id="@+id/coordinator_layout_rules_activity"
|
||||
android:background="?attr/backgroundColor"
|
||||
tools:application=".RulesActivity">
|
||||
|
||||
|
@@ -4,10 +4,12 @@
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:id="@+id/coordinator_layout_search_activity"
|
||||
android:background="?attr/backgroundColor"
|
||||
tools:application=".SearchActivity">
|
||||
|
||||
<com.google.android.material.appbar.AppBarLayout
|
||||
android:id="@+id/appbar_layout_search_activity"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="?attr/toolbarAndTabBackgroundColor"
|
||||
|
@@ -4,6 +4,7 @@
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:id="@+id/coordinator_layout_search_result_activity"
|
||||
android:background="?attr/backgroundColor">
|
||||
|
||||
<com.google.android.material.appbar.AppBarLayout
|
||||
@@ -45,14 +46,6 @@
|
||||
|
||||
</com.google.android.material.appbar.AppBarLayout>
|
||||
|
||||
<View
|
||||
android:id="@+id/transparent_overlay_search_result_activity"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="#40000000"
|
||||
android:elevation="1dp"
|
||||
android:visibility="gone"/>
|
||||
|
||||
<androidx.viewpager.widget.ViewPager
|
||||
android:id="@+id/view_pager_search_result_activity"
|
||||
android:layout_width="match_parent"
|
||||
|
@@ -4,6 +4,7 @@
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:id="@+id/coordinator_layout_search_subreddits_result_activity"
|
||||
android:background="?attr/backgroundColor"
|
||||
tools:application=".SearchSubredditsResultActivity">
|
||||
|
||||
|
@@ -2,6 +2,7 @@
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:id="@+id/coordinator_layout_settings_activity"
|
||||
android:background="?attr/backgroundColor">
|
||||
|
||||
<com.google.android.material.appbar.AppBarLayout
|
||||
|
@@ -4,6 +4,7 @@
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:id="@+id/coordinator_layout_subreddit_selection_activity"
|
||||
android:background="?attr/backgroundColor"
|
||||
tools:application=".SubredditSelectionActivity">
|
||||
|
||||
|
@@ -4,6 +4,8 @@
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:id="@+id/coordinator_layout_subreddits_multiselection_activity"
|
||||
android:background="?attr/backgroundColor"
|
||||
tools:application=".SubscribedSubredditsListingFragment">
|
||||
|
||||
<com.google.android.material.appbar.AppBarLayout
|
||||
@@ -62,6 +64,7 @@
|
||||
android:layout_height="wrap_content" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/error_text_view_subscribed_subreddits_multiselection_activity"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="16dp"
|
||||
|
@@ -4,6 +4,7 @@
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:id="@+id/coordinator_layout_subscribed_thing_listing_activity"
|
||||
android:background="?attr/backgroundColor"
|
||||
tools:application=".SubscribedThingListingActivity">
|
||||
|
||||
|
@@ -4,6 +4,7 @@
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:id="@+id/coordinator_layout_view_message_activity"
|
||||
android:background="?attr/backgroundColor"
|
||||
tools:context=".Activity.ViewMessageActivity">
|
||||
|
||||
|
@@ -4,6 +4,7 @@
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:id="@+id/coordinator_layout_view_multi_reddit_detail_activity"
|
||||
android:background="?attr/backgroundColor"
|
||||
tools:context=".Activity.ViewMultiRedditDetailActivity">
|
||||
|
||||
|
@@ -4,6 +4,7 @@
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:id="@+id/coordinator_layout_view_sidebar_activity"
|
||||
android:background="?attr/backgroundColor"
|
||||
tools:context=".Activity.ViewSidebarActivity">
|
||||
|
||||
|
@@ -45,6 +45,7 @@
|
||||
android:elevation="4dp" />
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/toolbar_linear_layout_view_subreddit_detail_activity"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
@@ -148,7 +149,6 @@
|
||||
android:paddingTop="8dp"
|
||||
android:paddingBottom="8dp"
|
||||
android:src="@drawable/ic_subscritptions_bottom_app_bar_24dp"
|
||||
android:textColor="?attr/primaryTextColor"
|
||||
android:background="?attr/selectableItemBackgroundBorderless" />
|
||||
|
||||
<ImageView
|
||||
@@ -160,7 +160,6 @@
|
||||
android:paddingTop="8dp"
|
||||
android:paddingBottom="8dp"
|
||||
android:src="@drawable/ic_multi_reddit_24dp"
|
||||
android:textColor="?attr/primaryTextColor"
|
||||
android:background="?attr/selectableItemBackgroundBorderless" />
|
||||
|
||||
<TextView
|
||||
@@ -178,7 +177,6 @@
|
||||
android:paddingTop="8dp"
|
||||
android:paddingBottom="8dp"
|
||||
android:src="@drawable/ic_inbox_24dp"
|
||||
android:textColor="?attr/primaryTextColor"
|
||||
android:background="?attr/selectableItemBackgroundBorderless" />
|
||||
|
||||
<ImageView
|
||||
@@ -191,7 +189,6 @@
|
||||
android:paddingBottom="8dp"
|
||||
android:gravity="center"
|
||||
android:src="@drawable/ic_account_circle_24dp"
|
||||
android:textColor="?attr/primaryTextColor"
|
||||
android:background="?attr/selectableItemBackgroundBorderless" />
|
||||
|
||||
</LinearLayout>
|
||||
|
@@ -33,6 +33,7 @@
|
||||
android:layout_height="wrap_content" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/error_text_view_followed_users_listing_fragment"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="16dp"
|
||||
|
@@ -4,7 +4,6 @@
|
||||
android:id="@+id/coordinator_layout_subreddit_listing_fragment"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
tools:application=".SubredditListingFragment">
|
||||
|
||||
<androidx.swiperefreshlayout.widget.SwipeRefreshLayout
|
||||
|
@@ -33,6 +33,7 @@
|
||||
android:layout_height="wrap_content" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/error_text_view_subscribed_subreddits_listing_fragment"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="16dp"
|
||||
|
@@ -5,6 +5,7 @@
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<ProgressBar
|
||||
android:id="@+id/progress_bar_item_comment_footer_loading"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="16dp"
|
||||
|
@@ -5,6 +5,7 @@
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<ProgressBar
|
||||
android:id="@+id/progress_bar_item_footer_loading"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="8dp"
|
||||
|
@@ -6,7 +6,7 @@
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<com.lsjwzh.widget.materialloadingprogressbar.CircleProgressBar
|
||||
android:id="@+id/comment_progress_bar_view_post_detail"
|
||||
android:id="@+id/comment_progress_bar_item_load_comments"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="16dp"
|
||||
|
@@ -12,6 +12,7 @@
|
||||
android:src="@drawable/error_image" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/error_text_view_item_load_comments_failed_placeholder"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_horizontal"
|
||||
|
@@ -12,6 +12,7 @@
|
||||
android:src="@drawable/error_image" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/error_text_view_item_no_comment_placeholder"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_horizontal"
|
||||
|
@@ -32,6 +32,9 @@
|
||||
<attr name="colorPrimaryDark" format="color"/>
|
||||
<attr name="colorAccent" format="color"/>
|
||||
<attr name="colorPrimaryLightTheme" format="color"/>
|
||||
<attr name="postTitleColor" format="color" />
|
||||
<attr name="postContentColor" format="color" />
|
||||
<attr name="commentColor" format="color" />
|
||||
<attr name="primaryTextColor" format="color"/>
|
||||
<attr name="secondaryTextColor" format="color"/>
|
||||
<attr name="backgroundColor" format="color"/>
|
||||
|
@@ -227,6 +227,9 @@
|
||||
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
|
||||
<item name="colorAccent">@color/colorAccent</item>
|
||||
<item name="colorPrimaryLightTheme">@color/colorPrimary</item>
|
||||
<item name="postTitleColor">#000000</item>
|
||||
<item name="postContentColor">#8A000000</item>
|
||||
<item name="commentColor">#000000</item>
|
||||
<item name="primaryTextColor">#000000</item>
|
||||
<item name="secondaryTextColor">#8A000000</item>
|
||||
<item name="backgroundColor">@color/backgroundColor</item>
|
||||
@@ -279,6 +282,9 @@
|
||||
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
|
||||
<item name="colorAccent">@color/colorAccent</item>
|
||||
<item name="colorPrimaryLightTheme">#1565C0</item>
|
||||
<item name="postTitleColor">#FFFFFF</item>
|
||||
<item name="postContentColor">#B3FFFFFF</item>
|
||||
<item name="commentColor">#FFFFFF</item>
|
||||
<item name="primaryTextColor">#FFFFFF</item>
|
||||
<item name="secondaryTextColor">#B3FFFFFF</item>
|
||||
<item name="backgroundColor">@color/backgroundColor</item>
|
||||
@@ -331,6 +337,9 @@
|
||||
<item name="colorPrimaryDark">#000000</item>
|
||||
<item name="colorAccent">@color/colorAccent</item>
|
||||
<item name="colorPrimaryLightTheme">#1565C0</item>
|
||||
<item name="postTitleColor">#FFFFFF</item>
|
||||
<item name="postContentColor">#B3FFFFFF</item>
|
||||
<item name="commentColor">#FFFFFF</item>
|
||||
<item name="primaryTextColor">#FFFFFF</item>
|
||||
<item name="secondaryTextColor">#B3FFFFFF</item>
|
||||
<item name="backgroundColor">#000000</item>
|
||||
@@ -383,6 +392,9 @@
|
||||
<item name="colorPrimaryDark">#3D00E0</item>
|
||||
<item name="colorAccent">#0098DD</item>
|
||||
<item name="colorPrimaryLightTheme">?attr/colorPrimary</item>
|
||||
<item name="postTitleColor">#000000</item>
|
||||
<item name="postContentColor">#8A000000</item>
|
||||
<item name="commentColor">#000000</item>
|
||||
<item name="primaryTextColor">#000000</item>
|
||||
<item name="secondaryTextColor">#8A000000</item>
|
||||
<item name="backgroundColor">@color/backgroundColor</item>
|
||||
|
Reference in New Issue
Block a user