summaryrefslogtreecommitdiffstats
path: root/res/layout
diff options
context:
space:
mode:
authorSteve Slaven <bpk@hoopajoo.net>2010-12-23 22:16:56 (GMT)
committerSteve Slaven <bpk@hoopajoo.net>2010-12-23 22:16:56 (GMT)
commitacd2e2b439275a7b0ed11b1f04994b0a15c1ff18 (patch)
tree834e92df513a3ce23ea67a8c999807e7c123c622 /res/layout
downloadSoftKeys-acd2e2b439275a7b0ed11b1f04994b0a15c1ff18.zip
SoftKeys-acd2e2b439275a7b0ed11b1f04994b0a15c1ff18.tar.gz
SoftKeys-acd2e2b439275a7b0ed11b1f04994b0a15c1ff18.tar.bz2
Initial commitv3.00
Diffstat (limited to 'res/layout')
-rw-r--r--res/layout/buttonids.xml35
-rw-r--r--res/layout/main.xml30
-rw-r--r--res/layout/main_button.xml28
-rw-r--r--res/layout/main_button_container.xml29
-rw-r--r--res/layout/notification_bar_shortcut.xml36
-rw-r--r--res/layout/recent_apps.xml70
-rw-r--r--res/layout/recent_apps_icon.xml58
-rw-r--r--res/layout/service.xml25
-rw-r--r--res/layout/service_button.xml25
-rw-r--r--res/layout/service_button_container.xml25
-rw-r--r--res/layout/service_popper.xml24
-rw-r--r--res/layout/service_popper_button.xml25
-rw-r--r--res/layout/service_popper_button_container.xml26
13 files changed, 436 insertions, 0 deletions
diff --git a/res/layout/buttonids.xml b/res/layout/buttonids.xml
new file mode 100644
index 0000000..6a06552
--- /dev/null
+++ b/res/layout/buttonids.xml
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ Copyright (c) 2010 Steve Slaven
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+ <!--
+ note: this layout is not used, it's just to anchor our R.id.XXX stuff
+ -->
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@+id/button_container">
+
+ <ImageButton android:id="@+id/menu" />
+ <ImageButton android:id="@+id/home" />
+ <ImageButton android:id="@+id/back" />
+ <ImageButton android:id="@+id/search" />
+ <ImageButton android:id="@+id/settings" />
+ <ImageButton android:id="@+id/exit" />
+ <ImageButton android:id="@+id/popper" />
+</LinearLayout>
+
+
diff --git a/res/layout/main.xml b/res/layout/main.xml
new file mode 100644
index 0000000..cc1a931
--- /dev/null
+++ b/res/layout/main.xml
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ Copyright (c) 2010 Steve Slaven
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@+id/main_view"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent" >
+
+ <include
+ layout="@layout/recent_apps"/>
+
+</RelativeLayout>
+
+
diff --git a/res/layout/main_button.xml b/res/layout/main_button.xml
new file mode 100644
index 0000000..2e8dbae
--- /dev/null
+++ b/res/layout/main_button.xml
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ Copyright (c) 2010 Steve Slaven
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<ImageButton xmlns:android="http://schemas.android.com/apk/res/android"
+ android:padding="5dip"
+ android:gravity="center"
+ android:layout_weight="1"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:background="@android:color/transparent"
+/>
+
diff --git a/res/layout/main_button_container.xml b/res/layout/main_button_container.xml
new file mode 100644
index 0000000..d3f6e87
--- /dev/null
+++ b/res/layout/main_button_container.xml
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ Copyright (c) 2010 Steve Slaven
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:orientation="horizontal"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:layout_alignParentBottom="true"
+ android:background="#ff000000">
+
+</LinearLayout>
+
+
diff --git a/res/layout/notification_bar_shortcut.xml b/res/layout/notification_bar_shortcut.xml
new file mode 100644
index 0000000..ad3f73f
--- /dev/null
+++ b/res/layout/notification_bar_shortcut.xml
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ Copyright (c) 2010 Steve Slaven
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:orientation="horizontal"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:padding="3dp"
+ >
+ <ImageView android:id="@+id/nb_image"
+ android:layout_width="wrap_content"
+ android:layout_height="fill_parent"
+ android:layout_marginRight="10dp"
+ />
+ <TextView android:id="@+id/nb_text"
+ android:layout_width="wrap_content"
+ android:layout_height="fill_parent"
+ android:textColor="#000"
+ />
+</LinearLayout>
diff --git a/res/layout/recent_apps.xml b/res/layout/recent_apps.xml
new file mode 100644
index 0000000..b97ec3a
--- /dev/null
+++ b/res/layout/recent_apps.xml
@@ -0,0 +1,70 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ Copyright (c) 2010 Steve Slaven
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@+id/recent_apps"
+ android:orientation="vertical"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ >
+
+ <!-- Title -->
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="40dip"
+ android:gravity="center"
+ android:textColor="#80FFFFFF"
+ android:textStyle="bold"
+ android:singleLine="true"
+ android:paddingLeft="3dip"
+ android:text="@string/recent_tasks_title" />
+
+ <LinearLayout
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:orientation="horizontal"
+ android:gravity="center"
+ >
+
+ <include
+ layout="@layout/recent_apps_icon"
+ android:id="@+id/recentbutton0" />
+
+ <include
+ layout="@layout/recent_apps_icon"
+ android:id="@+id/recentbutton1" />
+
+ <include
+ layout="@layout/recent_apps_icon"
+ android:id="@+id/recentbutton2" />
+
+ <include
+ layout="@layout/recent_apps_icon"
+ android:id="@+id/recentbutton3" />
+
+ <include
+ layout="@layout/recent_apps_icon"
+ android:id="@+id/recentbutton4" />
+
+ <include
+ layout="@layout/recent_apps_icon"
+ android:id="@+id/recentbutton5" />
+
+ </LinearLayout>
+</LinearLayout>
diff --git a/res/layout/recent_apps_icon.xml b/res/layout/recent_apps_icon.xml
new file mode 100644
index 0000000..2fe4802
--- /dev/null
+++ b/res/layout/recent_apps_icon.xml
@@ -0,0 +1,58 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ Copyright (c) 2010 Steve Slaven
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<!--
+/*
+** Copyright 2008, The Android Open Source Project
+**
+** 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.
+*/
+-->
+
+<!-- This is not a standalone element - it is imported into recent_apps_dialog.xml -->
+<TextView
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@+id/label"
+ style="?android:attr/buttonStyle"
+ android:background="#00000000"
+ android:layout_width="80dip"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="3dip"
+ android:layout_marginBottom="3dip"
+ android:textColor="#ffffffff"
+
+ android:paddingTop="5dip"
+ android:paddingBottom="2dip"
+ android:drawablePadding="0dip"
+
+ android:textSize="13dip"
+ android:maxLines="2"
+ android:ellipsize="marquee"
+ android:fadingEdge="horizontal"
+ android:gravity="top|center_horizontal" />
diff --git a/res/layout/service.xml b/res/layout/service.xml
new file mode 100644
index 0000000..8fcfd18
--- /dev/null
+++ b/res/layout/service.xml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ Copyright (c) 2010 Steve Slaven
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@+id/main_view"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content" />
+
diff --git a/res/layout/service_button.xml b/res/layout/service_button.xml
new file mode 100644
index 0000000..b528b84
--- /dev/null
+++ b/res/layout/service_button.xml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ Copyright (c) 2010 Steve Slaven
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+
+<ImageButton xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:background="@android:color/transparent"
+ android:padding="0dip" /> \ No newline at end of file
diff --git a/res/layout/service_button_container.xml b/res/layout/service_button_container.xml
new file mode 100644
index 0000000..b7e59cd
--- /dev/null
+++ b/res/layout/service_button_container.xml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ Copyright (c) 2010 Steve Slaven
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:orientation="horizontal"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ />
diff --git a/res/layout/service_popper.xml b/res/layout/service_popper.xml
new file mode 100644
index 0000000..e46d3de
--- /dev/null
+++ b/res/layout/service_popper.xml
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ Copyright (c) 2010 Steve Slaven
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@+id/main_view"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content" />
diff --git a/res/layout/service_popper_button.xml b/res/layout/service_popper_button.xml
new file mode 100644
index 0000000..b528b84
--- /dev/null
+++ b/res/layout/service_popper_button.xml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ Copyright (c) 2010 Steve Slaven
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+
+<ImageButton xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:background="@android:color/transparent"
+ android:padding="0dip" /> \ No newline at end of file
diff --git a/res/layout/service_popper_button_container.xml b/res/layout/service_popper_button_container.xml
new file mode 100644
index 0000000..362ba15
--- /dev/null
+++ b/res/layout/service_popper_button_container.xml
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ Copyright (c) 2010 Steve Slaven
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:background="@android:color/transparent"
+ android:orientation="horizontal"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ />