2017-04-20 13:33:33 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2018-11-06 15:11:02 +00:00
|
|
|
<androidx.swiperefreshlayout.widget.SwipeRefreshLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2018-08-22 18:02:11 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:id="@+id/refreshLayout">
|
2018-11-06 15:11:02 +00:00
|
|
|
<androidx.core.widget.NestedScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
2017-04-20 13:33:33 +00:00
|
|
|
android:layout_width="match_parent"
|
2018-08-22 18:02:11 +00:00
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:scrollbarSize="3dp"
|
|
|
|
|
android:scrollbarThumbVertical="@color/scrollbarThumb"
|
|
|
|
|
android:scrollbars="vertical">
|
|
|
|
|
<LinearLayout
|
2017-04-20 13:33:33 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
2018-08-22 18:02:11 +00:00
|
|
|
android:orientation="vertical"
|
|
|
|
|
android:paddingBottom="?android:actionBarSize">
|
2017-04-20 13:33:33 +00:00
|
|
|
|
2018-11-06 15:11:02 +00:00
|
|
|
<androidx.cardview.widget.CardView
|
2017-10-26 16:44:03 +00:00
|
|
|
android:layout_width="match_parent"
|
2018-08-22 18:02:11 +00:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
style="@style/CardView.Default"
|
|
|
|
|
android:id="@+id/invitationWrapper">
|
2017-04-20 13:33:33 +00:00
|
|
|
|
2018-08-22 18:02:11 +00:00
|
|
|
<LinearLayout
|
|
|
|
|
android:orientation="vertical"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
style="@style/CardContent">
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="match_parent"
|
2017-10-26 16:44:03 +00:00
|
|
|
android:layout_height="wrap_content"
|
2018-08-22 18:02:11 +00:00
|
|
|
android:text="@string/invited_to_party" />
|
|
|
|
|
<LinearLayout
|
2017-10-26 16:44:03 +00:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
2018-08-22 18:02:11 +00:00
|
|
|
android:orientation="horizontal"
|
|
|
|
|
android:layout_gravity="right">
|
|
|
|
|
|
|
|
|
|
<Button
|
|
|
|
|
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" />
|
|
|
|
|
|
|
|
|
|
<Button
|
|
|
|
|
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" />
|
|
|
|
|
</LinearLayout>
|
2017-04-20 13:33:33 +00:00
|
|
|
</LinearLayout>
|
2018-11-06 15:11:02 +00:00
|
|
|
</androidx.cardview.widget.CardView>
|
2017-04-20 13:33:33 +00:00
|
|
|
|
2018-02-09 17:13:44 +00:00
|
|
|
<LinearLayout
|
2018-08-22 18:02:11 +00:00
|
|
|
android:id="@+id/noPartyWrapper"
|
2018-02-09 17:13:44 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
2018-08-22 18:02:11 +00:00
|
|
|
android:orientation="vertical">
|
|
|
|
|
<LinearLayout
|
2018-02-09 17:13:44 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
2018-08-22 18:02:11 +00:00
|
|
|
android:orientation="vertical"
|
|
|
|
|
android:layout_margin="@dimen/spacing_large">
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
style="@style/Title1"
|
|
|
|
|
android:text="@string/no_party_title"
|
|
|
|
|
android:gravity="center"/>
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
style="@style/Body1"
|
|
|
|
|
android:text="@string/no_party_description"
|
|
|
|
|
android:textColor="@color/gray_300"
|
|
|
|
|
android:gravity="center"/>
|
|
|
|
|
<Button
|
|
|
|
|
android:id="@+id/craetePartyButton"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
style="@style/HabiticaButton.Gray.600"
|
|
|
|
|
android:text="@string/create_party_website"
|
|
|
|
|
android:layout_marginTop="@dimen/spacing_large"/>
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
<View
|
2018-02-09 17:13:44 +00:00
|
|
|
android:layout_width="match_parent"
|
2018-08-22 18:02:11 +00:00
|
|
|
android:layout_height="1dp"
|
|
|
|
|
android:background="@color/gray_500"/>
|
|
|
|
|
<LinearLayout
|
2018-02-09 17:13:44 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:orientation="vertical"
|
2018-08-22 18:02:11 +00:00
|
|
|
android:layout_margin="@dimen/spacing_large">
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
style="@style/Title2"
|
|
|
|
|
android:text="@string/join_party_title"
|
|
|
|
|
android:gravity="center"/>
|
|
|
|
|
<TextView
|
2018-10-17 16:38:38 +00:00
|
|
|
android:id="@+id/join_party_description_textview"
|
2018-08-22 18:02:11 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
style="@style/Body1"
|
|
|
|
|
android:text="@string/join_party_description"
|
|
|
|
|
android:textColor="@color/gray_300"
|
|
|
|
|
android:gravity="center"/>
|
2018-02-09 17:13:44 +00:00
|
|
|
|
2018-10-17 16:38:38 +00:00
|
|
|
<Button
|
|
|
|
|
android:id="@+id/username_textview"
|
2018-08-22 18:02:11 +00:00
|
|
|
android:layout_width="match_parent"
|
2018-02-09 17:13:44 +00:00
|
|
|
android:layout_height="wrap_content"
|
2018-08-22 18:02:11 +00:00
|
|
|
android:textColor="@color/brand_400"
|
2018-10-17 16:38:38 +00:00
|
|
|
style="@style/HabiticaButton.Gray.600"
|
2018-08-22 18:02:11 +00:00
|
|
|
android:gravity="center"
|
|
|
|
|
android:layout_marginTop="@dimen/spacing_large"
|
|
|
|
|
android:layout_marginBottom="@dimen/spacing_large"/>
|
|
|
|
|
|
2018-02-09 17:13:44 +00:00
|
|
|
</LinearLayout>
|
2017-10-26 16:44:03 +00:00
|
|
|
</LinearLayout>
|
2017-04-20 13:33:33 +00:00
|
|
|
|
2018-08-22 18:02:11 +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
|
|
|
|
2018-11-06 15:11:02 +00:00
|
|
|
<androidx.cardview.widget.CardView
|
2018-08-22 18:02:11 +00:00
|
|
|
android:id="@+id/groupDescriptionWrapper"
|
2017-04-20 13:33:33 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
2018-08-22 18:02:11 +00:00
|
|
|
style="@style/CardView.Default">
|
2017-04-20 13:33:33 +00:00
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
2018-08-22 18:02:11 +00:00
|
|
|
style="@style/CardContent"
|
|
|
|
|
android:divider="?android:listDivider"
|
|
|
|
|
android:showDividers="middle"
|
2017-04-20 13:33:33 +00:00
|
|
|
android:orientation="vertical">
|
2018-08-17 13:32:43 +00:00
|
|
|
|
2017-10-26 16:44:03 +00:00
|
|
|
<net.pherth.android.emoji_library.EmojiTextView
|
2018-08-22 18:02:11 +00:00
|
|
|
android:id="@+id/groupDescriptionView"
|
2017-04-20 13:33:33 +00:00
|
|
|
android:layout_width="wrap_content"
|
2018-08-22 18:02:11 +00:00
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:id="@+id/leadernameWrapper"
|
|
|
|
|
android:layout_width="match_parent"
|
2017-04-20 13:33:33 +00:00
|
|
|
android:layout_height="wrap_content"
|
2018-08-22 18:02:11 +00:00
|
|
|
android:orientation="vertical">
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/leadernameTextView"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:id="@+id/leaderMessageWrapper"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
<net.pherth.android.emoji_library.EmojiTextView
|
|
|
|
|
android:id="@+id/leaderMessageTextView"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"/>
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:id="@+id/gemCountWrapper"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:text="@string/gems"/>
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/gemCountTextView"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"/>
|
|
|
|
|
</LinearLayout>
|
2017-04-20 13:33:33 +00:00
|
|
|
</LinearLayout>
|
|
|
|
|
|
2018-11-06 15:11:02 +00:00
|
|
|
</androidx.cardview.widget.CardView>
|
2018-08-22 18:02:11 +00:00
|
|
|
</LinearLayout>
|
2018-11-06 15:11:02 +00:00
|
|
|
</androidx.core.widget.NestedScrollView>
|
|
|
|
|
</androidx.swiperefreshlayout.widget.SwipeRefreshLayout>
|