2019-11-04 15:21:59 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2020-03-13 19:27:11 +00:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
2019-11-04 15:21:59 +00:00
|
|
|
android:orientation="vertical" android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent">
|
2020-03-13 19:27:11 +00:00
|
|
|
|
2020-09-18 16:34:53 +00:00
|
|
|
<FrameLayout
|
2019-11-04 15:21:59 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
2020-09-18 16:34:53 +00:00
|
|
|
style="@style/FlatCardView"
|
2020-03-13 19:27:11 +00:00
|
|
|
android:id="@+id/party_invitation_wrapper">
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:orientation="horizontal"
|
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
style="@style/CardContent">
|
|
|
|
|
|
2020-04-11 02:20:40 +00:00
|
|
|
<com.habitrpg.android.habitica.ui.RoundedFrameLayout
|
|
|
|
|
android:layout_width="@dimen/party_invite_avatar"
|
|
|
|
|
android:layout_height="@dimen/party_invite_avatar"
|
|
|
|
|
android:clipChildren="true"
|
|
|
|
|
android:layout_marginEnd="@dimen/spacing_medium"
|
|
|
|
|
android:background="@drawable/rounded_avatar_bg">
|
|
|
|
|
<com.habitrpg.android.habitica.ui.AvatarView
|
|
|
|
|
android:id="@+id/groupleader_avatar_view"
|
|
|
|
|
android:layout_width="60dp"
|
|
|
|
|
android:layout_height="60dp"
|
|
|
|
|
android:layout_gravity="center"
|
|
|
|
|
app:showBackground="true"
|
|
|
|
|
app:showMount="false"
|
|
|
|
|
app:showPet="false" />
|
|
|
|
|
</com.habitrpg.android.habitica.ui.RoundedFrameLayout>
|
2020-03-13 19:27:11 +00:00
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/groupleader_text_view"
|
|
|
|
|
android:layout_width="@dimen/party_invite_text_width"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
|
android:layout_marginStart="@dimen/party_invite_separator"
|
|
|
|
|
android:text="@string/invitation_title" />
|
|
|
|
|
|
|
|
|
|
<Space
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:orientation="horizontal"
|
|
|
|
|
android:layout_marginEnd="@dimen/party_invite_separator"
|
|
|
|
|
android:layout_gravity="end|center_vertical|fill_horizontal">
|
2019-11-04 15:21:59 +00:00
|
|
|
|
2020-03-13 19:27:11 +00:00
|
|
|
<Button
|
|
|
|
|
android:id="@+id/accept_button"
|
|
|
|
|
android:layout_width="@dimen/party_invite_button"
|
|
|
|
|
android:layout_height="@dimen/party_invite_button"
|
|
|
|
|
android:layout_marginEnd="@dimen/party_accept_button_start_margin"
|
|
|
|
|
android:background="@drawable/party_invite_accept" />
|
2019-11-04 15:21:59 +00:00
|
|
|
|
2020-03-13 19:27:11 +00:00
|
|
|
<Button
|
|
|
|
|
android:id="@+id/reject_button"
|
|
|
|
|
android:layout_width="@dimen/party_invite_button"
|
|
|
|
|
android:layout_height="@dimen/party_invite_button"
|
|
|
|
|
android:layout_marginStart="@dimen/party_accept_button_start_margin"
|
|
|
|
|
android:background="@drawable/party_invite_reject" />
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
</LinearLayout>
|
2020-09-18 16:34:53 +00:00
|
|
|
</FrameLayout>
|
2019-11-04 15:21:59 +00:00
|
|
|
</LinearLayout>
|