diff options
Diffstat (limited to 'OpenKeychain/src/main/res/layout/edit_key_section.xml')
-rw-r--r-- | OpenKeychain/src/main/res/layout/edit_key_section.xml | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/OpenKeychain/src/main/res/layout/edit_key_section.xml b/OpenKeychain/src/main/res/layout/edit_key_section.xml new file mode 100644 index 000000000..9f10ff8c1 --- /dev/null +++ b/OpenKeychain/src/main/res/layout/edit_key_section.xml @@ -0,0 +1,44 @@ +<?xml version="1.0" encoding="utf-8"?> +<org.sufficientlysecure.keychain.ui.widget.SectionView xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:bootstrapbutton="http://schemas.android.com/apk/res-auto" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:orientation="vertical" > + + <LinearLayout + android:id="@+id/header" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:gravity="center_vertical" + android:orientation="horizontal" > + + <TextView + android:id="@+id/title" + style="@style/SectionHeader" + android:layout_width="0dip" + android:layout_height="wrap_content" + android:layout_weight="1" + android:ellipsize="marquee" + android:fadingEdge="horizontal" + android:singleLine="true" + android:text="Section Name" /> + + <com.beardedhen.androidbootstrap.BootstrapButton + android:id="@+id/plusbutton" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_margin="10dp" + bootstrapbutton:bb_icon_left="fa-plus" + bootstrapbutton:bb_roundedCorners="true" + bootstrapbutton:bb_size="small" + bootstrapbutton:bb_type="success" /> + </LinearLayout> + + <LinearLayout + android:id="@+id/editors" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:orientation="vertical" + android:paddingBottom="6dip" /> + +</org.sufficientlysecure.keychain.ui.widget.SectionView>
\ No newline at end of file |