aboutsummaryrefslogtreecommitdiffstats
path: root/APG/res/layout/main.xml
diff options
context:
space:
mode:
Diffstat (limited to 'APG/res/layout/main.xml')
-rw-r--r--APG/res/layout/main.xml124
1 files changed, 124 insertions, 0 deletions
diff --git a/APG/res/layout/main.xml b/APG/res/layout/main.xml
new file mode 100644
index 000000000..e4c509c70
--- /dev/null
+++ b/APG/res/layout/main.xml
@@ -0,0 +1,124 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright (C) 2010 Thialfihar <thi@thialfihar.org>
+
+ 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.
+-->
+
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:orientation="vertical" >
+
+ <org.thialfihar.android.apg.ui.widget.DashboardLayout
+ android:layout_width="fill_parent"
+ 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
+ android:id="@+id/dashboard_encrypt"
+ style="@style/DashboardButton"
+ android:drawableTop="@drawable/dashboard_encrypt"
+ android:onClick="encryptOnClick"
+ android:text="@string/dashboard_encrypt" />
+
+ <Button
+ android:id="@+id/dashboard_decrypt"
+ style="@style/DashboardButton"
+ 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" />
+
+ <Button
+ android:id="@+id/dashboard_help"
+ style="@style/DashboardButton"
+ android:drawableTop="@drawable/dashboard_help"
+ android:onClick="helpOnClick"
+ android:text="@string/dashboard_help" />
+ </org.thialfihar.android.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> \ No newline at end of file