Новые ассеты, диалог выглядит в стиле приложения
This commit is contained in:
60
android/app/src/main/res/layout/f_logout_dialog.xml
Normal file
60
android/app/src/main/res/layout/f_logout_dialog.xml
Normal file
@@ -0,0 +1,60 @@
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:orientation="vertical"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@android:color/white">
|
||||
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center_vertical|left"
|
||||
android:textColor="@android:color/black"
|
||||
android:layout_marginTop="16dp"
|
||||
android:layout_marginLeft="24dp"
|
||||
android:layout_marginRight="24dp"
|
||||
android:fontFamily="sans-serif-medium"
|
||||
android:textSize="18sp"
|
||||
android:text="@string/logout_title" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="16dp"
|
||||
android:layout_marginLeft="24dp"
|
||||
android:layout_marginRight="24dp"
|
||||
android:fontFamily="sans-serif-light"
|
||||
android:scaleType="center"
|
||||
android:textSize="18sp"
|
||||
android:textColor="@android:color/black"
|
||||
android:text="@string/logout_text" />
|
||||
|
||||
<FrameLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="24dp">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/positiveButton"
|
||||
android:layout_width="56dp"
|
||||
android:layout_height="42dp"
|
||||
android:scaleType="center"
|
||||
android:layout_gravity="right|end"
|
||||
android:fontFamily="sans-serif-medium"
|
||||
android:textColor="#eb0004"
|
||||
android:textSize="14sp"
|
||||
android:text="@string/logout_yes" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/negativeButton"
|
||||
android:layout_width="56dp"
|
||||
android:layout_height="42dp"
|
||||
android:layout_marginRight="64dp"
|
||||
android:layout_gravity="right|end"
|
||||
android:fontFamily="sans-serif-medium"
|
||||
android:textColor="#eb0004"
|
||||
android:textSize="14sp"
|
||||
android:text="@string/logout_no" />
|
||||
|
||||
</FrameLayout>
|
||||
|
||||
</LinearLayout>
|
||||
Reference in New Issue
Block a user