Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8"?>
- <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:orientation="vertical" android:layout_width="match_parent"
- android:layout_height="match_parent">
- <TableLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent">
- <TableRow
- android:layout_width="match_parent"
- android:layout_height="match_parent">
- <Button
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="Default"
- android:id="@+id/button"
- style="@style/Button.default"
- android:layout_column="0"
- android:layout_weight="1" />
- <Button
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="Primary"
- android:id="@+id/button2"
- style="@style/Button.primary"
- android:layout_column="1"
- android:layout_weight="1" />
- <Button
- style="@style/Button.success"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="Success"
- android:id="@+id/button3"
- android:layout_column="2"
- android:layout_weight="1" />
- </TableRow>
- <TableRow
- android:layout_width="match_parent"
- android:layout_height="match_parent" >
- <Button
- style="@style/Button.info"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="Info"
- android:id="@+id/button4"
- android:layout_column="0"
- android:layout_weight="1" />
- <Button
- style="@style/Button.warning"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="Warning"
- android:id="@+id/button5"
- android:layout_column="1"
- android:layout_weight="1" />
- <Button
- style="@style/Button.danger"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="Danger"
- android:id="@+id/button6"
- android:layout_column="2"
- android:layout_weight="1" />
- </TableRow>
- </TableLayout>
- </LinearLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement