diff options
author | Bahtiar `kalkin-` Gadimov <bahtiar@gadimov.de> | 2013-12-25 18:15:30 +0100 |
---|---|---|
committer | Bahtiar `kalkin-` Gadimov <bahtiar@gadimov.de> | 2013-12-25 18:54:02 +0100 |
commit | 208ea19d5d56fe374bbf26e4ab4cce13dc99656b (patch) | |
tree | 71c84e7e9a0602f583dc7cee6063d53f6ab9a153 /OpenPGP-Keychain/res/layout | |
parent | ed01c37fe18f98c25b7515c459ae446efa8232ca (diff) | |
download | open-keychain-208ea19d5d56fe374bbf26e4ab4cce13dc99656b.tar.gz open-keychain-208ea19d5d56fe374bbf26e4ab4cce13dc99656b.tar.bz2 open-keychain-208ea19d5d56fe374bbf26e4ab4cce13dc99656b.zip |
Added first draft of KeyDetailsActivity
Diffstat (limited to 'OpenPGP-Keychain/res/layout')
-rw-r--r-- | OpenPGP-Keychain/res/layout/key_view.xml | 110 |
1 files changed, 110 insertions, 0 deletions
diff --git a/OpenPGP-Keychain/res/layout/key_view.xml b/OpenPGP-Keychain/res/layout/key_view.xml new file mode 100644 index 000000000..5649fe338 --- /dev/null +++ b/OpenPGP-Keychain/res/layout/key_view.xml @@ -0,0 +1,110 @@ +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:layout_marginRight="?android:attr/scrollbarSize" + android:orientation="vertical" + android:paddingLeft="16dp" + android:paddingRight="16dp" > + + <TextView + style="@style/SectionHeader" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:padding="4dp" + android:text="@string/section_master_key" /> + + <TableLayout + android:layout_width="wrap_content" + android:layout_height="0dp" + android:layout_weight="1" + android:stretchColumns="1" > + + <TableRow> + + <TextView + 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_key_id" /> + + <TextView + android:id="@+id/fingerprint" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:paddingRight="5dip" + android:text="0000 0000" + android:typeface="monospace" /> + </TableRow> + + <TableRow> + + <TextView + android:id="@+id/label_algorithm" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_gravity="center_vertical" + android:paddingRight="10dip" + android:text="@string/label_algorithm" /> + + <TextView + android:id="@+id/algorithm" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:paddingRight="5dip" + android:text="Name" /> + </TableRow> + + <TableRow> + + <TextView + android:id="@+id/label_creation" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_gravity="center_vertical" + android:paddingRight="10dip" + android:text="@string/label_creation" /> + + <TextView + android:id="@+id/creation" + android:layout_width="fill_parent" + android:layout_height="wrap_content" /> + </TableRow> + + <TableRow> + + <TextView + android:id="@+id/label_expiry" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_gravity="center_vertical" + android:paddingRight="10dip" + android:text="@string/label_expiry" /> + + <TextView + android:id="@+id/expiry" + android:layout_width="fill_parent" + android:layout_height="wrap_content" /> + </TableRow> + </TableLayout> + + <TextView + style="@style/SectionHeader" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:padding="4dp" + android:text="@string/section_user_ids" /> + + <ListView android:id="@+id/user_ids" + android:layout_width="wrap_content" + android:layout_height="wrap_content"></ListView> + + <TextView + style="@style/SectionHeader" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:padding="4dp" + android:text="@string/section_keys" /> + +</LinearLayout>
\ No newline at end of file |