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

42 wiersze
2.1 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="wrap_content"
android:paddingStart="@dimen/dsl_settings_gutter"
android:paddingEnd="@dimen/dsl_settings_gutter">
<TextView
android:id="@+id/subscription_currency_selection_donation_amount"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginEnd="13dp"
android:gravity="center_vertical|end"
android:minHeight="48dp"
android:text="@string/SubscribeFragment__currency"
android:textAppearance="@style/Signal.Text.Body"
app:layout_constraintEnd_toStartOf="@id/subscription_currency_selection_spinner"
app:layout_constraintHorizontal_chainStyle="packed"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<androidx.appcompat.widget.AppCompatTextView
android:id="@+id/subscription_currency_selection_spinner"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="@drawable/currency_selection_background"
android:drawablePadding="8dp"
android:gravity="center"
android:minHeight="32dp"
android:padding="12dp"
android:textColor="@color/currency_selector_text_color"
app:drawableEndCompat="@drawable/ic_chevron_down_20"
app:drawableTint="@color/conversation_mention_background_color"
app:layout_constraintBottom_toBottomOf="@id/subscription_currency_selection_donation_amount"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toEndOf="@id/subscription_currency_selection_donation_amount"
app:layout_constraintTop_toTopOf="@id/subscription_currency_selection_donation_amount"
tools:text="USD" />
</androidx.constraintlayout.widget.ConstraintLayout>