Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save axsddlr/b86afaab05545f2fb23f to your computer and use it in GitHub Desktop.
Save axsddlr/b86afaab05545f2fb23f to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="@android:color/white"
android:orientation="vertical"
android:windowMinWidthMajor="@android:dimen/dialog_min_width_major">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:padding="24dp">
<TextView
android:id="@android:id/text1"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingBottom="16dp"
android:textColor="#CC000000"
android:textSize="20sp"
android:textStyle="bold" />
<TextView
android:id="@android:id/text2"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textColor="#CC000000"
android:textSize="14sp" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="36dp"
android:gravity="center|right"
android:orientation="horizontal"
android:paddingBottom="16dp"
android:paddingLeft="16dp"
android:paddingRight="16dp">
<Button
android:id="@android:id/button1"
style="?android:attr/borderlessButtonStyle"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="@android:color/transparent"
android:gravity="center"
android:minHeight="36dp"
android:minWidth="88dp"
android:textAllCaps="true"
android:textColor="@drawable/button_text_color"
android:textSize="14sp"
android:textStyle="bold" />
<Button
android:id="@android:id/button2"
style="?android:attr/borderlessButtonStyle"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="@android:color/transparent"
android:gravity="center"
android:minHeight="36dp"
android:minWidth="88dp"
android:textAllCaps="true"
android:textColor="@drawable/button_text_color"
android:textSize="14sp"
android:textStyle="bold" />
</LinearLayout>
</LinearLayout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment