android:textIsSelectable="true"
android:layout_marginBottom="8dp" />
- <!-- Button row. -->
- <LinearLayout
+ <!-- SSL Buttons. -->
+ <androidx.constraintlayout.widget.ConstraintLayout
+ android:id="@+id/ssl_buttons_constraintlayout"
android:layout_height="wrap_content"
- android:layout_width="wrap_content"
- android:orientation="horizontal"
- android:layout_gravity="center_horizontal" >
-
- <Button
- android:id="@+id/ciphers_button"
- android:layout_height="wrap_content"
- android:layout_width="wrap_content"
- android:text="@string/ciphers"
- android:layout_gravity="center_horizontal"
- android:layout_marginEnd="10dp"
- android:layout_marginBottom="16dp"
- android:onClick="showCiphers"
- app:backgroundTint="@color/button_background_selector"
- android:textColor="@color/button_text_selector"
- tools:ignore="ButtonStyle" />
-
- <Button
- android:id="@+id/certificate_button"
- android:layout_height="wrap_content"
- android:layout_width="wrap_content"
- android:text="@string/certificate"
- android:onClick="showCertificate"
- app:backgroundTint="@color/button_background_selector"
- android:textColor="@color/button_text_selector"
- tools:ignore="ButtonStyle" />
- </LinearLayout>
+ android:layout_width="match_parent"
+ android:layout_marginBottom="16dp"
+ tools:ignore="MissingConstraints" >
+
+ <androidx.constraintlayout.helper.widget.Flow
+ android:layout_height="wrap_content"
+ android:layout_width="match_parent"
+ app:constraint_referenced_ids="ciphers_button,certificate_button"
+ app:flow_wrapMode="chain"
+ app:flow_firstHorizontalStyle="packed"
+ app:flow_horizontalGap="15dp" />
+
+ <androidx.appcompat.widget.AppCompatButton
+ android:id="@+id/ciphers_button"
+ android:layout_height="wrap_content"
+ android:layout_width="wrap_content"
+ android:text="@string/ciphers"
+ android:onClick="showCiphers"
+ app:backgroundTint="@color/button_background_selector"
+ android:textColor="@color/button_text_selector"
+ tools:ignore="ButtonStyle" />
+
+ <androidx.appcompat.widget.AppCompatButton
+ android:id="@+id/certificate_button"
+ android:layout_height="wrap_content"
+ android:layout_width="wrap_content"
+ android:text="@string/certificate"
+ android:onClick="showCertificate"
+ app:backgroundTint="@color/button_background_selector"
+ android:textColor="@color/button_text_selector"
+ tools:ignore="ButtonStyle" />
+ </androidx.constraintlayout.widget.ConstraintLayout>
<!-- Request headers. -->
<TextView