Add: Categories chips & bar

This commit is contained in:
machiav3lli
2022-02-18 02:53:01 +01:00
parent d31dd0c675
commit d4fa141962
4 changed files with 43 additions and 1 deletions

View File

@ -15,7 +15,8 @@
~ You should have received a copy of the GNU Affero General Public License
~ along with this program. If not, see <https://www.gnu.org/licenses/>.
-->
<layout xmlns:android="http://schemas.android.com/apk/res/android">
<layout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto">
<data>
@ -31,6 +32,21 @@
android:nestedScrollingEnabled="true"
android:orientation="vertical">
<HorizontalScrollView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:scrollbars="none">
<com.google.android.material.chip.ChipGroup
android:id="@+id/categories"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:nestedScrollingEnabled="true"
android:paddingHorizontal="@dimen/shape_margin_medium"
app:selectionRequired="true"
app:singleSelection="true" />
</HorizontalScrollView>
<androidx.compose.ui.platform.ComposeView
android:id="@+id/primaryComposeRecycler"
android:layout_width="match_parent"