open-keychain/org_apg/res/layout/edit_key_key_item.xml

134 lines
4.8 KiB
XML
Raw Normal View History

2010-04-06 15:54:51 -04:00
<?xml version="1.0" encoding="utf-8"?>
2012-04-12 13:44:00 -04:00
<!--
Copyright (C) 2010 Thialfihar <thi@thialfihar.org>
2010-04-06 15:54:51 -04:00
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
2012-04-12 13:44:00 -04:00
<org.apg.ui.widget.KeyEditor xmlns:android="http://schemas.android.com/apk/res/android"
2010-05-18 11:23:25 -04:00
android:layout_width="fill_parent"
android:layout_height="wrap_content"
2012-04-12 13:44:00 -04:00
android:orientation="vertical" >
2010-05-18 11:23:25 -04:00
<LinearLayout
android:layout_width="fill_parent"
2012-04-12 13:44:00 -04:00
android:layout_height="wrap_content"
android:orientation="horizontal" >
2010-05-18 11:23:25 -04:00
<TableLayout
android:layout_width="0dip"
2012-04-12 13:44:00 -04:00
android:layout_height="wrap_content"
2010-05-18 11:23:25 -04:00
android:layout_weight="1"
2012-04-12 13:44:00 -04:00
android:stretchColumns="1" >
2010-05-18 11:23:25 -04:00
<TableRow>
<TextView
2012-04-12 13:44:00 -04:00
android:id="@+id/label_keyId"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:paddingRight="10dip"
android:text="@string/label_keyId" />
2010-05-18 11:23:25 -04:00
<TextView
android:id="@+id/keyId"
android:layout_width="wrap_content"
2012-04-12 13:44:00 -04:00
android:layout_height="wrap_content"
2010-05-18 11:23:25 -04:00
android:paddingRight="5dip"
2012-04-12 13:44:00 -04:00
android:text="00000000 00000000"
android:typeface="monospace" />
2010-05-18 11:23:25 -04:00
</TableRow>
<TableRow>
<TextView
android:id="@+id/label_algorithm"
android:layout_width="wrap_content"
2012-04-12 13:44:00 -04:00
android:layout_height="wrap_content"
2010-05-18 11:23:25 -04:00
android:layout_gravity="center_vertical"
2012-04-12 13:44:00 -04:00
android:paddingRight="10dip"
android:text="@string/label_algorithm" />
2010-05-18 11:23:25 -04:00
<TextView
android:id="@+id/algorithm"
android:layout_width="wrap_content"
2012-04-12 13:44:00 -04:00
android:layout_height="wrap_content"
android:paddingRight="5dip"
android:text="Name" />
2010-05-18 11:23:25 -04:00
</TableRow>
<TableRow>
<TextView
android:id="@+id/label_creation"
android:layout_width="wrap_content"
2012-04-12 13:44:00 -04:00
android:layout_height="wrap_content"
2010-05-18 11:23:25 -04:00
android:layout_gravity="center_vertical"
2012-04-12 13:44:00 -04:00
android:paddingRight="10dip"
android:text="@string/label_creation" />
2010-05-18 11:23:25 -04:00
<TextView
android:id="@+id/creation"
android:layout_width="fill_parent"
2012-04-12 13:44:00 -04:00
android:layout_height="wrap_content" />
2010-05-18 11:23:25 -04:00
</TableRow>
<TableRow>
<TextView
android:id="@+id/label_expiry"
android:layout_width="wrap_content"
2012-04-12 13:44:00 -04:00
android:layout_height="wrap_content"
2010-05-18 11:23:25 -04:00
android:layout_gravity="center_vertical"
2012-04-12 13:44:00 -04:00
android:paddingRight="10dip"
android:text="@string/label_expiry" />
2010-05-18 11:23:25 -04:00
<Button
android:id="@+id/expiry"
android:layout_width="fill_parent"
2012-04-12 13:44:00 -04:00
android:layout_height="wrap_content" />
2010-05-18 11:23:25 -04:00
</TableRow>
<TableRow>
<TextView
android:id="@+id/label_usage"
android:layout_width="wrap_content"
2012-04-12 13:44:00 -04:00
android:layout_height="wrap_content"
2010-05-18 11:23:25 -04:00
android:layout_gravity="center_vertical"
2012-04-12 13:44:00 -04:00
android:paddingRight="10dip"
android:text="@string/label_usage" />
2010-05-18 11:23:25 -04:00
<Spinner
android:id="@+id/usage"
android:layout_width="fill_parent"
2012-04-12 13:44:00 -04:00
android:layout_height="wrap_content" />
2010-05-18 11:23:25 -04:00
</TableRow>
</TableLayout>
<ImageButton
android:id="@+id/delete"
2012-04-12 13:44:00 -04:00
style="@style/MinusButton"
2010-05-18 11:23:25 -04:00
android:layout_width="wrap_content"
android:layout_height="wrap_content"
2012-04-12 13:44:00 -04:00
android:layout_gravity="center_vertical" />
2010-05-18 11:23:25 -04:00
</LinearLayout>
2010-04-06 15:54:51 -04:00
2012-04-12 13:44:00 -04:00
<View
android:id="@+id/separator"
android:layout_width="fill_parent"
android:layout_height="1dip"
android:background="?android:attr/listDivider" />
</org.apg.ui.widget.KeyEditor>