Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index


Attached is a simple patch that starts adding code for a menu list for potentially start center, or can be adapted very easily for another purpose.
From 8b875381fb23751e12f904e72f5bfef56fe17dbc Mon Sep 17 00:00:00 2001
From: Jonathan Aquilina <eagles051387@gmail.com>
Date: Sat, 7 Apr 2012 22:09:14 +0200
Subject: [PATCH] Beginning of code for Start Center menu list

---
 android/UI/res/layout/star_center_menu_list.xml |    6 ++++++
 android/UI/src/lo/UI/StartCenterMenu.java       |   12 ++++++++++++
 2 files changed, 18 insertions(+), 0 deletions(-)
 create mode 100644 android/UI/res/layout/star_center_menu_list.xml
 create mode 100644 android/UI/src/lo/UI/StartCenterMenu.java

diff --git a/android/UI/res/layout/star_center_menu_list.xml 
b/android/UI/res/layout/star_center_menu_list.xml
new file mode 100644
index 0000000..b5055f7
--- /dev/null
+++ b/android/UI/res/layout/star_center_menu_list.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="utf-8"?>
+<TextView xmlns:android="http://schemas.android.com/apk/res/android";
+    android:layout_width="fill_parent"
+    android:layout_height="fill_parent"
+    android:padding="10dp"
+    android:textSize="16sp"/>
\ No newline at end of file
diff --git a/android/UI/src/lo/UI/StartCenterMenu.java b/android/UI/src/lo/UI/StartCenterMenu.java
new file mode 100644
index 0000000..42803e7
--- /dev/null
+++ b/android/UI/src/lo/UI/StartCenterMenu.java
@@ -0,0 +1,12 @@
+package lo.UI;
+
+import android.app.ListActivity;
+
+public class StartCenterMenu extends ListActivity
+{
+       static final String[] LOOPTIONS = new String[]
+       {
+               "Open", "Templates", "Text Document", "Spreadsheet", "Presentation", "Drawing", 
"database",
+               "Formula"
+       };
+}
-- 
1.7.5.4


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.