From wiki.ginstr.com
Jump to: navigation, search
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:id="@+id/rootContainer"
    android:layout_width="match_parent"
    android:layout_height="match_parent">

    <LinearLayout
        android:id="@+id/controlsContainer"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:orientation="horizontal"
        android:layout_marginTop="5dp"
	android:layout_marginBottom="5dp">

	<com.ginstr.widgets.GnButton
            android:id="@+id/cancel"
            android:layout_width="0dp"
            android:layout_height="match_parent"
            android:layout_weight=".33"
            android:textSize="13sp"
            android:layout_marginLeft="5dp"
            android:text="@string/$gnCaptureSignatureEmbeddedCancel"
            gn:style="@style/buttonStyle"/>  

	<com.ginstr.widgets.GnButton
            android:id="@+id/clear"
            android:layout_width="0dp"
            android:layout_height="match_parent"
            android:layout_weight=".33"
	    android:layout_marginLeft="5dp"
	    android:layout_marginRight="5dp"
            android:textSize="13sp"
            android:text="@string/$gnCaptureSignatureEmbeddedClear"
            gn:style="@style/buttonStyle"/>  
			
	<com.ginstr.widgets.GnButton
            android:id="@+id/getsign"
            android:layout_width="0dp"
            android:layout_height="match_parent"
            android:layout_weight=".33"
            android:textSize="13sp"
            android:layout_marginRight="5dp"
            android:text="@string/$gnCaptureSignatureEmbeddedSave"
            gn:style="@style/buttonStyle"/>  
    </LinearLayout>
</LinearLayout>