diff options
author | Alex Ning <chineseperson5@gmail.com> | 2021-02-25 15:34:26 +0000 |
---|---|---|
committer | Alex Ning <chineseperson5@gmail.com> | 2021-02-25 15:34:26 +0000 |
commit | b86e5284a21271e2cd791538e05b3a353e28d01a (patch) | |
tree | d9abff18dcd939d012d4de283dadf250e3df07c6 /app/src/main/res | |
parent | abb37707fbc34c5c1a77b3990642a44b560dcd71 (diff) | |
download | infinity-for-reddit-b86e5284a21271e2cd791538e05b3a353e28d01a.tar infinity-for-reddit-b86e5284a21271e2cd791538e05b3a353e28d01a.tar.gz infinity-for-reddit-b86e5284a21271e2cd791538e05b3a353e28d01a.tar.bz2 infinity-for-reddit-b86e5284a21271e2cd791538e05b3a353e28d01a.tar.lz infinity-for-reddit-b86e5284a21271e2cd791538e05b3a353e28d01a.tar.xz infinity-for-reddit-b86e5284a21271e2cd791538e05b3a353e28d01a.tar.zst infinity-for-reddit-b86e5284a21271e2cd791538e05b3a353e28d01a.zip |
Multi-selection in subreddit search result for CustomizePostFilterActivity.
Diffstat (limited to 'app/src/main/res')
-rw-r--r-- | app/src/main/res/layout/item_subreddit_listing.xml | 8 | ||||
-rw-r--r-- | app/src/main/res/menu/search_subreddits_result_activity.xml | 10 |
2 files changed, 18 insertions, 0 deletions
diff --git a/app/src/main/res/layout/item_subreddit_listing.xml b/app/src/main/res/layout/item_subreddit_listing.xml index da9c0044..a308e347 100644 --- a/app/src/main/res/layout/item_subreddit_listing.xml +++ b/app/src/main/res/layout/item_subreddit_listing.xml @@ -44,4 +44,12 @@ android:background="?attr/selectableItemBackground" android:visibility="gone"/> + <com.google.android.material.checkbox.MaterialCheckBox + android:id="@+id/checkbox__item_subreddit_listing" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintTop_toTopOf="parent" + app:layout_constraintBottom_toBottomOf="parent" /> + </androidx.constraintlayout.widget.ConstraintLayout>
\ No newline at end of file diff --git a/app/src/main/res/menu/search_subreddits_result_activity.xml b/app/src/main/res/menu/search_subreddits_result_activity.xml new file mode 100644 index 00000000..a788cace --- /dev/null +++ b/app/src/main/res/menu/search_subreddits_result_activity.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="utf-8"?> +<menu xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:app="http://schemas.android.com/apk/res-auto"> + <item + android:id="@+id/action_save_search_subreddits_result_activity" + android:orderInCategory="1" + android:title="@string/action_save" + android:icon="@drawable/ic_check_circle_toolbar_24dp" + app:showAsAction="ifRoom" /> +</menu>
\ No newline at end of file |