aboutsummaryrefslogtreecommitdiffstats
path: root/res/layout/appwidget_loading.xml
diff options
context:
space:
mode:
authorMason Tang <masontang@google.com>2010-08-09 10:57:05 -0700
committerMason Tang <masontang@google.com>2010-08-11 10:15:31 -0700
commit47d40324272ae39af0872bf5cbf27e1800478021 (patch)
tree79aaa98a224af336d218c1ff7f5b72fdc1e0692a /res/layout/appwidget_loading.xml
parent7573c06275582aea900b3ebdc51c573b56dd8877 (diff)
downloadandroid_packages_apps_Etar-47d40324272ae39af0872bf5cbf27e1800478021.tar.gz
android_packages_apps_Etar-47d40324272ae39af0872bf5cbf27e1800478021.tar.bz2
android_packages_apps_Etar-47d40324272ae39af0872bf5cbf27e1800478021.zip
Added support for scrolling list views in the widget
- Click behavior on widget is still wonky - "No events" view is a hack, and doesn't look quite right - Event selection behavior still not finalized, relevant unit tests disabled for now Change-Id: I693854d794d8d3777b856d2cd51cf27d2936b8df
Diffstat (limited to 'res/layout/appwidget_loading.xml')
-rw-r--r--res/layout/appwidget_loading.xml38
1 files changed, 38 insertions, 0 deletions
diff --git a/res/layout/appwidget_loading.xml b/res/layout/appwidget_loading.xml
new file mode 100644
index 00000000..ead5a540
--- /dev/null
+++ b/res/layout/appwidget_loading.xml
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2010 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:id="@+id/appwidget_loading"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:orientation="vertical"
+ android:addStatesFromChildren="true">
+
+ <!-- Loading -->
+ <TextView
+ android:id="@+id/loading"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:layout_marginBottom="10dip"
+ android:padding="7dip"
+ android:gravity="center"
+ android:textSize="14sp"
+ android:textStyle="bold"
+ android:textColor="@color/appwidget_no_events"
+ android:text="@string/loading" />
+
+</LinearLayout> \ No newline at end of file