sms-translate/app/src/main/res/layout/schedule_message_dialog.xml
2023-12-21 18:15:03 +05:30

82 lines
3.7 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:id="@+id/scheduled_message_dialog_holder"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:paddingVertical="@dimen/activity_margin">
<org.fossify.commons.views.MyTextView
android:id="@+id/subtitle"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginHorizontal="@dimen/activity_margin"
android:background="?attr/selectableItemBackground"
android:includeFontPadding="false"
android:padding="@dimen/tiny_margin"
android:text="@string/schedule_send_warning"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<androidx.appcompat.widget.AppCompatImageView
android:id="@+id/date_image"
android:layout_width="@dimen/social_logo"
android:layout_height="@dimen/social_logo"
android:layout_marginStart="@dimen/activity_margin"
android:layout_marginTop="@dimen/big_margin"
android:padding="@dimen/small_margin"
android:src="@drawable/ic_calendar_month_vector"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/subtitle" />
<org.fossify.commons.views.MyTextView
android:id="@+id/edit_date"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:background="?attr/selectableItemBackground"
android:ellipsize="end"
android:includeFontPadding="false"
android:paddingStart="@dimen/medium_margin"
android:paddingTop="@dimen/normal_margin"
android:paddingEnd="@dimen/normal_margin"
android:paddingBottom="@dimen/normal_margin"
android:textSize="@dimen/big_text_size"
app:layout_constraintBottom_toBottomOf="@+id/date_image"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toEndOf="@+id/date_image"
app:layout_constraintTop_toTopOf="@+id/date_image"
tools:text="25 sep, 2022" />
<androidx.appcompat.widget.AppCompatImageView
android:id="@+id/time_image"
android:layout_width="@dimen/social_logo"
android:layout_height="@dimen/social_logo"
android:layout_marginStart="@dimen/activity_margin"
android:layout_marginTop="@dimen/activity_margin"
android:padding="@dimen/small_margin"
android:src="@drawable/ic_clock_vector"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/date_image" />
<org.fossify.commons.views.MyTextView
android:id="@+id/edit_time"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:background="?attr/selectableItemBackground"
android:ellipsize="end"
android:includeFontPadding="false"
android:paddingStart="@dimen/medium_margin"
android:paddingTop="@dimen/normal_margin"
android:paddingEnd="@dimen/normal_margin"
android:paddingBottom="@dimen/normal_margin"
android:textSize="@dimen/big_text_size"
app:layout_constraintBottom_toBottomOf="@+id/time_image"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toEndOf="@+id/time_image"
app:layout_constraintTop_toTopOf="@+id/time_image"
tools:text="07:00 AM" />
</androidx.constraintlayout.widget.ConstraintLayout>