2010-04-06 15:54:51 -04:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2012-03-11 11:33:47 -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-03-11 11:33:47 -04:00
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2010-04-06 15:54:51 -04:00
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="fill_parent"
|
2012-03-11 11:33:47 -04:00
|
|
|
android:orientation="vertical" >
|
2010-04-06 15:54:51 -04:00
|
|
|
|
2012-03-11 11:33:47 -04:00
|
|
|
<org.apg.ui.widget.DashboardLayout
|
2010-05-18 11:23:25 -04:00
|
|
|
android:layout_width="fill_parent"
|
2012-03-11 11:33:47 -04:00
|
|
|
android:layout_height="fill_parent" >
|
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/dashboard_manage_keys"
|
|
|
|
style="@style/DashboardButton"
|
|
|
|
android:drawableTop="@drawable/dashboard_manage_keys"
|
|
|
|
android:onClick="manageKeysOnClick"
|
|
|
|
android:text="@string/dashboard_manage_keys" />
|
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/dashboard_my_keys"
|
|
|
|
style="@style/DashboardButton"
|
|
|
|
android:drawableTop="@drawable/dashboard_my_keys"
|
|
|
|
android:onClick="myKeysOnClick"
|
|
|
|
android:text="@string/dashboard_my_keys" />
|
|
|
|
|
|
|
|
<Button
|
2012-03-11 19:12:19 -04:00
|
|
|
android:id="@+id/dashboard_encrypt"
|
2012-03-11 11:33:47 -04:00
|
|
|
style="@style/DashboardButton"
|
2012-03-11 19:12:19 -04:00
|
|
|
android:drawableTop="@drawable/dashboard_encrypt"
|
|
|
|
android:onClick="encryptOnClick"
|
|
|
|
android:text="@string/dashboard_encrypt" />
|
2012-03-11 11:33:47 -04:00
|
|
|
|
|
|
|
<Button
|
2012-03-11 19:12:19 -04:00
|
|
|
android:id="@+id/dashboard_decrypt"
|
2012-03-11 11:33:47 -04:00
|
|
|
style="@style/DashboardButton"
|
2012-03-11 19:12:19 -04:00
|
|
|
android:drawableTop="@drawable/dashboard_decrypt"
|
|
|
|
android:onClick="decryptOnClick"
|
|
|
|
android:text="@string/dashboard_decrypt" />
|
|
|
|
|
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/dashboard_scan_qrcode"
|
|
|
|
style="@style/DashboardButton"
|
|
|
|
android:drawableTop="@drawable/dashboard_scan_qrcode"
|
|
|
|
android:onClick="scanQrcodeOnClick"
|
|
|
|
android:text="@string/dashboard_scan_qrcode" />
|
2012-03-11 11:33:47 -04:00
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/dashboard_help"
|
|
|
|
style="@style/DashboardButton"
|
|
|
|
android:drawableTop="@drawable/dashboard_help"
|
|
|
|
android:onClick="helpOnClick"
|
|
|
|
android:text="@string/dashboard_help" />
|
|
|
|
</org.apg.ui.widget.DashboardLayout>
|
|
|
|
|
|
|
|
<!-- <LinearLayout -->
|
|
|
|
<!-- style="@android:style/ButtonBar" -->
|
|
|
|
<!-- android:layout_width="fill_parent" -->
|
|
|
|
<!-- android:layout_height="wrap_content" -->
|
|
|
|
<!-- android:orientation="vertical" > -->
|
|
|
|
|
|
|
|
|
|
|
|
<!-- <LinearLayout -->
|
|
|
|
<!-- android:layout_width="fill_parent" -->
|
|
|
|
<!-- android:layout_height="wrap_content" -->
|
|
|
|
<!-- android:orientation="horizontal" > -->
|
|
|
|
|
|
|
|
|
|
|
|
<!-- <Button -->
|
|
|
|
<!-- android:id="@+id/btn_encryptFile" -->
|
|
|
|
<!-- android:layout_width="0dip" -->
|
|
|
|
<!-- android:layout_height="fill_parent" -->
|
|
|
|
<!-- android:layout_weight="1" -->
|
|
|
|
<!-- android:text="@string/btn_encryptFile" /> -->
|
|
|
|
|
|
|
|
|
|
|
|
<!-- <Button -->
|
|
|
|
<!-- android:id="@+id/btn_decryptFile" -->
|
|
|
|
<!-- android:layout_width="0dip" -->
|
|
|
|
<!-- android:layout_height="fill_parent" -->
|
|
|
|
<!-- android:layout_weight="1" -->
|
|
|
|
<!-- android:text="@string/btn_decryptFile" /> -->
|
|
|
|
<!-- </LinearLayout> -->
|
|
|
|
|
|
|
|
|
|
|
|
<!-- <LinearLayout -->
|
|
|
|
<!-- android:layout_width="fill_parent" -->
|
|
|
|
<!-- android:layout_height="wrap_content" -->
|
|
|
|
<!-- android:orientation="horizontal" > -->
|
|
|
|
|
|
|
|
|
|
|
|
<!-- <Button -->
|
|
|
|
<!-- android:id="@+id/btn_encryptMessage" -->
|
|
|
|
<!-- android:layout_width="0dip" -->
|
|
|
|
<!-- android:layout_height="fill_parent" -->
|
|
|
|
<!-- android:layout_weight="1" -->
|
|
|
|
<!-- android:text="@string/btn_encryptMessage" /> -->
|
|
|
|
|
|
|
|
|
|
|
|
<!-- <Button -->
|
|
|
|
<!-- android:id="@+id/btn_decryptMessage" -->
|
|
|
|
<!-- android:layout_width="0dip" -->
|
|
|
|
<!-- android:layout_height="fill_parent" -->
|
|
|
|
<!-- android:layout_weight="1" -->
|
|
|
|
<!-- android:text="@string/btn_decryptMessage" /> -->
|
|
|
|
<!-- </LinearLayout> -->
|
|
|
|
<!-- </LinearLayout> -->
|
|
|
|
|
|
|
|
</LinearLayout>
|