open-keychain/OpenKeychain/src/main/res/layout/edit_key_section.xml

41 lines
1.5 KiB
XML
Raw Normal View History

2010-04-06 15:54:51 -04:00
<?xml version="1.0" encoding="utf-8"?>
2013-01-16 08:31:16 -05:00
<org.sufficientlysecure.keychain.ui.widget.SectionView xmlns:android="http://schemas.android.com/apk/res/android"
2014-01-09 09:12:41 -05:00
android:layout_width="match_parent"
2010-04-06 15:54:51 -04:00
android:layout_height="wrap_content"
2012-04-12 13:44:00 -04:00
android:orientation="vertical" >
2010-04-06 15:54:51 -04:00
<LinearLayout
android:id="@+id/header"
2014-01-09 09:12:41 -05:00
android:layout_width="match_parent"
2010-04-06 15:54:51 -04:00
android:layout_height="wrap_content"
2012-04-12 13:44:00 -04:00
android:gravity="center_vertical"
android:orientation="horizontal" >
2010-04-06 15:54:51 -04:00
<TextView
android:id="@+id/title"
2012-04-12 13:44:00 -04:00
style="@style/SectionHeader"
2010-04-06 15:54:51 -04:00
android:layout_width="0dip"
android:layout_height="wrap_content"
android:layout_weight="1"
android:ellipsize="marquee"
2012-04-12 13:44:00 -04:00
android:fadingEdge="horizontal"
android:singleLine="true"
android:text="Section Name" />
2010-04-06 15:54:51 -04:00
<ImageButton
android:id="@+id/plusbutton"
2010-04-06 15:54:51 -04:00
android:layout_width="wrap_content"
android:layout_height="wrap_content"
2014-01-09 09:12:41 -05:00
android:layout_margin="10dp"
android:src="@drawable/plus"
android:background="@drawable/button_rounded_green"/>
2010-04-06 15:54:51 -04:00
</LinearLayout>
<LinearLayout
android:id="@+id/editors"
2014-01-09 09:12:41 -05:00
android:layout_width="match_parent"
2010-04-06 15:54:51 -04:00
android:layout_height="wrap_content"
2012-04-12 13:44:00 -04:00
android:orientation="vertical"
android:paddingBottom="6dip" />
2010-04-06 15:54:51 -04:00
2014-01-09 09:12:41 -05:00
</org.sufficientlysecure.keychain.ui.widget.SectionView>