habitica-android/Habitica/res/layout/item_public_guild.xml

55 lines
2.1 KiB
XML
Raw Normal View History

2016-03-05 13:54:19 +00:00
<?xml version="1.0" encoding="utf-8"?>
2022-05-02 16:57:14 +00:00
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
2016-03-06 15:49:35 +00:00
android:layout_height="wrap_content"
2022-05-02 16:57:14 +00:00
xmlns:app="http://schemas.android.com/apk/res-auto"
android:orientation="vertical"
2021-02-04 17:21:04 +00:00
android:layout_marginHorizontal="10dp"
2021-02-10 17:51:26 +00:00
android:layout_marginVertical="4dp"
2021-02-04 17:21:04 +00:00
android:background="@drawable/layout_rounded_bg_window"
2022-05-24 09:30:13 +00:00
android:foreground="?selectableItemBackground"
2021-02-04 17:21:04 +00:00
android:padding="12dp">
2016-03-05 13:54:19 +00:00
2021-02-04 17:21:04 +00:00
<TextView
android:id="@+id/nameTextView"
2021-02-10 17:51:26 +00:00
style="@style/Subheader1"
2021-02-04 17:21:04 +00:00
android:layout_width="match_parent"
android:layout_height="match_parent"/>
<TextView
android:id="@+id/descriptionTextView"
android:layout_width="match_parent"
android:layout_height="match_parent"
2021-02-10 17:51:26 +00:00
style="@style/Caption2.Regular"
android:textColor="@color/text_ternary"
android:lineSpacingExtra="2dp"
android:layout_marginBottom="8dp"
android:layout_marginTop="1dp"/>
2016-03-05 13:54:19 +00:00
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
2021-02-04 17:21:04 +00:00
android:orientation="horizontal"
android:gravity="center">
2022-05-02 16:57:14 +00:00
<com.google.android.flexbox.FlexboxLayout
2021-02-10 17:51:26 +00:00
android:id="@+id/tag_wrapper"
2016-03-05 13:54:19 +00:00
android:layout_width="0dp"
2021-02-04 17:21:04 +00:00
android:layout_weight="1"
2021-02-10 17:51:26 +00:00
android:layout_height="wrap_content"
android:orientation="horizontal"
android:gravity="center_vertical"
android:layout_marginStart="-2dp"
2022-05-02 16:57:14 +00:00
android:layout_marginEnd="@dimen/spacing_medium"
app:flexWrap="wrap"/>
2021-02-04 17:21:04 +00:00
<ImageView
android:id="@+id/guild_badge_view"
android:layout_width="wrap_content"
2016-03-05 13:54:19 +00:00
android:layout_height="wrap_content"
2021-02-04 17:21:04 +00:00
android:layout_marginEnd="@dimen/spacing_small"/>
2016-03-05 13:54:19 +00:00
<TextView
android:id="@+id/memberCountTextView"
2021-02-10 17:51:26 +00:00
style="@style/Caption2.Regular"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
2016-03-05 13:54:19 +00:00
</LinearLayout>
</LinearLayout>