Signal-Android/app/src/main/res/layout/notification_profiles_empty...

63 wiersze
3.0 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"
android:padding="24dp">
<androidx.appcompat.widget.AppCompatImageView
android:id="@+id/notification_profiles_empty_icon"
android:layout_width="88dp"
android:layout_height="88dp"
android:layout_marginTop="96dp"
android:background="@drawable/tinted_circle"
android:padding="20dp"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:srcCompat="@drawable/ic_sleeping_face"
tools:backgroundTint="#E3E3FE" />
<TextView
android:id="@+id/notification_profiles_empty_title"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="24dp"
android:layout_marginTop="20dp"
android:layout_marginEnd="24dp"
android:gravity="center"
android:text="@string/NotificationProfilesFragment__notification_profiles"
android:textAppearance="@style/TextAppearance.Signal.Title1"
android:hyphenationFrequency="normal"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/notification_profiles_empty_icon" />
<TextView
android:id="@+id/notification_profiles_empty_description"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="24dp"
android:layout_marginTop="12dp"
android:layout_marginEnd="24dp"
android:gravity="center"
android:textAppearance="@style/TextAppearance.Signal.Body1"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/notification_profiles_empty_title"
android:text="@string/NotificationProfilesFragment__create_a_profile_to_receive_notifications_and_calls_only_from_the_people_and_groups_you_want_to_hear_from" />
<com.google.android.material.button.MaterialButton
android:id="@+id/notification_profiles_empty_create_profile"
style="@style/Signal.Widget.Button.Large.Primary"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/NotificationProfilesFragment__create_profile"
app:layout_constraintVertical_bias="1"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/notification_profiles_empty_description" />
</androidx.constraintlayout.widget.ConstraintLayout>