mirror of
https://github.com/sudoxnym/habitica-android.git
synced 2026-07-29 02:08:10 +00:00
112 lines
5.8 KiB
XML
112 lines
5.8 KiB
XML
|
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
|
<androidx.swiperefreshlayout.widget.SwipeRefreshLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="match_parent"
|
||
|
|
xmlns:tools="http://schemas.android.com/tools"
|
||
|
|
android:id="@+id/refreshLayout"
|
||
|
|
android:background="@color/gray_700">
|
||
|
|
<androidx.core.widget.NestedScrollView
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="match_parent"
|
||
|
|
android:background="@color/gray_700">
|
||
|
|
<com.habitrpg.android.habitica.ui.views.PaddedLinearLayout
|
||
|
|
android:orientation="vertical"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:background="@color/gray_700">
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/title_view"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
style="@style/Title1"
|
||
|
|
tools:text="Awesome Party"
|
||
|
|
android:gravity="center"
|
||
|
|
android:layout_margin="@dimen/spacing_large" />
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:orientation="vertical"
|
||
|
|
android:background="@color/white"
|
||
|
|
android:showDividers="beginning|end|middle"
|
||
|
|
android:divider="@drawable/vertical_divider">
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:paddingStart="@dimen/spacing_large"
|
||
|
|
android:paddingEnd="@dimen/spacing_large"
|
||
|
|
android:paddingTop="12dp"
|
||
|
|
android:paddingBottom="12dp"
|
||
|
|
android:orientation="horizontal">
|
||
|
|
<Button
|
||
|
|
android:id="@+id/invite_button"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_weight="1"
|
||
|
|
android:layout_height="@dimen/button_height"
|
||
|
|
android:text="@string/invite_to_guild"
|
||
|
|
style="@style/HabiticaButton.Purple"
|
||
|
|
android:layout_marginEnd="17dp" />
|
||
|
|
<Button
|
||
|
|
android:id="@+id/join_button"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_weight="1"
|
||
|
|
android:layout_height="@dimen/button_height"
|
||
|
|
android:text="@string/join_guild"
|
||
|
|
style="@style/HabiticaButton.Green"/>
|
||
|
|
</LinearLayout>
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="65dp"
|
||
|
|
android:layout_gravity="center_vertical"
|
||
|
|
android:gravity="center_vertical"
|
||
|
|
android:paddingStart="12dp"
|
||
|
|
android:paddingEnd="12dp">
|
||
|
|
<com.habitrpg.android.habitica.ui.views.RoundedCornerLayout
|
||
|
|
android:layout_width="40dp"
|
||
|
|
android:layout_height="40dp">
|
||
|
|
<com.habitrpg.android.habitica.ui.AvatarView
|
||
|
|
android:id="@+id/leader_avatar_view"
|
||
|
|
android:layout_width="70dp"
|
||
|
|
android:layout_height="70dp"
|
||
|
|
android:layout_gravity="center"/>
|
||
|
|
</com.habitrpg.android.habitica.ui.views.RoundedCornerLayout>
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_weight="1"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:orientation="vertical"
|
||
|
|
android:gravity="center_vertical">
|
||
|
|
<com.habitrpg.android.habitica.ui.views.social.UsernameLabel
|
||
|
|
android:id="@+id/leader_profile_name"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content" />
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/leader_username"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_marginTop="2dp"/>
|
||
|
|
</LinearLayout>
|
||
|
|
</LinearLayout>
|
||
|
|
<com.habitrpg.android.habitica.ui.views.CollapsibleSectionView
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
app:title="@string/guild_description"
|
||
|
|
app:identifier="tavernInn">
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/guild_description"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:text="@string/inn_description"
|
||
|
|
android:layout_marginTop="@dimen/spacing_large" />
|
||
|
|
</com.habitrpg.android.habitica.ui.views.CollapsibleSectionView>
|
||
|
|
</LinearLayout>
|
||
|
|
<Button
|
||
|
|
android:id="@+id/leave_button"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="@dimen/button_height"
|
||
|
|
android:layout_margin="@dimen/spacing_large"
|
||
|
|
style="@style/HabiticaButton.Red"
|
||
|
|
android:text="@string/leave_party"/>
|
||
|
|
</com.habitrpg.android.habitica.ui.views.PaddedLinearLayout>
|
||
|
|
</androidx.core.widget.NestedScrollView>
|
||
|
|
</androidx.swiperefreshlayout.widget.SwipeRefreshLayout>
|