AI 145578: Tweak buttons in ChooseLockPatternTutorial to accomodate more text and marquee if necessary.
  BUG=1776037

Automated import of CL 145578
diff --git a/res/layout/choose_lock_pattern_example.xml b/res/layout/choose_lock_pattern_example.xml
index b2d32e6..d1e816c 100644
--- a/res/layout/choose_lock_pattern_example.xml
+++ b/res/layout/choose_lock_pattern_example.xml
@@ -67,22 +67,24 @@
         
         <Button android:id="@+id/skip_button"
             android:layout_height="wrap_content"
-            android:layout_width="0dip"
-            android:layout_weight="1"
+            android:layout_width="140dip"
+            android:ellipsize="marquee"
+            android:singleLine="true"
             android:text="@string/skip_button_label"
         />
       
+        <!-- Placeholder to get blank space between the two buttons -->
         <View
             android:visibility="invisible"
             android:layout_height="0dip"
-            android:layout_width="0dip"
-            android:layout_weight="1"
-        />
-
+            android:layout_width="1dip"
+            android:layout_weight="1" />
+            
         <Button android:id="@+id/next_button"
             android:layout_height="wrap_content"
-            android:layout_width="0dip"
-            android:layout_weight="1"
+            android:layout_width="140dip"
+            android:ellipsize="marquee"
+            android:singleLine="true"
             android:drawableRight="@drawable/ic_btn_next"
             android:drawablePadding="3dip"
             android:text="@string/next_button_label"
diff --git a/res/layout/choose_lock_pattern_tutorial.xml b/res/layout/choose_lock_pattern_tutorial.xml
index 47af50b..8eadc01 100644
--- a/res/layout/choose_lock_pattern_tutorial.xml
+++ b/res/layout/choose_lock_pattern_tutorial.xml
@@ -59,24 +59,26 @@
 
         <Button android:id="@+id/skip_button"
             android:layout_height="wrap_content"
-            android:layout_width="0dip"
-            android:layout_weight="1"
+            android:layout_width="140dip"
+            android:ellipsize="marquee"
+            android:singleLine="true"
             android:text="@string/skip_button_label"
         />
         
+        <!-- Placeholder to get blank space between the two buttons -->
         <View
             android:visibility="invisible"
             android:layout_height="0dip"
-            android:layout_width="0dip"
-            android:layout_weight="1"
-        />
-
+            android:layout_width="1dip"
+            android:layout_weight="1" />
+        
         <Button android:id="@+id/next_button"
             android:layout_height="wrap_content"
-            android:layout_width="0dip"
-            android:layout_weight="1"
+            android:layout_width="140dip"
             android:drawableRight="@drawable/ic_btn_next"
             android:drawablePadding="3dip"
+            android:ellipsize="marquee"
+            android:singleLine="true"
             android:text="@string/next_button_label"
         />