OSDN Git Service

Updates for style changes
authorAdam Powell <adamp@google.com>
Mon, 6 Dec 2010 23:03:26 +0000 (15:03 -0800)
committerAdam Powell <adamp@google.com>
Tue, 7 Dec 2010 01:11:49 +0000 (17:11 -0800)
Change-Id: Id52a0436f58ed8f5cdbffea663a0ec35b6f036aa

samples/ApiDemos/res/layout/dialog_activity.xml

index 42a7753..4acdc64 100644 (file)
@@ -26,7 +26,7 @@
     <TextView android:id="@+id/text"
         android:layout_width="wrap_content" android:layout_height="wrap_content"
         android:gravity="center_vertical|center_horizontal"
-        android:textStyle="?android:attr/textAppearanceMedium"
+        android:textAppearance="?android:attr/textAppearanceMedium"
         android:text="@string/dialog_activity_text"/>
         
     <!-- Container in which we are going to add and remove views, to demonstrate
     </LinearLayout>
     
     <!-- Alert dialog style buttons along the bottom. -->
-    <LinearLayout style="?android:attr/alertDialogButtonGroupStyle"
+    <LinearLayout style="?android:attr/buttonBarStyle"
         android:layout_width="match_parent" android:layout_height="wrap_content"
         android:measureWithLargestChild="true">
-        <Button style="?android:attr/borderlessButtonStyle" android:id="@+id/add"
+        <Button style="?android:attr/buttonBarButtonStyle" android:id="@+id/add"
             android:layout_width="wrap_content" android:layout_height="wrap_content"
             android:layout_weight="1"
             android:text="@string/dialog_activity_add" />
-        <Button style="?android:attr/borderlessButtonStyle" android:id="@+id/remove"
+        <Button style="?android:attr/buttonBarButtonStyle" android:id="@+id/remove"
             android:layout_width="wrap_content" android:layout_height="wrap_content"
             android:layout_weight="1"
             android:text="@string/dialog_activity_remove" />