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

60 lines
2.4 KiB
XML
Raw Normal View History

2021-01-08 23:00:41 -05:00
<?xml version="1.0" encoding="utf-8"?>
2023-02-27 13:12:32 -04:00
<merge xmlns:android="http://schemas.android.com/apk/res/android"
2021-01-08 23:00:41 -05:00
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:clipChildren="false"
android:clipToPadding="false"
2023-02-27 13:12:32 -04:00
android:paddingBottom="10dp"
tools:parentTag="android.widget.FrameLayout"
tools:viewBindingIgnore="true">
2021-01-08 23:00:41 -05:00
<LinearLayout
2021-01-08 23:00:41 -05:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
2023-02-27 13:12:32 -04:00
android:clipChildren="false"
2021-01-08 23:00:41 -05:00
android:clipToPadding="false"
2023-02-27 13:12:32 -04:00
android:orientation="vertical">
2021-01-08 23:00:41 -05:00
<ImageView
2021-01-08 23:00:41 -05:00
android:layout_width="match_parent"
android:layout_height="24dp"
android:src="@drawable/megaphone_onboarding_gradient" />
2021-01-08 23:00:41 -05:00
<androidx.constraintlayout.widget.ConstraintLayout
2021-01-08 23:00:41 -05:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
2023-02-27 13:12:32 -04:00
android:background="@color/signal_background_primary"
android:clipChildren="false"
2023-02-27 13:12:32 -04:00
android:clipToPadding="false"
android:paddingBottom="12dp">
<TextView
android:id="@+id/onboarding_megaphone_title"
2023-02-27 13:12:32 -04:00
style="@style/TextAppearance.Signal.Title2.Bold"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="16dp"
android:layout_marginTop="4dp"
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"
2023-02-27 13:12:32 -04:00
android:orientation="horizontal"
app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager"
app:layout_constraintTop_toBottomOf="@id/onboarding_megaphone_title"
tools:listitem="@layout/onboarding_megaphone_card" />
2021-01-08 23:00:41 -05:00
</androidx.constraintlayout.widget.ConstraintLayout>
2021-01-08 23:00:41 -05:00
</LinearLayout>
2021-01-08 23:00:41 -05:00
</merge>