aboutsummaryrefslogblamecommitdiff
path: root/app/src/main/res/layout/activity_suicide_prevention.xml
blob: 1e48cb12d2802a7034bdc0efad4d757d5fa21476 (plain) (tree)






























































                                                                                     
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout 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="match_parent"
    android:orientation="vertical"
    android:id="@+id/linear_layout_suicide_prevention_activity"
    tools:context=".activities.SuicidePreventionActivity">

    <com.airbnb.lottie.LottieAnimationView
        android:id="@+id/lottie_animation_view"
        android:layout_width="wrap_content"
        android:layout_height="0dp"
        android:layout_weight="1"
        android:layout_gravity="center_horizontal"
        app:lottie_autoPlay="true"
        app:lottie_loop="true"
        app:lottie_rawRes="@raw/love" />

    <TextView
        android:id="@+id/quote_text_view_suicide_prevention_activity"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:gravity="center"
        android:padding="16dp"
        android:text="@string/suicide_prevention_quote"
        android:fontFamily="?attr/font_family"
        android:textSize="?attr/font_20" />

    <LinearLayout
        android:id="@+id/linear_layout_check_box_wrapper_suicide_prevention_activity"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:padding="16dp">

        <com.google.android.material.checkbox.MaterialCheckBox
            android:id="@+id/do_not_show_this_again_check_box"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content" />

        <TextView
            android:id="@+id/do_not_show_this_again_text_view"
            android:layout_width="0dp"
            android:layout_height="wrap_content"
            android:layout_weight="1"
            android:text="@string/do_not_show_this_again"
            android:layout_gravity="center_vertical"
            android:fontFamily="?attr/font_family"
            android:textSize="?attr/font_default" />

        <com.google.android.material.button.MaterialButton
            android:id="@+id/continue_button_suicide_prevention_activity"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_gravity="end"
            android:layout_marginStart="8dp"
            android:layout_marginEnd="8dp"
            android:text="@string/continue_suicide_prevention_activity" />

    </LinearLayout>

</LinearLayout>
/app/src/main/java/ml/docilealligator/infinityforreddit/adapters/PostRecyclerViewAdapter.java?id=58a19c9ad1e5e358cc0babf5b4812d473706ef00&follow=1'>Lower the threshold for image preview width and height.Alex Ning2-22/+26 2020-12-02Try fixing ANR when releasing ExoPlayer.Alex Ning5-6/+14 2020-12-02Fix some NullPointerException.Alex Ning2-10/+11 2020-12-02Try fixing IllegalStateException for fragments in various Activities.Alex Ning5-11/+12 2020-12-02Maybe fixed IllegaStateException for ShareLinkBottomSheetFragment and CopyTex...Alex Ning2-12/+9 2020-12-01Maybe fix IndexOutOfBoundsException when parsing spoiler syntax.Alex Ning4-0/+25 2020-12-01Disable nsfw warning in ViewUserDetailActivity.Alex Ning1-3/+3 2020-12-01Maybe fix crash when downloading media.Alex Ning3-240/+2 2020-12-01Minor bugs fixed.Alex Ning3-13/+28 2020-12-01Fix ArrayIndexOutOfBoundsException in FollowedUsersRecyclerViewAdapter. Minor...Alex Ning4-122/+147 2020-12-01Update translation.Alex Ning10-849/+1636 2020-12-01Show upvoted or downvoted color in topScoreTextView in CommentViewHolder.Alex Ning1-0/+10 2020-11-30Changing language is now available.Alex Ning8-3/+83