That fuck shit the fascists are using
at master 147 lines 6.7 kB view raw
1<?xml version="1.0" encoding="utf-8"?> 2<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" 3 xmlns:app="http://schemas.android.com/apk/res-auto" 4 xmlns:tools="http://schemas.android.com/tools" 5 android:layout_width="match_parent" 6 android:layout_height="wrap_content" 7 android:layout_marginStart="@dimen/dsl_settings_gutter" 8 android:layout_marginTop="10dp" 9 android:layout_marginEnd="@dimen/dsl_settings_gutter" 10 tools:viewBindingIgnore="true"> 11 12 <com.google.android.material.button.MaterialButton 13 android:id="@+id/boost_1" 14 style="@style/Signal.Widget.Button.Large.Secondary" 15 android:layout_width="0dp" 16 android:layout_height="58sp" 17 android:textAppearance="@style/Signal.Text.Body" 18 android:textColor="@color/signal_text_primary" 19 app:backgroundTint="@color/signal_selectable_button_background_tint" 20 app:cornerRadius="12dp" 21 app:layout_constraintEnd_toStartOf="@id/boost_2" 22 app:layout_constraintStart_toStartOf="parent" 23 app:layout_constraintTop_toTopOf="parent" 24 app:strokeColor="@color/signal_selectable_button_stroke" 25 app:strokeWidth="2dp" 26 tools:text="$3" /> 27 28 <com.google.android.material.button.MaterialButton 29 android:id="@+id/boost_2" 30 style="@style/Signal.Widget.Button.Large.Secondary" 31 android:layout_width="0dp" 32 android:layout_height="58sp" 33 android:layout_marginStart="20dp" 34 android:layout_marginEnd="20dp" 35 android:textAppearance="@style/Signal.Text.Body" 36 android:textColor="@color/signal_text_primary" 37 app:backgroundTint="@color/signal_selectable_button_background_tint" 38 app:cornerRadius="12dp" 39 app:layout_constraintEnd_toStartOf="@id/boost_3" 40 app:layout_constraintStart_toEndOf="@id/boost_1" 41 app:layout_constraintTop_toTopOf="parent" 42 app:strokeColor="@color/signal_selectable_button_stroke" 43 app:strokeWidth="2dp" 44 tools:text="$5" /> 45 46 <com.google.android.material.button.MaterialButton 47 android:id="@+id/boost_3" 48 style="@style/Signal.Widget.Button.Large.Secondary" 49 android:layout_width="0dp" 50 android:layout_height="58sp" 51 android:textAppearance="@style/Signal.Text.Body" 52 android:textColor="@color/signal_text_primary" 53 app:backgroundTint="@color/signal_selectable_button_background_tint" 54 app:cornerRadius="12dp" 55 app:layout_constraintEnd_toEndOf="parent" 56 app:layout_constraintStart_toEndOf="@id/boost_2" 57 app:layout_constraintTop_toTopOf="parent" 58 app:strokeColor="@color/signal_selectable_button_stroke" 59 app:strokeWidth="2dp" 60 tools:text="$10" /> 61 62 <com.google.android.material.button.MaterialButton 63 android:id="@+id/boost_4" 64 style="@style/Signal.Widget.Button.Large.Secondary" 65 android:layout_width="0dp" 66 android:layout_height="58sp" 67 android:layout_marginTop="24dp" 68 android:textAppearance="@style/Signal.Text.Body" 69 android:textColor="@color/signal_text_primary" 70 app:backgroundTint="@color/signal_selectable_button_background_tint" 71 app:cornerRadius="12dp" 72 app:layout_constraintEnd_toStartOf="@id/boost_5" 73 app:layout_constraintStart_toStartOf="parent" 74 app:layout_constraintTop_toBottomOf="@id/boost_1" 75 app:strokeColor="@color/signal_selectable_button_stroke" 76 app:strokeWidth="2dp" 77 tools:text="$20" /> 78 79 <com.google.android.material.button.MaterialButton 80 android:id="@+id/boost_5" 81 style="@style/Signal.Widget.Button.Large.Secondary" 82 android:layout_width="0dp" 83 android:layout_height="58sp" 84 android:layout_marginStart="20dp" 85 android:layout_marginTop="24dp" 86 android:layout_marginEnd="20dp" 87 android:textAppearance="@style/Signal.Text.Body" 88 android:textColor="@color/signal_text_primary" 89 app:backgroundTint="@color/signal_selectable_button_background_tint" 90 app:cornerRadius="12dp" 91 app:layout_constraintEnd_toStartOf="@id/boost_6" 92 app:layout_constraintStart_toEndOf="@id/boost_4" 93 app:layout_constraintTop_toBottomOf="@id/boost_2" 94 app:strokeColor="@color/signal_selectable_button_stroke" 95 app:strokeWidth="2dp" 96 tools:text="$50" /> 97 98 <com.google.android.material.button.MaterialButton 99 android:id="@+id/boost_6" 100 style="@style/Signal.Widget.Button.Large.Secondary" 101 android:layout_width="0dp" 102 android:layout_height="58sp" 103 android:layout_marginTop="24dp" 104 android:gravity="center" 105 android:textAppearance="@style/Signal.Text.Body" 106 android:textColor="@color/signal_text_primary" 107 app:backgroundTint="@color/signal_selectable_button_background_tint" 108 app:cornerRadius="12dp" 109 app:layout_constraintEnd_toEndOf="parent" 110 app:layout_constraintStart_toEndOf="@id/boost_5" 111 app:layout_constraintTop_toBottomOf="@id/boost_3" 112 app:strokeColor="@color/signal_selectable_button_stroke" 113 app:strokeWidth="2dp" 114 tools:text="$100" /> 115 116 <androidx.appcompat.widget.AppCompatEditText 117 android:id="@+id/boost_custom" 118 android:layout_width="0dp" 119 android:layout_height="58sp" 120 android:layout_marginTop="24dp" 121 android:background="@drawable/custom_donation_amount_background" 122 android:gravity="center" 123 android:hint="@string/Boost__enter_custom_amount" 124 android:imeOptions="actionDone" 125 android:inputType="numberDecimal" 126 android:textAppearance="@style/Signal.Text.Body" 127 android:textColor="@color/signal_text_primary" 128 android:textColorHint="@color/signal_text_primary" 129 app:layout_constraintEnd_toEndOf="parent" 130 app:layout_constraintStart_toStartOf="parent" 131 app:layout_constraintTop_toBottomOf="@id/boost_4" /> 132 133 <TextView 134 android:id="@+id/boost_custom_too_small" 135 android:layout_width="0dp" 136 android:layout_height="wrap_content" 137 android:textAlignment="center" 138 android:textAppearance="@style/Signal.Text.BodySmall" 139 android:textColor="@color/signal_colorError" 140 android:visibility="gone" 141 app:layout_constraintBottom_toBottomOf="parent" 142 app:layout_constraintEnd_toEndOf="parent" 143 app:layout_constraintStart_toStartOf="parent" 144 app:layout_constraintTop_toBottomOf="@id/boost_custom" 145 tools:text="@string/Boost__the_minimum_amount_you_can_donate_is_s" /> 146 147</androidx.constraintlayout.widget.ConstraintLayout>