kopia lustrzana https://github.com/ryukoposting/Signal-Android
75 wiersze
3.3 KiB
XML
75 wiersze
3.3 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
tools:theme="@style/Theme.Signal.RoundedBottomSheet.Light">
|
|
|
|
<LinearLayout
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
android:paddingTop="16dp"
|
|
android:paddingBottom="16dp"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent">
|
|
|
|
<TextView
|
|
android:id="@+id/group_link_bottom_sheet_hint"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="16dp"
|
|
android:layout_marginEnd="16dp"
|
|
android:layout_marginBottom="8dp"
|
|
android:textAlignment="center"
|
|
android:textAppearance="@style/TextAppearance.Signal.Body2"
|
|
android:textColor="@color/signal_text_secondary"
|
|
android:visibility="gone"
|
|
tools:text="@string/GroupLinkBottomSheet_share_hint_requiring_approval"
|
|
tools:visibility="visible" />
|
|
|
|
<Button
|
|
android:id="@+id/group_link_bottom_sheet_share_via_signal_button"
|
|
style="@style/Widget.Signal.Button.TextButton.Drawable"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="56dp"
|
|
android:paddingStart="20dp"
|
|
android:paddingEnd="20dp"
|
|
android:text="@string/GroupLinkBottomSheet_share_via_signal"
|
|
app:drawableStartCompat="@drawable/ic_message_tinted_bitmap_24" />
|
|
|
|
<Button
|
|
android:id="@+id/group_link_bottom_sheet_copy_button"
|
|
style="@style/Widget.Signal.Button.TextButton.Drawable"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="56dp"
|
|
android:paddingStart="20dp"
|
|
android:paddingEnd="20dp"
|
|
android:text="@string/GroupLinkBottomSheet_copy"
|
|
app:drawableStartCompat="@drawable/ic_copy_24_tinted" />
|
|
|
|
<Button
|
|
android:id="@+id/group_link_bottom_sheet_qr_code_button"
|
|
style="@style/Widget.Signal.Button.TextButton.Drawable"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="56dp"
|
|
android:paddingStart="20dp"
|
|
android:paddingEnd="20dp"
|
|
android:text="@string/GroupLinkBottomSheet_qr_code"
|
|
app:drawableStartCompat="@drawable/ic_qrcode_24_tinted" />
|
|
|
|
<Button
|
|
android:id="@+id/group_link_bottom_sheet_share_via_system_button"
|
|
style="@style/Widget.Signal.Button.TextButton.Drawable"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="56dp"
|
|
android:paddingStart="20dp"
|
|
android:paddingEnd="20dp"
|
|
android:text="@string/GroupLinkBottomSheet_share"
|
|
app:drawableStartCompat="@drawable/ic_share_24_tinted" />
|
|
|
|
</LinearLayout>
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout> |