Skip to content

Commit eb95a4e

Browse files
committed
feat: create layout for space public links
1 parent 5fbbcd6 commit eb95a4e

1 file changed

Lines changed: 36 additions & 1 deletion

File tree

owncloudApp/src/main/res/layout/members_fragment.xml

Lines changed: 36 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,12 +70,47 @@
7070
<androidx.recyclerview.widget.RecyclerView
7171
android:id="@+id/members_recycler_view"
7272
android:layout_width="match_parent"
73-
android:layout_height="0dp"
73+
android:layout_height="wrap_content"
7474
android:layout_weight="1"
7575
android:scrollbars="vertical"
7676
android:visibility="visible"
7777
tools:visibility="visible"/>
7878

79+
<androidx.constraintlayout.widget.ConstraintLayout
80+
android:layout_width="match_parent"
81+
android:layout_height="match_parent"
82+
android:background="@color/actionbar_start_color">
83+
84+
<TextView
85+
android:id="@+id/public_links_title"
86+
android:layout_width="wrap_content"
87+
android:layout_height="50dp"
88+
android:layout_centerVertical="true"
89+
android:gravity="center"
90+
android:text="@string/share_via_link_section_title"
91+
android:layout_marginStart="@dimen/standard_half_margin"
92+
android:textAllCaps="true"
93+
android:textColor="@color/white"
94+
android:textStyle="bold"
95+
android:accessibilityHeading="true"
96+
app:layout_constraintStart_toStartOf="parent"
97+
app:layout_constraintTop_toTopOf="parent"/>
98+
99+
</androidx.constraintlayout.widget.ConstraintLayout>
100+
101+
<androidx.recyclerview.widget.RecyclerView
102+
android:id="@+id/public_links_recycler_view"
103+
android:layout_width="match_parent"
104+
android:layout_height="wrap_content"
105+
android:layout_weight="1"
106+
android:scrollbars="vertical"
107+
android:visibility="visible"/>
108+
109+
<include
110+
android:id="@+id/empty_data_parent"
111+
layout="@layout/item_empty_dataset"
112+
android:visibility="gone"/>
113+
79114
</LinearLayout>
80115

81116
</ScrollView>

0 commit comments

Comments
 (0)