56 lines
2.2 KiB
XML
56 lines
2.2 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:divider="?android:attr/dividerVertical"
|
|
android:dividerPadding="12dp"
|
|
android:orientation="horizontal"
|
|
android:showDividers="middle" >
|
|
|
|
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:id="@+id/actionbar_discard"
|
|
style="?android:actionButtonStyle"
|
|
android:layout_width="0dp"
|
|
android:layout_height="match_parent"
|
|
android:layout_weight="1"
|
|
android:background="?attr/selectableItemBackgroundBorderless"
|
|
android:clickable="true"
|
|
android:onClick="onCancel">
|
|
|
|
<TextView style="?android:actionBarTabTextStyle"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
android:paddingRight="20dp"
|
|
android:drawableLeft="@drawable/ic_action_discard"
|
|
android:drawablePadding="8dp"
|
|
android:gravity="center_vertical"
|
|
android:textColor="@color/abc_primary_text_material_dark"
|
|
android:text="@string/action_cancel" />
|
|
</FrameLayout>
|
|
|
|
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:id="@+id/actionbar_done"
|
|
style="?android:actionButtonStyle"
|
|
android:layout_width="0dp"
|
|
android:layout_height="match_parent"
|
|
android:layout_weight="1"
|
|
android:background="?attr/selectableItemBackgroundBorderless"
|
|
android:clickable="true"
|
|
android:onClick="onSave">
|
|
|
|
<TextView
|
|
style="?android:actionBarTabTextStyle"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
android:drawableLeft="@drawable/ic_action_done"
|
|
android:drawablePadding="8dp"
|
|
android:gravity="center_vertical"
|
|
android:textColor="@color/abc_primary_text_material_dark"
|
|
android:paddingRight="20dp"
|
|
android:text="@string/action_save" />
|
|
|
|
</FrameLayout>
|
|
|
|
</LinearLayout> |