2022-02-24 13:40:28 -04:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
2022-03-24 09:01:05 -03:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
2022-02-24 13:40:28 -04:00
|
|
|
android:layout_width="match_parent"
|
2022-09-07 14:55:39 -03:00
|
|
|
android:layout_height="match_parent"
|
|
|
|
tools:viewBindingIgnore="true">
|
2022-02-24 13:40:28 -04:00
|
|
|
|
|
|
|
<androidx.fragment.app.FragmentContainerView
|
|
|
|
android:id="@+id/fragment_container"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent" />
|
|
|
|
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
|
|
android:id="@+id/switch_widget"
|
2022-03-24 09:01:05 -03:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="48dp"
|
2022-09-07 14:55:39 -03:00
|
|
|
android:layout_gravity="bottom|center_horizontal">
|
2022-02-24 13:40:28 -04:00
|
|
|
|
2022-03-24 09:01:05 -03:00
|
|
|
<View
|
|
|
|
android:id="@+id/selected_pill"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="0dp"
|
2022-02-24 13:40:28 -04:00
|
|
|
android:background="@drawable/story_pill_button_background"
|
2022-03-24 09:01:05 -03:00
|
|
|
app:layout_constraintBottom_toBottomOf="@id/camera_switch"
|
|
|
|
app:layout_constraintEnd_toEndOf="@id/camera_switch"
|
|
|
|
app:layout_constraintStart_toStartOf="@id/camera_switch"
|
|
|
|
app:layout_constraintTop_toTopOf="@id/camera_switch" />
|
2022-02-24 13:40:28 -04:00
|
|
|
|
2022-03-24 09:01:05 -03:00
|
|
|
<TextView
|
2022-02-24 13:40:28 -04:00
|
|
|
android:id="@+id/camera_switch"
|
|
|
|
android:layout_width="wrap_content"
|
2022-09-07 14:55:39 -03:00
|
|
|
android:layout_height="wrap_content"
|
2022-03-24 09:01:05 -03:00
|
|
|
android:gravity="center"
|
2022-09-07 14:55:39 -03:00
|
|
|
android:minHeight="36sp"
|
2022-03-24 09:01:05 -03:00
|
|
|
android:paddingHorizontal="18dp"
|
|
|
|
android:shadowColor="@color/black"
|
|
|
|
android:text="@string/MediaSelectionActivity__camera"
|
|
|
|
android:textAppearance="@style/TextAppearance.Signal.Body2"
|
|
|
|
android:textColor="@color/story_pill_text_color"
|
2022-02-24 13:40:28 -04:00
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
2022-03-24 09:01:05 -03:00
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
2022-10-21 11:04:40 -04:00
|
|
|
tools:background="@color/red_500" />
|
2022-02-24 13:40:28 -04:00
|
|
|
|
2022-03-24 09:01:05 -03:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/text_switch"
|
|
|
|
android:layout_width="wrap_content"
|
2022-09-07 14:55:39 -03:00
|
|
|
android:layout_height="wrap_content"
|
2022-03-24 09:01:05 -03:00
|
|
|
android:gravity="center"
|
2022-09-07 14:55:39 -03:00
|
|
|
android:minHeight="36sp"
|
2022-03-24 09:01:05 -03:00
|
|
|
android:paddingHorizontal="18dp"
|
|
|
|
android:shadowColor="@color/black"
|
|
|
|
android:shadowRadius="3"
|
|
|
|
android:text="@string/MediaSelectionActivity__text"
|
|
|
|
android:textAppearance="@style/TextAppearance.Signal.Body2"
|
|
|
|
android:textColor="@color/story_pill_text_color"
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintHorizontal_bias="0"
|
|
|
|
app:layout_constraintStart_toEndOf="@id/camera_switch"
|
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
2022-10-21 11:04:40 -04:00
|
|
|
tools:background="@color/green_500" />
|
2022-02-24 13:40:28 -04:00
|
|
|
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
|
</FrameLayout>
|