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

132 lines
6.1 KiB
XML
Raw Normal View History

2017-04-20 13:33:33 +00:00
<?xml version="1.0" encoding="utf-8"?>
2017-10-26 16:44:03 +00:00
<android.support.v4.widget.NestedScrollView xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:scrollbarSize="3dp"
android:scrollbarThumbVertical="@color/md_grey_500"
android:scrollbars="vertical">
<LinearLayout
2017-04-20 13:33:33 +00:00
android:layout_width="match_parent"
2017-10-26 16:44:03 +00:00
android:layout_height="wrap_content"
android:orientation="vertical"
android:paddingBottom="?android:actionBarSize">
2017-04-20 13:33:33 +00:00
2017-10-26 16:44:03 +00:00
<android.support.v7.widget.CardView
2017-04-20 13:33:33 +00:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
2017-10-26 16:44:03 +00:00
style="@style/CardView.Default"
android:id="@+id/invitationWrapper">
2017-04-20 13:33:33 +00:00
2017-10-26 16:44:03 +00:00
<LinearLayout
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent"
style="@style/CardContent">
<TextView
2017-04-20 13:33:33 +00:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
2017-10-26 16:44:03 +00:00
android:text="@string/invited_to_party" />
2017-04-20 13:33:33 +00:00
<LinearLayout
2017-10-26 16:44:03 +00:00
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:layout_gravity="right">
2017-04-20 13:33:33 +00:00
<Button
2017-10-26 16:44:03 +00:00
android:id="@+id/buttonPartyInviteAccept"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/quest.accept"
android:textColor="@color/btn_success"
style="?android:buttonBarButtonStyle" />
2017-04-20 13:33:33 +00:00
<Button
2017-10-26 16:44:03 +00:00
android:id="@+id/buttonPartyInviteReject"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/quest.reject"
android:textColor="@color/btn_danger"
style="?android:buttonBarButtonStyle" />
2017-04-20 13:33:33 +00:00
</LinearLayout>
2017-10-26 16:44:03 +00:00
</LinearLayout>
</android.support.v7.widget.CardView>
2017-04-20 13:33:33 +00:00
2017-10-26 16:44:03 +00:00
<android.support.v7.widget.CardView
android:layout_width="match_parent"
android:layout_height="wrap_content"
style="@style/CardView.Default"
android:id="@+id/qrWrapper">
<LinearLayout
android:orientation="vertical"
2017-04-20 13:33:33 +00:00
android:layout_width="match_parent"
2017-10-26 16:44:03 +00:00
android:layout_height="match_parent"
style="@style/CardContent">
2017-04-20 13:33:33 +00:00
2017-10-26 16:44:03 +00:00
<include layout="@layout/qr_code" />
</LinearLayout>
</android.support.v7.widget.CardView>
2017-04-20 13:33:33 +00:00
2017-10-26 16:44:03 +00:00
<TextView
android:id="@+id/groupNameView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
style="@style/SectionTitle"/>
2017-04-20 13:33:33 +00:00
2017-10-26 16:44:03 +00:00
<android.support.v7.widget.CardView
android:id="@+id/groupDescriptionWrapper"
android:layout_width="match_parent"
android:layout_height="wrap_content"
style="@style/CardView.Default">
<LinearLayout
2017-04-20 13:33:33 +00:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
2017-10-26 16:44:03 +00:00
style="@style/CardContent"
android:divider="?android:listDivider"
android:showDividers="middle"
android:orientation="vertical">
<net.pherth.android.emoji_library.EmojiTextView
android:id="@+id/groupDescriptionView"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
2017-04-20 13:33:33 +00:00
<LinearLayout
2017-10-26 16:44:03 +00:00
android:id="@+id/leadernameWrapper"
2017-04-20 13:33:33 +00:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<TextView
2017-10-26 16:44:03 +00:00
android:id="@+id/leadernameTextView"
2017-04-20 13:33:33 +00:00
android:layout_width="match_parent"
2017-10-26 16:44:03 +00:00
android:layout_height="wrap_content" />
2017-04-20 13:33:33 +00:00
</LinearLayout>
<LinearLayout
2017-10-26 16:44:03 +00:00
android:id="@+id/leaderMessageWrapper"
2017-04-20 13:33:33 +00:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
2017-10-26 16:44:03 +00:00
android:orientation="vertical">
<net.pherth.android.emoji_library.EmojiTextView
android:id="@+id/leaderMessageTextView"
2017-04-20 13:33:33 +00:00
android:layout_width="wrap_content"
2017-10-26 16:44:03 +00:00
android:layout_height="wrap_content"/>
2017-04-20 13:33:33 +00:00
</LinearLayout>
<LinearLayout
2017-10-26 16:44:03 +00:00
android:id="@+id/gemCountWrapper"
2017-04-20 13:33:33 +00:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
2017-10-26 16:44:03 +00:00
android:orientation="horizontal">
2017-04-20 13:33:33 +00:00
<TextView
2017-10-26 16:44:03 +00:00
android:layout_width="0dp"
2017-04-20 13:33:33 +00:00
android:layout_height="wrap_content"
2017-10-26 16:44:03 +00:00
android:layout_weight="1"
android:text="@string/gems"/>
<TextView
android:id="@+id/gemCountTextView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"/>
2017-04-20 13:33:33 +00:00
</LinearLayout>
2017-10-26 16:44:03 +00:00
</LinearLayout>
2017-04-20 13:33:33 +00:00
2017-10-26 16:44:03 +00:00
</android.support.v7.widget.CardView>
</LinearLayout>
</android.support.v4.widget.NestedScrollView>