OSDN Git Service

android-2.1_r1 snapshot
[android-x86/packages-apps-DeskClock.git] / res / layout / desk_clock_buttons.xml
diff --git a/res/layout/desk_clock_buttons.xml b/res/layout/desk_clock_buttons.xml
new file mode 100644 (file)
index 0000000..9d72282
--- /dev/null
@@ -0,0 +1,55 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2009 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.
+-->
+
+<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_weight="0"
+    >
+    <ImageButton android:id="@+id/alarm_button"
+               style="@style/ButtonStripLeft"
+        android:layout_height="wrap_content"
+        android:layout_width="fill_parent"
+        android:layout_weight=".25"
+        android:src="@drawable/ic_clock_strip_alarm"
+        android:contentDescription="@string/alarm_button_description"
+        />
+    <ImageButton android:id="@+id/gallery_button"
+               style="@style/ButtonStripMiddle"
+        android:layout_height="wrap_content"
+        android:layout_width="fill_parent"
+        android:layout_weight=".25"
+        android:src="@drawable/ic_clock_strip_gallery"
+        android:contentDescription="@string/gallery_button_description"
+        />
+    <ImageButton android:id="@+id/music_button"
+               style="@style/ButtonStripMiddle"
+        android:layout_height="wrap_content"
+        android:layout_width="fill_parent"
+        android:layout_weight=".25"
+        android:src="@drawable/ic_clock_strip_music"
+        android:contentDescription="@string/music_button_description"
+        />
+    <ImageButton android:id="@+id/home_button"
+               style="@style/ButtonStripRight"
+        android:layout_height="wrap_content"
+        android:layout_width="fill_parent"
+        android:layout_weight=".25"
+        android:src="@drawable/ic_clock_strip_home"
+        android:contentDescription="@string/home_button_description"
+        />
+</LinearLayout>