summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorJeff Hamilton <jham@android.com>2011-01-27 08:32:32 -0800
committerAndroid Git Automerger <android-git-automerger@android.com>2011-01-27 08:32:32 -0800
commit51fac69ab31f9719acff3545d8f2cf0cd609ddf0 (patch)
treedcd0c051b7a4b0114d0b0655b7996d4d1cd19202 /res
parent535b1d1fe571dff42535e005e3c7b3150a296b93 (diff)
parenta28ec9f29875e2f81aa889f7dc57b21c6b72de75 (diff)
downloadandroid_packages_apps_Tag-51fac69ab31f9719acff3545d8f2cf0cd609ddf0.tar.gz
android_packages_apps_Tag-51fac69ab31f9719acff3545d8f2cf0cd609ddf0.tar.bz2
android_packages_apps_Tag-51fac69ab31f9719acff3545d8f2cf0cd609ddf0.zip
am a28ec9f2: UI tweaks
* commit 'a28ec9f29875e2f81aa889f7dc57b21c6b72de75': UI tweaks
Diffstat (limited to 'res')
-rw-r--r--res/layout/edit_tag_activity.xml7
-rw-r--r--res/layout/my_tag_activity.xml38
2 files changed, 30 insertions, 15 deletions
diff --git a/res/layout/edit_tag_activity.xml b/res/layout/edit_tag_activity.xml
index 6781961..703980d 100644
--- a/res/layout/edit_tag_activity.xml
+++ b/res/layout/edit_tag_activity.xml
@@ -32,18 +32,21 @@ limitations under the License.
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
+
+ android:orientation="horizontal"
+ style="@android:style/ButtonBar"
>
<Button
android:id="@+id/save"
android:text="@string/button_save"
- android:layout_weight="0.5"
+ android:layout_weight="1"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
<Button
android:id="@+id/cancel"
android:text="@string/button_cancel"
- android:layout_weight="0.5"
+ android:layout_weight="1"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
diff --git a/res/layout/my_tag_activity.xml b/res/layout/my_tag_activity.xml
index d0f199f..d7e2800 100644
--- a/res/layout/my_tag_activity.xml
+++ b/res/layout/my_tag_activity.xml
@@ -119,21 +119,33 @@ limitations under the License.
android:layout_height="0dip"
/>
- <include layout="@layout/tag_divider" />
-
- <!-- TODO: add this to end of list, instead. -->
<!-- Control to add new tag. -->
- <TextView
- android:id="@+id/add_tag"
- android:text="@string/add_tag"
- android:textAppearance="?android:attr/textAppearanceMedium"
- android:paddingLeft="8dip"
- android:paddingRight="8dip"
- android:paddingTop="16dip"
- android:paddingBottom="16dip"
+ <LinearLayout
android:layout_width="match_parent"
- android:layout_height="wrap_content" />
+ android:layout_height="wrap_content"
+ android:orientation="horizontal"
+ style="@android:style/ButtonBar"
+ >
+
+ <View
+ android:layout_height="0dip"
+ android:layout_width="0dip"
+ android:layout_weight="1"
+ />
- <include layout="@layout/tag_divider" />
+ <Button
+ android:id="@+id/add_tag"
+ android:layout_width="0dip"
+ android:layout_height="wrap_content"
+ android:layout_weight="2"
+ android:text="@string/add_tag"
+ />
+
+ <View
+ android:layout_height="0dip"
+ android:layout_width="0dip"
+ android:layout_weight="1"
+ />
+ </LinearLayout>
</LinearLayout>