Skip to content

Commit 61c8b4a

Browse files
committed
feat: add permalink button to space header
1 parent 3cb780f commit 61c8b4a

2 files changed

Lines changed: 14 additions & 0 deletions

File tree

‎owncloudApp/src/main/res/layout/members_activity.xml‎

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,19 @@
6767
app:layout_constraintStart_toEndOf="@id/item_icon"
6868
app:layout_constraintTop_toBottomOf="@id/item_name"/>
6969

70+
<ImageButton
71+
android:id="@+id/permanent_link_button"
72+
android:layout_width="40dp"
73+
android:layout_height="40dp"
74+
android:layout_marginTop="@dimen/standard_quarter_margin"
75+
android:padding="@dimen/standard_half_padding"
76+
android:src="@drawable/copy_link"
77+
android:scaleType="centerCrop"
78+
android:background="@color/transparent"
79+
android:contentDescription="@string/content_description_permanent_link_button"
80+
app:layout_constraintEnd_toEndOf="parent"
81+
app:layout_constraintTop_toTopOf="parent"/>
82+
7083
</androidx.constraintlayout.widget.ConstraintLayout>
7184

7285
<FrameLayout

‎owncloudApp/src/main/res/values/strings.xml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -834,6 +834,7 @@
834834
<string name="content_description_invite_member_button">Invite member</string>
835835
<string name="content_description_expiration_date_switch">Expiration date</string>
836836
<string name="content_description_remove_member_button">Remove member %1$s</string>
837+
<string name="content_description_permanent_link_button">Get permanent link</string>
837838

838839
<string name="create_shortcut_dialog_title">Create a shortcut</string>
839840
<string name="create_shortcut_dialog_url">URL</string>

0 commit comments

Comments
 (0)