<?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" android:layout_width="match_parent" android:layout_height="wrap_content" android:paddingHorizontal="8dp" android:paddingBottom="8dp"> <androidx.cardview.widget.CardView android:layout_width="match_parent" android:layout_height="wrap_content" app:cardBackgroundColor="@color/post_card_background_color" app:cardCornerRadius="16dp"> <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="vertical" android:padding="4dp"> <View android:layout_width="48dp" android:layout_height="2dp" android:layout_gravity="center_horizontal" android:background="@color/divider_color" /> <TextView style="@style/title2" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="center" android:layout_marginVertical="8dp" android:text="@string/choose_a_server" /> <View android:layout_width="match_parent" android:layout_height="@dimen/divider_height" android:background="@color/divider_color" /> <LinearLayout android:id="@+id/lUsServer" android:layout_width="match_parent" android:layout_height="match_parent" android:background="?selectableItemBackground" android:gravity="center" android:orientation="horizontal" android:paddingVertical="16dp"> <ImageView android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="1dp" android:layout_marginEnd="8dp" android:clickable="false" android:focusable="false" android:src="@drawable/ic_us" /> <TextView android:id="@+id/tvUsServer" style="@style/body" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="center" android:clickable="false" android:focusable="false" android:text="@string/sign_up_for_us_server" android:textSize="20sp" /> </LinearLayout> <View android:id="@+id/vDivider" android:layout_width="match_parent" android:layout_height="@dimen/divider_height" android:layout_marginHorizontal="8dp" android:background="@color/divider_color" /> <LinearLayout android:id="@+id/lEuServer" android:layout_width="match_parent" android:layout_height="match_parent" android:background="?selectableItemBackground" android:gravity="center" android:orientation="horizontal" android:paddingVertical="16dp"> <ImageView android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="1dp" android:layout_marginEnd="8dp" android:clickable="false" android:focusable="false" android:src="@drawable/ic_eu" /> <TextView android:id="@+id/tvEuServer" style="@style/body" android:layout_width="wrap_content" android:layout_height="wrap_content" android:clickable="false" android:focusable="false" android:text="@string/sign_up_for_eu_server" android:textSize="20sp" /> </LinearLayout> <com.google.android.material.button.MaterialButton android:id="@+id/btnCancel" style="@style/NegativeButtonStyle" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_margin="8dp" android:text="@string/cancel" /> </LinearLayout> </androidx.cardview.widget.CardView> </FrameLayout>