Signal-Android/app/src/main/res/layout/onboarding_megaphone.xml

57 wiersze
2.2 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<merge
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:paddingBottom="10dp"
android:clipChildren="false"
android:clipToPadding="false"
tools:parentTag="android.widget.FrameLayout">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:clipToPadding="false"
android:clipChildren="false">
<ImageView
android:layout_width="match_parent"
android:layout_height="24dp"
android:src="@drawable/megaphone_onboarding_gradient" />
<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingBottom="12dp"
android:clipToPadding="false"
android:clipChildren="false"
android:background="@color/signal_background_primary">
<TextView
android:id="@+id/onboarding_megaphone_title"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="16dp"
android:layout_marginTop="4dp"
style="@style/TextAppearance.Signal.Title2.Bold"
android:text="@string/Megaphones_get_started"
app:layout_constraintTop_toTopOf="parent" />
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/onboarding_megaphone_list"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="16dp"
android:layout_marginTop="10dp"
android:clipChildren="false"
android:clipToPadding="false"
app:layout_constraintTop_toBottomOf="@id/onboarding_megaphone_title"/>
</androidx.constraintlayout.widget.ConstraintLayout>
</LinearLayout>
</merge>