summaryrefslogtreecommitdiffstats
path: root/res/layout
diff options
context:
space:
mode:
authorOwen Lin <owenlin@google.com>2009-05-04 18:29:47 -0700
committerOwen Lin <owenlin@google.com>2009-05-04 18:52:55 -0700
commit0c2f2865622af03ffe42cd75c784d5b0b19fe17e (patch)
tree26f7eee0364b4d5214ee56f671e7c95cd51d9db0 /res/layout
parent4904e9713a0118af6321dfe0e77a388fe8c3f45d (diff)
downloadpackages_apps_LegacyCamera-0c2f2865622af03ffe42cd75c784d5b0b19fe17e.zip
packages_apps_LegacyCamera-0c2f2865622af03ffe42cd75c784d5b0b19fe17e.tar.gz
packages_apps_LegacyCamera-0c2f2865622af03ffe42cd75c784d5b0b19fe17e.tar.bz2
fix bug 1496878
Diffstat (limited to 'res/layout')
-rw-r--r--res/layout/custom_gallery_title.xml54
1 files changed, 20 insertions, 34 deletions
diff --git a/res/layout/custom_gallery_title.xml b/res/layout/custom_gallery_title.xml
index 0652678..bc1a385 100644
--- a/res/layout/custom_gallery_title.xml
+++ b/res/layout/custom_gallery_title.xml
@@ -4,9 +4,9 @@
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.
@@ -14,48 +14,34 @@
limitations under the License.
-->
-<RelativeLayout
- xmlns:android="http://schemas.android.com/apk/res/android"
- android:id="@+id/screen" android:layout_width="fill_parent"
- android:layout_height="fill_parent"
- android:orientation="vertical">
+<LinearLayout
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@+id/screen"
+ android:orientation="horizontal"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent">
<TextView android:id="@+id/left_text"
- android:gravity="center_vertical"
- style="?android:attr/windowTitleStyle"
- android:layout_width="wrap_content"
- android:layout_height="fill_parent" android:paddingLeft="5dip"
- android:layout_alignParentLeft="true" />
-
- <TextView android:id="@+id/right_text"
- android:gravity="center_vertical"
- style="?android:attr/windowTitleStyle"
- android:layout_width="wrap_content"
- android:layout_height="fill_parent" android:paddingRight="5dip"
- android:layout_alignParentRight="true"
- android:visibility="gone" />
-
- <LinearLayout android:id="@+id/loading_indicator"
- android:orientation="horizontal"
- android:gravity="center_vertical"
- android:paddingTop="2dip"
- android:layout_alignParentRight="true"
- android:layout_height="wrap_content"
- android:layout_width="wrap_content">
+ android:gravity="center_vertical"
+ style="?android:attr/windowTitleStyle"
+ android:layout_width="wrap_content"
+ android:layout_height="fill_parent"
+ android:layout_weight="1" />
- <TextView android:id="@+id/loading_text"
+ <TextView android:id="@+id/loading_text"
android:gravity="center_vertical"
style="?android:attr/windowTitleStyle"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
+ android:paddingLeft="5dip"
android:paddingRight="5dip"
- android:layout_alignParentRight="true" />
+ android:layout_weight="0" />
- <ProgressBar android:id="@android:id/progress"
+ <ProgressBar android:id="@android:id/progress"
style="?android:attr/progressBarStyleSmallTitle"
android:gravity="center_vertical"
android:paddingRight="5dip"
android:layout_width="wrap_content"
- android:layout_height="wrap_content" />
- </LinearLayout>
-</RelativeLayout>
+ android:layout_height="fill_parent"
+ android:layout_weight="0" />
+</LinearLayout>