Deprecate fill_parent and introduce match_parent.

Bug: #2361749.
This commit is contained in:
Romain Guy
2010-01-08 15:07:10 -08:00
parent 9bd889d7fb
commit 3378715626
56 changed files with 324 additions and 324 deletions

View File

@@ -18,28 +18,28 @@
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/topLayout" android:id="@+id/topLayout"
android:orientation="horizontal" android:orientation="horizontal"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="fill_parent" android:layout_height="match_parent"
android:background="@color/black"> android:background="@color/black">
<!-- left side: instructions and messages --> <!-- left side: instructions and messages -->
<LinearLayout <LinearLayout
android:orientation="vertical" android:orientation="vertical"
android:layout_width="0dip" android:layout_width="0dip"
android:layout_height="fill_parent" android:layout_height="match_parent"
android:layout_weight="1.0" android:layout_weight="1.0"
> >
<!-- header message --> <!-- header message -->
<TextView android:id="@+id/headerText" <TextView android:id="@+id/headerText"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:gravity="center" android:gravity="center"
android:textSize="18sp"/> android:textSize="18sp"/>
<!-- footer can show a message, or confirm / restart buttons --> <!-- footer can show a message, or confirm / restart buttons -->
<RelativeLayout <RelativeLayout
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="0dip" android:layout_height="0dip"
android:layout_weight="1.0"> android:layout_weight="1.0">
@@ -81,7 +81,7 @@
<View <View
android:background="@*android:drawable/code_lock_left" android:background="@*android:drawable/code_lock_left"
android:layout_width="2dip" android:layout_width="2dip"
android:layout_height="fill_parent" /> android:layout_height="match_parent" />
<!-- right side: lock pattern --> <!-- right side: lock pattern -->
<com.android.internal.widget.LockPatternView android:id="@+id/lockPattern" <com.android.internal.widget.LockPatternView android:id="@+id/lockPattern"
android:layout_width="wrap_content" android:layout_width="wrap_content"

View File

@@ -18,21 +18,21 @@
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/topLayout" android:id="@+id/topLayout"
android:orientation="horizontal" android:orientation="horizontal"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="fill_parent" android:layout_height="match_parent"
android:background="@color/black"> android:background="@color/black">
<!-- left side: instructions and messages --> <!-- left side: instructions and messages -->
<LinearLayout <LinearLayout
android:orientation="vertical" android:orientation="vertical"
android:layout_width="0dip" android:layout_width="0dip"
android:layout_height="fill_parent" android:layout_height="match_parent"
android:layout_weight="1.0" android:layout_weight="1.0"
> >
<!-- header message --> <!-- header message -->
<TextView android:id="@+id/headerText" <TextView android:id="@+id/headerText"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:gravity="center" android:gravity="center"
android:textSize="18sp"/> android:textSize="18sp"/>
@@ -40,13 +40,13 @@
<!-- fill space between header and button below --> <!-- fill space between header and button below -->
<View <View
android:layout_weight="1.0" android:layout_weight="1.0"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="0dip" android:layout_height="0dip"
/> />
<!-- footer message --> <!-- footer message -->
<TextView android:id="@+id/footerText" <TextView android:id="@+id/footerText"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:gravity="center" android:gravity="center"
android:textSize="14sp"/> android:textSize="14sp"/>
@@ -55,7 +55,7 @@
<View <View
android:background="@*android:drawable/code_lock_left" android:background="@*android:drawable/code_lock_left"
android:layout_width="2dip" android:layout_width="2dip"
android:layout_height="fill_parent" /> android:layout_height="match_parent" />
<!-- right side: lock pattern --> <!-- right side: lock pattern -->
<com.android.internal.widget.LockPatternView android:id="@+id/lockPattern" <com.android.internal.widget.LockPatternView android:id="@+id/lockPattern"
android:layout_width="wrap_content" android:layout_width="wrap_content"

View File

@@ -16,7 +16,7 @@
<LinearLayout <LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:minHeight="?android:attr/listPreferredItemHeight" android:minHeight="?android:attr/listPreferredItemHeight"
android:gravity="center_vertical"> android:gravity="center_vertical">

View File

@@ -18,12 +18,12 @@
android:orientation="vertical" android:orientation="vertical"
android:padding="4dip" android:padding="4dip"
android:gravity="center_horizontal" android:gravity="center_horizontal"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="fill_parent"> android:layout_height="match_parent">
<ListView android:id="@+id/band" <ListView android:id="@+id/band"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="fill_parent" android:layout_height="match_parent"
android:textSize="7sp"> android:textSize="7sp">
</ListView> </ListView>

View File

@@ -2,44 +2,44 @@
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/topLayout" android:id="@+id/topLayout"
android:orientation="vertical" android:orientation="vertical"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="fill_parent"> android:layout_height="match_parent">
<TextView <TextView
android:id="@+id/title" android:id="@+id/title"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" /> android:layout_height="wrap_content" />
<LinearLayout <LinearLayout
android:id="@+id/graphLayout" android:id="@+id/graphLayout"
android:orientation="vertical" android:orientation="vertical"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="fill_parent" > android:layout_height="match_parent" >
<Spinner <Spinner
android:id="@+id/typeSpinner" android:id="@+id/typeSpinner"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:entries="@array/battery_history_type_spinner" /> android:entries="@array/battery_history_type_spinner" />
<Spinner <Spinner
android:id="@+id/whichSpinner" android:id="@+id/whichSpinner"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:entries="@array/battery_history_which_spinner" /> android:entries="@array/battery_history_which_spinner" />
<ScrollView <ScrollView
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" > android:layout_height="wrap_content" >
<LinearLayout <LinearLayout
android:orientation="vertical" android:orientation="vertical"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" > android:layout_height="wrap_content" >
<TextView <TextView
android:id="@+id/messageText" android:id="@+id/messageText"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:gravity="center_horizontal" android:gravity="center_horizontal"
android:textSize="17dp" android:textSize="17dp"
@@ -47,7 +47,7 @@
<com.android.settings.battery_history.GraphableButton <com.android.settings.battery_history.GraphableButton
android:id="@+id/button0" android:id="@+id/button0"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="0dp" android:layout_height="0dp"
android:layout_marginLeft="4dp" android:layout_marginLeft="4dp"
android:layout_marginRight="4dp" android:layout_marginRight="4dp"
@@ -56,7 +56,7 @@
<com.android.settings.battery_history.GraphableButton <com.android.settings.battery_history.GraphableButton
android:id="@+id/button1" android:id="@+id/button1"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="0dp" android:layout_height="0dp"
android:layout_marginLeft="4dp" android:layout_marginLeft="4dp"
android:layout_marginRight="4dp" android:layout_marginRight="4dp"
@@ -65,7 +65,7 @@
<com.android.settings.battery_history.GraphableButton <com.android.settings.battery_history.GraphableButton
android:id="@+id/button2" android:id="@+id/button2"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="0dp" android:layout_height="0dp"
android:layout_marginLeft="4dp" android:layout_marginLeft="4dp"
android:layout_marginRight="4dp" android:layout_marginRight="4dp"
@@ -74,7 +74,7 @@
<com.android.settings.battery_history.GraphableButton <com.android.settings.battery_history.GraphableButton
android:id="@+id/button3" android:id="@+id/button3"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="0dp" android:layout_height="0dp"
android:layout_marginLeft="4dp" android:layout_marginLeft="4dp"
android:layout_marginRight="4dp" android:layout_marginRight="4dp"
@@ -83,7 +83,7 @@
<com.android.settings.battery_history.GraphableButton <com.android.settings.battery_history.GraphableButton
android:id="@+id/button4" android:id="@+id/button4"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="0dp" android:layout_height="0dp"
android:layout_marginLeft="4dp" android:layout_marginLeft="4dp"
android:layout_marginRight="4dp" android:layout_marginRight="4dp"
@@ -92,7 +92,7 @@
<com.android.settings.battery_history.GraphableButton <com.android.settings.battery_history.GraphableButton
android:id="@+id/button5" android:id="@+id/button5"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="0dp" android:layout_height="0dp"
android:layout_marginLeft="4dp" android:layout_marginLeft="4dp"
android:layout_marginRight="4dp" android:layout_marginRight="4dp"
@@ -101,7 +101,7 @@
<com.android.settings.battery_history.GraphableButton <com.android.settings.battery_history.GraphableButton
android:id="@+id/button6" android:id="@+id/button6"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="0dp" android:layout_height="0dp"
android:layout_marginLeft="4dp" android:layout_marginLeft="4dp"
android:layout_marginRight="4dp" android:layout_marginRight="4dp"
@@ -110,7 +110,7 @@
<com.android.settings.battery_history.GraphableButton <com.android.settings.battery_history.GraphableButton
android:id="@+id/button7" android:id="@+id/button7"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="0dp" android:layout_height="0dp"
android:layout_marginLeft="4dp" android:layout_marginLeft="4dp"
android:layout_marginRight="4dp" android:layout_marginRight="4dp"
@@ -126,15 +126,15 @@
android:id="@+id/textLayout" android:id="@+id/textLayout"
android:visibility="gone" android:visibility="gone"
android:orientation="vertical" android:orientation="vertical"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="fill_parent" > android:layout_height="match_parent" >
<ScrollView <ScrollView
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="fill_parent" > android:layout_height="match_parent" >
<TextView <TextView
android:id="@+id/detailsText" android:id="@+id/detailsText"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:textSize="17dp" android:textSize="17dp"
android:layout_height="1000dp"/> android:layout_height="1000dp"/>
</ScrollView> </ScrollView>

View File

@@ -19,32 +19,32 @@
--> -->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical" android:orientation="vertical"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="fill_parent" android:layout_height="match_parent"
android:paddingLeft="2dip" android:paddingLeft="2dip"
android:paddingRight="2dip"> android:paddingRight="2dip">
<Button android:id="@+id/enable" <Button android:id="@+id/enable"
android:textStyle="bold" android:textStyle="bold"
android:text="@string/bluetooth_enable_text" android:text="@string/bluetooth_enable_text"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="wrap_content"/> android:layout_height="wrap_content"/>
<Button android:id="@+id/scan" <Button android:id="@+id/scan"
android:textStyle="bold" android:textStyle="bold"
android:text="@string/bluetooth_scan_text" android:text="@string/bluetooth_scan_text"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="wrap_content"/> android:layout_height="wrap_content"/>
<Button android:id="@+id/settings" <Button android:id="@+id/settings"
android:textStyle="bold" android:textStyle="bold"
android:text="@string/bluetooth_settings_text" android:text="@string/bluetooth_settings_text"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="wrap_content"/> android:layout_height="wrap_content"/>
<ListView android:id="@android:id/list" <ListView android:id="@android:id/list"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="fill_parent" android:layout_height="match_parent"
android:drawSelectorOnTop="false"> android:drawSelectorOnTop="false">
</ListView> </ListView>

View File

@@ -16,20 +16,20 @@
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/scroll_content" android:id="@+id/scroll_content"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="fill_parent"> android:layout_height="match_parent">
<LinearLayout <LinearLayout
android:orientation="vertical" android:orientation="vertical"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="fill_parent"> android:layout_height="match_parent">
<TextView <TextView
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="@string/bluetooth_device_info_alias" /> android:text="@string/bluetooth_device_info_alias" />
<TextView android:id="@+id/deviceAlias" <TextView android:id="@+id/deviceAlias"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="@string/bluetooth_device_info_no_alias" /> android:text="@string/bluetooth_device_info_no_alias" />
@@ -49,12 +49,12 @@
android:text="@string/bluetooth_device_info_sdp" /> android:text="@string/bluetooth_device_info_sdp" />
<TextView <TextView
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="@string/bluetooth_device_info" /> android:text="@string/bluetooth_device_info" />
<TextView android:id="@+id/deviceInfo" <TextView android:id="@+id/deviceInfo"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="@string/bluetooth_device_info_deviceInfo_text" /> android:text="@string/bluetooth_device_info_deviceInfo_text" />
</LinearLayout> </LinearLayout>

View File

@@ -19,12 +19,12 @@
<ScrollView <ScrollView
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_height="fill_parent" android:layout_height="match_parent"
android:layout_width="fill_parent"> android:layout_width="match_parent">
<TextView <TextView
android:id="@+id/message" android:id="@+id/message"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:paddingLeft="20dip" android:paddingLeft="20dip"
android:paddingRight="20dip" android:paddingRight="20dip"

View File

@@ -19,18 +19,18 @@
<ScrollView <ScrollView
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_height="fill_parent" android:layout_height="match_parent"
android:layout_width="fill_parent"> android:layout_width="match_parent">
<LinearLayout <LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_height="fill_parent" android:layout_height="match_parent"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:orientation="vertical"> android:orientation="vertical">
<TextView <TextView
android:id="@+id/message" android:id="@+id/message"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginLeft="20dip" android:layout_marginLeft="20dip"
android:layout_marginRight="20dip" android:layout_marginRight="20dip"
@@ -40,7 +40,7 @@
<EditText <EditText
android:id="@+id/text" android:id="@+id/text"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_marginTop="20dip" android:layout_marginTop="20dip"
android:layout_marginLeft="20dip" android:layout_marginLeft="20dip"
android:layout_marginRight="20dip" android:layout_marginRight="20dip"

View File

@@ -17,7 +17,7 @@
*/ */
--> -->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:minHeight="?android:attr/listPreferredItemHeight" android:minHeight="?android:attr/listPreferredItemHeight"
android:paddingLeft="2dip" android:paddingLeft="2dip"
@@ -29,7 +29,7 @@
android:scaleType="fitCenter" /> android:scaleType="fitCenter" />
<TextView android:id="@+id/title" <TextView android:id="@+id/title"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:textAppearance="?android:attr/textAppearanceLarge" android:textAppearance="?android:attr/textAppearanceLarge"
android:paddingLeft="6dip" /> android:paddingLeft="6dip" />

View File

@@ -18,18 +18,18 @@
android:id="@+id/topLayout" android:id="@+id/topLayout"
android:orientation="vertical" android:orientation="vertical"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="fill_parent" android:layout_height="match_parent"
android:background="@color/black"> android:background="@color/black">
<!-- takes up all space above button bar at bottom --> <!-- takes up all space above button bar at bottom -->
<LinearLayout <LinearLayout
android:orientation="vertical" android:orientation="vertical"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="0dip" android:layout_height="0dip"
android:layout_weight="1"> android:layout_weight="1">
<TextView android:id="@+id/headerText" <TextView android:id="@+id/headerText"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="0dip" android:layout_height="0dip"
android:layout_weight="1" android:layout_weight="1"
android:gravity="center" android:gravity="center"
@@ -37,7 +37,7 @@
<View <View
android:background="@*android:drawable/code_lock_top" android:background="@*android:drawable/code_lock_top"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="2dip" /> android:layout_height="2dip" />
<com.android.internal.widget.LockPatternView android:id="@+id/lockPattern" <com.android.internal.widget.LockPatternView android:id="@+id/lockPattern"
android:layout_width="wrap_content" android:layout_width="wrap_content"
@@ -46,11 +46,11 @@
<!-- bottom line looks bad when button bar is their too, omit in this case --> <!-- bottom line looks bad when button bar is their too, omit in this case -->
<!--View <!--View
android:background="@*android:drawable/code_lock_bottom" android:background="@*android:drawable/code_lock_bottom"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="8dip" /--> android:layout_height="8dip" /-->
<TextView android:id="@+id/footerText" <TextView android:id="@+id/footerText"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="0dip" android:layout_height="0dip"
android:layout_weight="1" android:layout_weight="1"
android:gravity="center" android:gravity="center"
@@ -61,7 +61,7 @@
<LinearLayout style="@android:style/ButtonBar" <LinearLayout style="@android:style/ButtonBar"
android:orientation="horizontal" android:orientation="horizontal"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="wrap_content"> android:layout_height="wrap_content">
<Button android:id="@+id/footerLeftButton" <Button android:id="@+id/footerLeftButton"

View File

@@ -16,22 +16,22 @@
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical" android:orientation="vertical"
android:layout_height="fill_parent" android:layout_height="match_parent"
android:layout_width="fill_parent"> android:layout_width="match_parent">
<ScrollView <ScrollView
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="fill_parent" android:layout_height="match_parent"
android:layout_weight="1"> android:layout_weight="1">
<LinearLayout <LinearLayout
android:orientation="vertical" android:orientation="vertical"
android:layout_height="fill_parent" android:layout_height="match_parent"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:padding="5dip"> android:padding="5dip">
<TextView <TextView
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="@string/lock_example_title" android:text="@string/lock_example_title"
android:gravity="center_horizontal" android:gravity="center_horizontal"
@@ -48,7 +48,7 @@
/> />
<TextView <TextView
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginTop="5dip" android:layout_marginTop="5dip"
android:text="@string/lock_example_message" android:text="@string/lock_example_message"
@@ -62,7 +62,7 @@
<LinearLayout style="@android:style/ButtonBar" <LinearLayout style="@android:style/ButtonBar"
android:orientation="horizontal" android:orientation="horizontal"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="wrap_content"> android:layout_height="wrap_content">
<Button android:id="@+id/skip_button" <Button android:id="@+id/skip_button"

View File

@@ -16,22 +16,22 @@
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical" android:orientation="vertical"
android:layout_height="fill_parent" android:layout_height="match_parent"
android:layout_width="fill_parent"> android:layout_width="match_parent">
<ScrollView <ScrollView
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="0dip" android:layout_height="0dip"
android:layout_weight="1"> android:layout_weight="1">
<LinearLayout <LinearLayout
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:orientation="vertical" android:orientation="vertical"
android:padding="5dip"> android:padding="5dip">
<TextView <TextView
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:gravity="center_horizontal" android:gravity="center_horizontal"
android:text="@string/lock_title" android:text="@string/lock_title"
@@ -41,7 +41,7 @@
/> />
<TextView <TextView
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:textAppearance="?android:attr/textAppearanceMedium" android:textAppearance="?android:attr/textAppearanceMedium"
android:layout_marginTop="10dip" android:layout_marginTop="10dip"
@@ -54,7 +54,7 @@
<LinearLayout style="@android:style/ButtonBar" <LinearLayout style="@android:style/ButtonBar"
android:orientation="horizontal" android:orientation="horizontal"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="wrap_content"> android:layout_height="wrap_content">
<Button android:id="@+id/skip_button" <Button android:id="@+id/skip_button"

View File

@@ -16,15 +16,15 @@
<LinearLayout <LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="fill_parent"> android:layout_height="match_parent">
<ListView <ListView
android:id="@android:id/list" android:id="@android:id/list"
android:drawSelectorOnTop="false" android:drawSelectorOnTop="false"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" /> android:layout_height="wrap_content" />
<TextView android:id="@android:id/empty" <TextView android:id="@android:id/empty"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:paddingLeft="20dip" android:paddingLeft="20dip"
android:paddingTop="5dip" android:paddingTop="5dip"

View File

@@ -18,11 +18,11 @@
android:id="@+id/topLayout" android:id="@+id/topLayout"
android:orientation="vertical" android:orientation="vertical"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="fill_parent" android:layout_height="match_parent"
android:background="@color/black"> android:background="@color/black">
<TextView android:id="@+id/headerText" <TextView android:id="@+id/headerText"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="0dip" android:layout_height="0dip"
android:layout_weight="1.0" android:layout_weight="1.0"
android:gravity="center" android:gravity="center"
@@ -30,18 +30,18 @@
<View <View
android:background="@*android:drawable/code_lock_top" android:background="@*android:drawable/code_lock_top"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="2dip" /> android:layout_height="2dip" />
<com.android.internal.widget.LockPatternView android:id="@+id/lockPattern" <com.android.internal.widget.LockPatternView android:id="@+id/lockPattern"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" /> android:layout_height="wrap_content" />
<View <View
android:background="@*android:drawable/code_lock_bottom" android:background="@*android:drawable/code_lock_bottom"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="8dip" /> android:layout_height="8dip" />
<TextView android:id="@+id/footerText" <TextView android:id="@+id/footerText"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="0dip" android:layout_height="0dip"
android:layout_weight="1.0" android:layout_weight="1.0"
android:gravity="center" android:gravity="center"

View File

@@ -15,17 +15,17 @@
--> -->
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="wrap_content"> android:layout_height="wrap_content">
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical" android:orientation="vertical"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="fill_parent" android:layout_height="match_parent"
android:padding="15dip"> android:padding="15dip">
<TextView android:id="@+id/hint" <TextView android:id="@+id/hint"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:textSize="@dimen/vpn_connect_normal_text_size" android:textSize="@dimen/vpn_connect_normal_text_size"
android:text="@string/credentials_first_time_hint" android:text="@string/credentials_first_time_hint"
@@ -33,38 +33,38 @@
android:visibility="gone"/> android:visibility="gone"/>
<TextView android:id="@+id/error" <TextView android:id="@+id/error"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:textColor="@color/red" android:textColor="@color/red"
android:textStyle="bold" android:textStyle="bold"
android:visibility="gone"/> android:visibility="gone"/>
<TextView android:id="@+id/old_password_prompt" <TextView android:id="@+id/old_password_prompt"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="@string/credentials_old_password" android:text="@string/credentials_old_password"
android:visibility="gone"/> android:visibility="gone"/>
<EditText android:id="@+id/old_password" <EditText android:id="@+id/old_password"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:password="True" android:password="True"
android:singleLine="True" android:singleLine="True"
android:visibility="gone"/> android:visibility="gone"/>
<TextView android:layout_width="fill_parent" <TextView android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="@string/credentials_new_password" /> android:text="@string/credentials_new_password" />
<EditText android:id="@+id/new_password" <EditText android:id="@+id/new_password"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:password="True" android:password="True"
android:singleLine="True"/> android:singleLine="True"/>
<TextView android:layout_width="fill_parent" <TextView android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="@string/credentials_confirm_password" /> android:text="@string/credentials_confirm_password" />
<EditText android:id="@+id/confirm_password" <EditText android:id="@+id/confirm_password"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:password="True" android:password="True"
android:singleLine="True"/> android:singleLine="True"/>

View File

@@ -15,17 +15,17 @@
--> -->
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="wrap_content"> android:layout_height="wrap_content">
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical" android:orientation="vertical"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="fill_parent" android:layout_height="match_parent"
android:padding="15dip"> android:padding="15dip">
<TextView android:id="@+id/hint" <TextView android:id="@+id/hint"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:textSize="@dimen/vpn_connect_normal_text_size" android:textSize="@dimen/vpn_connect_normal_text_size"
android:text="@string/credentials_unlock_hint" android:text="@string/credentials_unlock_hint"
@@ -33,14 +33,14 @@
android:visibility="gone"/> android:visibility="gone"/>
<TextView android:id="@+id/error" <TextView android:id="@+id/error"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:textColor="@color/red" android:textColor="@color/red"
android:textStyle="bold" android:textStyle="bold"
android:visibility="gone"/> android:visibility="gone"/>
<EditText android:id="@+id/old_password" <EditText android:id="@+id/old_password"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:password="True" android:password="True"
android:singleLine="True"/> android:singleLine="True"/>

View File

@@ -15,20 +15,20 @@
--> -->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_height="fill_parent" android:layout_height="match_parent"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:orientation="vertical"> android:orientation="vertical">
<LinearLayout <LinearLayout
android:orientation="vertical" android:orientation="vertical"
android:layout_height="0dip" android:layout_height="0dip"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_weight="1" android:layout_weight="1"
android:gravity="left"> android:gravity="left">
<ListView android:id="@android:id/list" <ListView android:id="@android:id/list"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="fill_parent" android:layout_height="match_parent"
android:drawSelectorOnTop="false" android:drawSelectorOnTop="false"
android:paddingTop="2dip" android:paddingTop="2dip"
/> />
@@ -37,7 +37,7 @@
<RelativeLayout <RelativeLayout
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:background="@android:drawable/bottom_bar"> android:background="@android:drawable/bottom_bar">
<Button android:id="@+id/next_button" <Button android:id="@+id/next_button"

View File

@@ -22,7 +22,7 @@
<EditText <EditText
android:id="@+id/edittext" android:id="@+id/edittext"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:maxLength="50" android:maxLength="50"
/> />

View File

@@ -23,22 +23,22 @@
android:orientation="vertical"> android:orientation="vertical">
<TextView <TextView
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="@string/display_font_size_label" /> android:text="@string/display_font_size_label" />
<Spinner android:id="@+id/fontSize" <Spinner android:id="@+id/fontSize"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="wrap_content"> android:layout_height="wrap_content">
</Spinner> </Spinner>
<TextView <TextView
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="@string/display_preview_label" /> android:text="@string/display_preview_label" />
<TextView android:id="@+id/preview" <TextView android:id="@+id/preview"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" /> android:layout_height="wrap_content" />
<Button android:id="@+id/save" <Button android:id="@+id/save"

View File

@@ -18,12 +18,12 @@
--> -->
<ScrollView <ScrollView
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="fill_parent"> android:layout_height="match_parent">
<LinearLayout <LinearLayout
android:id="@+id/all_details" android:id="@+id/all_details"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="fill_parent" android:layout_height="match_parent"
android:paddingRight="6dip" android:paddingRight="6dip"
android:paddingTop="5dip" android:paddingTop="5dip"
android:paddingBottom="5dip" android:paddingBottom="5dip"
@@ -31,14 +31,14 @@
<!-- App snippet --> <!-- App snippet -->
<RelativeLayout <RelativeLayout
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_gravity="center_vertical"> android:layout_gravity="center_vertical">
<LinearLayout <LinearLayout
android:orientation="vertical" android:orientation="vertical"
android:layout_alignParentLeft="true" android:layout_alignParentLeft="true"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:paddingTop="6dip" android:paddingTop="6dip"
android:paddingBottom="6dip" android:paddingBottom="6dip"
@@ -79,12 +79,12 @@
android:text="@string/storage_label" /> android:text="@string/storage_label" />
<LinearLayout <LinearLayout
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:paddingLeft="6dip" android:paddingLeft="6dip"
android:orientation="vertical"> android:orientation="vertical">
<LinearLayout <LinearLayout
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:orientation="horizontal" android:orientation="horizontal"
android:baselineAligned="true" android:baselineAligned="true"
@@ -121,7 +121,7 @@
</LinearLayout> </LinearLayout>
<LinearLayout <LinearLayout
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:orientation="horizontal" android:orientation="horizontal"
android:baselineAligned="true" android:baselineAligned="true"
@@ -158,7 +158,7 @@
</LinearLayout> </LinearLayout>
<LinearLayout <LinearLayout
android:id="@+id/info_size" android:id="@+id/info_size"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:orientation="horizontal" android:orientation="horizontal"
android:baselineAligned="true" android:baselineAligned="true"
@@ -195,7 +195,7 @@
</LinearLayout> </LinearLayout>
<!-- Manage space, Clear data/Uninstall buttons --> <!-- Manage space, Clear data/Uninstall buttons -->
<LinearLayout <LinearLayout
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:gravity="bottom" android:gravity="bottom"
android:orientation="horizontal"> android:orientation="horizontal">
@@ -229,7 +229,7 @@
<!-- Clear cache section --> <!-- Clear cache section -->
<RelativeLayout <RelativeLayout
android:id="@+id/cache_panel" android:id="@+id/cache_panel"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" > android:layout_height="wrap_content" >
<TextView <TextView
android:id="@+id/cache_header" android:id="@+id/cache_header"
@@ -237,7 +237,7 @@
android:text="@string/cache_header_label" /> android:text="@string/cache_header_label" />
<LinearLayout <LinearLayout
android:id="@+id/cache_size" android:id="@+id/cache_size"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:orientation="horizontal" android:orientation="horizontal"
android:baselineAligned="true" android:baselineAligned="true"
@@ -287,13 +287,13 @@
android:text="@string/auto_launch_label" /> android:text="@string/auto_launch_label" />
<RelativeLayout <RelativeLayout
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_gravity="center_vertical"> android:layout_gravity="center_vertical">
<TextView android:id="@+id/auto_launch" <TextView android:id="@+id/auto_launch"
android:textAppearance="?android:attr/textAppearanceSmall" android:textAppearance="?android:attr/textAppearanceSmall"
android:layout_alignParentLeft="true" android:layout_alignParentLeft="true"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:paddingTop="6dip" android:paddingTop="6dip"
android:paddingRight="6dip" android:paddingRight="6dip"
@@ -313,7 +313,7 @@
android:text="@string/controls_label" /> android:text="@string/controls_label" />
<RelativeLayout <RelativeLayout
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_gravity="center_vertical"> android:layout_gravity="center_vertical">
<Button android:id="@+id/force_stop_button" <Button android:id="@+id/force_stop_button"
@@ -329,8 +329,8 @@
<!-- Permissions section --> <!-- Permissions section -->
<LinearLayout <LinearLayout
android:id="@+id/permissions_section" android:id="@+id/permissions_section"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="fill_parent" android:layout_height="match_parent"
android:orientation="vertical"> android:orientation="vertical">
<TextView <TextView
style="?android:attr/listSeparatorTextViewStyle" style="?android:attr/listSeparatorTextViewStyle"
@@ -341,12 +341,12 @@
android:paddingTop="6dip" android:paddingTop="6dip"
android:paddingLeft="6dip" android:paddingLeft="6dip"
android:paddingBottom="6dip" android:paddingBottom="6dip"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" /> android:layout_height="wrap_content" />
<LinearLayout <LinearLayout
android:id="@+id/security_settings_list" android:id="@+id/security_settings_list"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="fill_parent" android:layout_height="match_parent"
android:orientation="vertical"/> android:orientation="vertical"/>
</LinearLayout> </LinearLayout>
</LinearLayout> </LinearLayout>

View File

@@ -21,13 +21,13 @@
android:paddingLeft="6dip" android:paddingLeft="6dip"
android:paddingRight="6dip" android:paddingRight="6dip"
android:paddingBottom="3dip" android:paddingBottom="3dip"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="fill_parent"> android:layout_height="match_parent">
<LinearLayout <LinearLayout
android:orientation="vertical" android:orientation="vertical"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="fill_parent"> android:layout_height="match_parent">
<TextView <TextView
android:textStyle="bold" android:textStyle="bold"

View File

@@ -16,18 +16,18 @@
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="fill_parent" > android:layout_height="match_parent" >
<ListView xmlns:android="http://schemas.android.com/apk/res/android" android:id="@android:id/list" <ListView xmlns:android="http://schemas.android.com/apk/res/android" android:id="@android:id/list"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="fill_parent" android:layout_height="match_parent"
android:drawSelectorOnTop="false" android:drawSelectorOnTop="false"
/> />
<TextView android:id="@+id/empty" <TextView android:id="@+id/empty"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="fill_parent" android:layout_height="match_parent"
android:padding="5dip" android:padding="5dip"
android:gravity="center" android:gravity="center"
android:visibility="gone" /> android:visibility="gone" />

View File

@@ -16,12 +16,12 @@
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical" android:orientation="vertical"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="fill_parent"> android:layout_height="match_parent">
<ListView android:id="@android:id/list" <ListView android:id="@android:id/list"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="fill_parent" android:layout_height="match_parent"
android:drawSelectorOnTop="false" android:drawSelectorOnTop="false"
/> />

View File

@@ -16,8 +16,8 @@
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical" android:orientation="vertical"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="fill_parent"> android:layout_height="match_parent">
<TextView <TextView
android:layout_width="wrap_content" android:layout_width="wrap_content"
@@ -29,15 +29,15 @@
/> />
<View <View
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="1dip" android:layout_height="1dip"
android:layout_marginTop="8dip" android:layout_marginTop="8dip"
android:background="@android:drawable/divider_horizontal_dark" android:background="@android:drawable/divider_horizontal_dark"
/> />
<ListView android:id="@android:id/list" <ListView android:id="@android:id/list"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="fill_parent" android:layout_height="match_parent"
android:drawSelectorOnTop="false" android:drawSelectorOnTop="false"
/> />

View File

@@ -17,7 +17,7 @@
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="horizontal" android:orientation="horizontal"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:gravity="center_vertical" android:gravity="center_vertical"
android:minHeight="?android:attr/listPreferredItemHeight" android:minHeight="?android:attr/listPreferredItemHeight"
android:padding="5dip"> android:padding="5dip">

View File

@@ -18,7 +18,7 @@
--> -->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:minHeight="?android:attr/listPreferredItemHeight" android:minHeight="?android:attr/listPreferredItemHeight"
android:orientation="horizontal" android:orientation="horizontal"
@@ -38,7 +38,7 @@
<LinearLayout <LinearLayout
android:orientation="vertical" android:orientation="vertical"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" > android:layout_height="wrap_content" >
<TextView android:id="@+id/app_name" <TextView android:id="@+id/app_name"
android:layout_width="wrap_content" android:layout_width="wrap_content"

View File

@@ -15,7 +15,7 @@
--> -->
<TextView xmlns:android="http://schemas.android.com/apk/res/android" <TextView xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:minHeight="?android:attr/listPreferredItemHeight" android:minHeight="?android:attr/listPreferredItemHeight"
android:textAppearance="?android:attr/textAppearanceLargeInverse" android:textAppearance="?android:attr/textAppearanceLargeInverse"

View File

@@ -15,7 +15,7 @@
--> -->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:minHeight="?android:attr/listPreferredItemHeight" android:minHeight="?android:attr/listPreferredItemHeight"
android:gravity="center_vertical" android:gravity="center_vertical"
@@ -25,14 +25,14 @@
android:paddingRight="?android:attr/scrollbarSize"> android:paddingRight="?android:attr/scrollbarSize">
<TextView android:id="@+id/summary" <TextView android:id="@+id/summary"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginTop="2dip" android:layout_marginTop="2dip"
android:ellipsize="marquee" android:ellipsize="marquee"
android:textAppearance="?android:attr/textAppearanceMedium"/> android:textAppearance="?android:attr/textAppearanceMedium"/>
<LinearLayout <LinearLayout
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:orientation="horizontal"> android:orientation="horizontal">
<!-- Spacer --> <!-- Spacer -->

View File

@@ -16,7 +16,7 @@
<RelativeLayout <RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="wrap_content"> android:layout_height="wrap_content">
<!--Label for the item--> <!--Label for the item-->
<TextView <TextView

View File

@@ -16,18 +16,18 @@
<ScrollView <ScrollView
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="fill_parent"> android:layout_height="match_parent">
<LinearLayout <LinearLayout
android:id="@+id/all_details" android:id="@+id/all_details"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="fill_parent" android:layout_height="match_parent"
android:paddingTop="5dip" android:paddingTop="5dip"
android:paddingBottom="5dip" android:paddingBottom="5dip"
android:orientation="vertical"> android:orientation="vertical">
<LinearLayout <LinearLayout
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:minHeight="?android:attr/listPreferredItemHeight" android:minHeight="?android:attr/listPreferredItemHeight"
android:orientation="horizontal" android:orientation="horizontal"
@@ -73,7 +73,7 @@
android:id="@+id/gauge" android:id="@+id/gauge"
android:background="#80404040" android:background="#80404040"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_marginTop="5dip" android:layout_marginTop="5dip"
android:layout_below="@id/battery_percentage" android:layout_below="@id/battery_percentage"
android:layout_gravity="center_vertical" /> android:layout_gravity="center_vertical" />
@@ -93,7 +93,7 @@
<LinearLayout <LinearLayout
android:id="@+id/details" android:id="@+id/details"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:paddingLeft="6dip" android:paddingLeft="6dip"
android:orientation="vertical"> android:orientation="vertical">
@@ -104,7 +104,7 @@
<LinearLayout <LinearLayout
android:id="@+id/controls" android:id="@+id/controls"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:orientation="vertical"> android:orientation="vertical">
@@ -126,7 +126,7 @@
<LinearLayout <LinearLayout
android:id="@+id/packages_section" android:id="@+id/packages_section"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:paddingLeft="6dip" android:paddingLeft="6dip"
android:orientation="vertical"> android:orientation="vertical">

View File

@@ -16,7 +16,7 @@
<RelativeLayout <RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="wrap_content"> android:layout_height="wrap_content">
<!--Label for the item--> <!--Label for the item-->
<TextView <TextView

View File

@@ -15,7 +15,7 @@
--> -->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:minHeight="?android:attr/listPreferredItemHeight" android:minHeight="?android:attr/listPreferredItemHeight"
android:gravity="center_vertical" android:gravity="center_vertical"

View File

@@ -18,11 +18,11 @@
--> -->
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="fill_parent"> android:layout_height="match_parent">
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="fill_parent" android:layout_height="match_parent"
android:orientation="vertical" android:orientation="vertical"
android:gravity="center_horizontal" android:gravity="center_horizontal"
android:paddingBottom="20dip"> android:paddingBottom="20dip">
@@ -33,7 +33,7 @@
android:paddingTop="20dip" /> android:paddingTop="20dip" />
<CheckBox android:id="@+id/automatic_mode" <CheckBox android:id="@+id/automatic_mode"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="@string/automatic_brightness" android:text="@string/automatic_brightness"
android:textAppearance="?android:attr/textAppearanceSmall" android:textAppearance="?android:attr/textAppearanceSmall"
@@ -42,7 +42,7 @@
android:layout_marginRight="20dip" /> android:layout_marginRight="20dip" />
<SeekBar android:id="@*android:id/seekbar" <SeekBar android:id="@*android:id/seekbar"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:padding="20dip" /> android:padding="20dip" />

View File

@@ -15,12 +15,12 @@
--> -->
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="fill_parent"> android:layout_height="match_parent">
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="fill_parent" android:layout_height="match_parent"
android:orientation="vertical" android:orientation="vertical"
android:gravity="center_horizontal" android:gravity="center_horizontal"
android:paddingBottom="20dip"> android:paddingBottom="20dip">
@@ -31,7 +31,7 @@
android:paddingTop="20dip" /> android:paddingTop="20dip" />
<TextView <TextView
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="@string/incoming_call_volume_title" android:text="@string/incoming_call_volume_title"
android:paddingTop="20dip" android:paddingTop="20dip"
@@ -40,14 +40,14 @@
<!-- Used for the ring volume. This is what the superclass VolumePreference uses. --> <!-- Used for the ring volume. This is what the superclass VolumePreference uses. -->
<SeekBar android:id="@*android:id/seekbar" <SeekBar android:id="@*android:id/seekbar"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:paddingTop="6dip" android:paddingTop="6dip"
android:paddingLeft="20dip" android:paddingLeft="20dip"
android:paddingRight="20dip" /> android:paddingRight="20dip" />
<CheckBox android:id="@+id/same_notification_volume" <CheckBox android:id="@+id/same_notification_volume"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="@string/checkbox_notification_same_as_incoming_call" android:text="@string/checkbox_notification_same_as_incoming_call"
android:textAppearance="?android:attr/textAppearanceSmall" android:textAppearance="?android:attr/textAppearanceSmall"
@@ -56,7 +56,7 @@
android:layout_marginRight="20dip" /> android:layout_marginRight="20dip" />
<TextView android:id="@+id/notification_volume_title" <TextView android:id="@+id/notification_volume_title"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="@string/notification_volume_title" android:text="@string/notification_volume_title"
android:paddingTop="6dip" android:paddingTop="6dip"
@@ -65,7 +65,7 @@
<!-- Used for the notification volume --> <!-- Used for the notification volume -->
<SeekBar android:id="@+id/notification_volume_seekbar" <SeekBar android:id="@+id/notification_volume_seekbar"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:paddingTop="6dip" android:paddingTop="6dip"
android:paddingLeft="20dip" android:paddingLeft="20dip"

View File

@@ -19,7 +19,7 @@
type in the "widget_frame" layout. --> type in the "widget_frame" layout. -->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+android:id/widget_frame" android:id="@+android:id/widget_frame"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:minHeight="?android:attr/listPreferredItemHeight" android:minHeight="?android:attr/listPreferredItemHeight"
android:gravity="center_vertical" android:gravity="center_vertical"

View File

@@ -15,7 +15,7 @@
--> -->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:minHeight="?android:attr/listPreferredItemHeight" android:minHeight="?android:attr/listPreferredItemHeight"
android:gravity="center_vertical" android:gravity="center_vertical"
@@ -63,7 +63,7 @@
android:id="@+id/appGauge" android:id="@+id/appGauge"
android:background="#80404040" android:background="#80404040"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_marginTop="5dip" android:layout_marginTop="5dip"
android:layout_below="@id/percent" android:layout_below="@id/percent"
android:layout_gravity="center_vertical" /> android:layout_gravity="center_vertical" />

View File

@@ -22,7 +22,7 @@
android:paddingLeft="6dip" android:paddingLeft="6dip"
android:paddingRight="6dip" android:paddingRight="6dip"
android:paddingBottom="3dip" android:paddingBottom="3dip"
android:layout_width="fill_parent" android:layout_height="wrap_content"> android:layout_width="match_parent" android:layout_height="wrap_content">
<TextView <TextView
android:textStyle="bold" android:textStyle="bold"
@@ -34,7 +34,7 @@
<EditText android:id="@+id/hostname" <EditText android:id="@+id/hostname"
android:maxLines="1" android:maxLines="1"
android:layout_marginTop="2dip" android:layout_marginTop="2dip"
android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_width="match_parent" android:layout_height="wrap_content"
android:autoText="false" android:autoText="false"
android:capitalize="none" android:capitalize="none"
android:scrollHorizontally="true" /> android:scrollHorizontally="true" />
@@ -50,7 +50,7 @@
android:numeric="integer" android:numeric="integer"
android:maxLines="1" android:maxLines="1"
android:layout_marginTop="2dip" android:layout_marginTop="2dip"
android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_width="match_parent" android:layout_height="wrap_content"
android:scrollHorizontally="true" /> android:scrollHorizontally="true" />
<LinearLayout <LinearLayout
@@ -59,17 +59,17 @@
android:layout_width="wrap_content" android:layout_height="wrap_content"> android:layout_width="wrap_content" android:layout_height="wrap_content">
<Button android:id="@+id/action" <Button android:id="@+id/action"
android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_width="wrap_content" android:layout_height="match_parent"
android:layout_weight="1" android:layout_weight="1"
android:text="@string/proxy_action_text" /> android:text="@string/proxy_action_text" />
<Button android:id="@+id/clear" <Button android:id="@+id/clear"
android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_width="wrap_content" android:layout_height="match_parent"
android:layout_weight="1" android:layout_weight="1"
android:text="@string/proxy_clear_text" /> android:text="@string/proxy_clear_text" />
<Button android:id="@+id/defaultView" <Button android:id="@+id/defaultView"
android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_width="wrap_content" android:layout_height="match_parent"
android:layout_weight="1" android:layout_weight="1"
android:text="@string/proxy_defaultView_text" /> android:text="@string/proxy_defaultView_text" />

View File

@@ -18,8 +18,8 @@
*/ */
--> -->
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="fill_parent" > android:layout_height="match_parent" >
<LinearLayout style="@style/info_layout"> <LinearLayout style="@style/info_layout">
@@ -177,14 +177,14 @@
<!-- Preferred Network Type --> <!-- Preferred Network Type -->
<TextView <TextView
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="@string/radio_info_set_perferred_label" android:text="@string/radio_info_set_perferred_label"
style="@style/info_label" style="@style/info_label"
/> />
<Spinner android:id="@+id/preferredNetworkType" <Spinner android:id="@+id/preferredNetworkType"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
/> />
@@ -197,7 +197,7 @@
/> />
<!-- SMSC --> <!-- SMSC -->
<RelativeLayout android:layout_width="fill_parent" <RelativeLayout android:layout_width="match_parent"
android:layout_height="wrap_content"> android:layout_height="wrap_content">
<TextView android:id="@+id/smsc_label" <TextView android:id="@+id/smsc_label"
android:text="@string/radio_info_smsc_label" android:text="@string/radio_info_smsc_label"

View File

@@ -17,7 +17,7 @@
<CheckBox <CheckBox
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/remember" android:id="@+id/remember"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="@string/bluetooth_dock_settings_remember" android:text="@string/bluetooth_dock_settings_remember"
android:focusable="true" android:focusable="true"

View File

@@ -16,27 +16,27 @@
--> -->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="fill_parent" android:layout_height="match_parent"
android:orientation="vertical"> android:orientation="vertical">
<FrameLayout <FrameLayout
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="0px" android:layout_height="0px"
android:layout_weight="1"> android:layout_weight="1">
<ListView android:id="@android:id/list" <ListView android:id="@android:id/list"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="fill_parent" android:layout_height="match_parent"
android:drawSelectorOnTop="false" android:drawSelectorOnTop="false"
android:fastScrollEnabled="true" /> android:fastScrollEnabled="true" />
<TextView android:id="@android:id/empty" <TextView android:id="@android:id/empty"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="fill_parent" android:layout_height="match_parent"
android:gravity="center" android:gravity="center"
android:text="@string/no_running_services" android:text="@string/no_running_services"
android:textAppearance="?android:attr/textAppearanceLarge" /> android:textAppearance="?android:attr/textAppearanceLarge" />
</FrameLayout> </FrameLayout>
<LinearLayout <LinearLayout
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:orientation="horizontal" android:orientation="horizontal"
android:background="?android:attr/colorForeground" android:background="?android:attr/colorForeground"

View File

@@ -18,7 +18,7 @@
--> -->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:minHeight="?android:attr/listPreferredItemHeight" android:minHeight="?android:attr/listPreferredItemHeight"
android:orientation="vertical" android:orientation="vertical"
@@ -30,7 +30,7 @@
android:src="?android:attr/listDivider"/> android:src="?android:attr/listDivider"/>
<LinearLayout <LinearLayout
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_weight="1" android:layout_weight="1"
android:orientation="horizontal" android:orientation="horizontal"
@@ -48,12 +48,12 @@
<LinearLayout <LinearLayout
android:orientation="vertical" android:orientation="vertical"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" > android:layout_height="wrap_content" >
<LinearLayout <LinearLayout
android:orientation="horizontal" android:orientation="horizontal"
android:baselineAlignedChildIndex="0" android:baselineAlignedChildIndex="0"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="wrap_content"> android:layout_height="wrap_content">
<TextView android:id="@+id/name" <TextView android:id="@+id/name"
android:layout_width="wrap_content" android:layout_width="wrap_content"

View File

@@ -19,19 +19,19 @@
--> -->
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical" android:orientation="vertical"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="fill_parent"> android:layout_height="match_parent">
<LinearLayout android:id="@+id/list" <LinearLayout android:id="@+id/list"
android:orientation="vertical" android:orientation="vertical"
android:padding="10dip" android:padding="10dip"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="wrap_content"> android:layout_height="wrap_content">
<LinearLayout android:id="@+id/usb" <LinearLayout android:id="@+id/usb"
android:orientation="vertical" android:orientation="vertical"
android:paddingBottom="10dip" android:paddingBottom="10dip"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="wrap_content"> android:layout_height="wrap_content">
<CheckBox android:id="@+id/mass_storage" <CheckBox android:id="@+id/mass_storage"
@@ -46,12 +46,12 @@
<!-- divider line --> <!-- divider line -->
<View android:background="#FF000000" <View android:background="#FF000000"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="1dip" /> android:layout_height="1dip" />
<LinearLayout android:id="@+id/mounted" <LinearLayout android:id="@+id/mounted"
android:orientation="vertical" android:orientation="vertical"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:paddingTop="10dip"> android:paddingTop="10dip">
@@ -72,7 +72,7 @@
android:layout_width="wrap_content" android:layout_height="wrap_content" /> android:layout_width="wrap_content" android:layout_height="wrap_content" />
<TableLayout <TableLayout
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:paddingTop="10dip"> android:paddingTop="10dip">
<TableRow> <TableRow>
@@ -105,7 +105,7 @@
<LinearLayout android:id="@+id/shared" <LinearLayout android:id="@+id/shared"
android:orientation="vertical" android:orientation="vertical"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:paddingTop="10dip"> android:paddingTop="10dip">

View File

@@ -1,24 +1,24 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical" android:orientation="vertical"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="fill_parent"> android:layout_height="match_parent">
<TextView <TextView
android:text="@string/display_order_text" android:text="@string/display_order_text"
android:textAppearance="?android:attr/textAppearanceLarge" android:textAppearance="?android:attr/textAppearanceLarge"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" /> android:layout_height="wrap_content" />
<Spinner <Spinner
android:id="@+id/typeSpinner" android:id="@+id/typeSpinner"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:entries="@array/usage_stats_display_order_types" /> android:entries="@array/usage_stats_display_order_types" />
<LinearLayout <LinearLayout
android:orientation="horizontal" android:orientation="horizontal"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" > android:layout_height="wrap_content" >
<TextView <TextView
android:text="@string/app_name_label" android:text="@string/app_name_label"
@@ -39,7 +39,7 @@
android:layout_height="wrap_content" /> android:layout_height="wrap_content" />
</LinearLayout> </LinearLayout>
<ListView android:id="@+id/pkg_list" <ListView android:id="@+id/pkg_list"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="fill_parent" android:layout_height="match_parent"
android:drawSelectorOnTop="false" /> android:drawSelectorOnTop="false" />
</LinearLayout> </LinearLayout>

View File

@@ -18,7 +18,7 @@
--> -->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:orientation="horizontal" android:orientation="horizontal"
android:minHeight="?android:attr/listPreferredItemHeight"> android:minHeight="?android:attr/listPreferredItemHeight">

View File

@@ -15,18 +15,18 @@
--> -->
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="wrap_content"> android:layout_height="wrap_content">
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical" android:orientation="vertical"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="fill_parent" android:layout_height="match_parent"
android:padding="10dip"> android:padding="10dip">
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="horizontal" android:orientation="horizontal"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="wrap_content"> android:layout_height="wrap_content">
<TextView android:id="@+id/username_str" <TextView android:id="@+id/username_str"
android:layout_width="@dimen/vpn_connect_input_box_label_width" android:layout_width="@dimen/vpn_connect_input_box_label_width"
@@ -36,14 +36,14 @@
android:layout_marginRight="@dimen/vpn_connect_margin_right" android:layout_marginRight="@dimen/vpn_connect_margin_right"
android:text="@string/vpn_username_colon" /> android:text="@string/vpn_username_colon" />
<EditText android:id="@+id/username_value" <EditText android:id="@+id/username_value"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:singleLine="True"/> android:singleLine="True"/>
</LinearLayout> </LinearLayout>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="horizontal" android:orientation="horizontal"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="wrap_content"> android:layout_height="wrap_content">
<TextView android:id="@+id/password_str" <TextView android:id="@+id/password_str"
android:layout_width="@dimen/vpn_connect_input_box_label_width" android:layout_width="@dimen/vpn_connect_input_box_label_width"
@@ -53,14 +53,14 @@
android:layout_marginRight="@dimen/vpn_connect_margin_right" android:layout_marginRight="@dimen/vpn_connect_margin_right"
android:text="@string/vpn_password_colon" /> android:text="@string/vpn_password_colon" />
<EditText android:id="@+id/password_value" <EditText android:id="@+id/password_value"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:password="True" android:password="True"
android:singleLine="True"/> android:singleLine="True"/>
</LinearLayout> </LinearLayout>
<CheckBox android:id="@+id/save_username" <CheckBox android:id="@+id/save_username"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginLeft="66dip" android:layout_marginLeft="66dip"
android:text="@string/vpn_save_username" /> android:text="@string/vpn_save_username" />

View File

@@ -16,8 +16,8 @@
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/main" android:id="@+id/main"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="fill_parent" android:layout_height="match_parent"
android:gravity="center" android:gravity="center"
android:background="@drawable/appwidget_bg" > android:background="@drawable/appwidget_bg" >
@@ -25,7 +25,7 @@
android:id="@+id/btn_wifi" android:id="@+id/btn_wifi"
android:layout_width="0dip" android:layout_width="0dip"
android:layout_weight="1" android:layout_weight="1"
android:layout_height="fill_parent" android:layout_height="match_parent"
android:background="@drawable/appwidget_button_left" android:background="@drawable/appwidget_button_left"
android:clickable="true" android:clickable="true"
android:focusable="true" android:focusable="true"
@@ -33,7 +33,7 @@
<ImageView <ImageView
android:id="@+id/img_wifi" android:id="@+id/img_wifi"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="0dip" android:layout_height="0dip"
android:layout_weight="1" android:layout_weight="1"
android:scaleType="center" android:scaleType="center"
@@ -41,7 +41,7 @@
<ImageView <ImageView
android:id="@+id/ind_wifi" android:id="@+id/ind_wifi"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:scaleType="fitXY" android:scaleType="fitXY"
/> />
@@ -49,7 +49,7 @@
<ImageView <ImageView
android:layout_width="1dip" android:layout_width="1dip"
android:layout_height="fill_parent" android:layout_height="match_parent"
android:background="@drawable/appwidget_settings_divider" android:background="@drawable/appwidget_settings_divider"
/> />
@@ -57,7 +57,7 @@
android:id="@+id/btn_bluetooth" android:id="@+id/btn_bluetooth"
android:layout_width="0dip" android:layout_width="0dip"
android:layout_weight="1" android:layout_weight="1"
android:layout_height="fill_parent" android:layout_height="match_parent"
android:background="@drawable/appwidget_button_center" android:background="@drawable/appwidget_button_center"
android:clickable="true" android:clickable="true"
android:focusable="true" android:focusable="true"
@@ -65,7 +65,7 @@
<ImageView <ImageView
android:id="@+id/img_bluetooth" android:id="@+id/img_bluetooth"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="0dip" android:layout_height="0dip"
android:layout_weight="1" android:layout_weight="1"
android:scaleType="center" android:scaleType="center"
@@ -73,7 +73,7 @@
<ImageView <ImageView
android:id="@+id/ind_bluetooth" android:id="@+id/ind_bluetooth"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:scaleType="fitXY" android:scaleType="fitXY"
/> />
@@ -82,7 +82,7 @@
<ImageView <ImageView
android:layout_width="1dip" android:layout_width="1dip"
android:layout_height="fill_parent" android:layout_height="match_parent"
android:background="@drawable/appwidget_settings_divider" android:background="@drawable/appwidget_settings_divider"
/> />
@@ -90,7 +90,7 @@
android:id="@+id/btn_gps" android:id="@+id/btn_gps"
android:layout_width="0dip" android:layout_width="0dip"
android:layout_weight="1" android:layout_weight="1"
android:layout_height="fill_parent" android:layout_height="match_parent"
android:background="@drawable/appwidget_button_center" android:background="@drawable/appwidget_button_center"
android:clickable="true" android:clickable="true"
android:focusable="true" android:focusable="true"
@@ -98,7 +98,7 @@
<ImageView <ImageView
android:id="@+id/img_gps" android:id="@+id/img_gps"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="0dip" android:layout_height="0dip"
android:layout_weight="1" android:layout_weight="1"
android:scaleType="center" android:scaleType="center"
@@ -106,7 +106,7 @@
<ImageView <ImageView
android:id="@+id/ind_gps" android:id="@+id/ind_gps"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:scaleType="fitXY" android:scaleType="fitXY"
/> />
@@ -114,7 +114,7 @@
<ImageView <ImageView
android:layout_width="1dip" android:layout_width="1dip"
android:layout_height="fill_parent" android:layout_height="match_parent"
android:background="@drawable/appwidget_settings_divider" android:background="@drawable/appwidget_settings_divider"
/> />
@@ -122,7 +122,7 @@
android:id="@+id/btn_sync" android:id="@+id/btn_sync"
android:layout_width="0dip" android:layout_width="0dip"
android:layout_weight="1" android:layout_weight="1"
android:layout_height="fill_parent" android:layout_height="match_parent"
android:background="@drawable/appwidget_button_center" android:background="@drawable/appwidget_button_center"
android:clickable="true" android:clickable="true"
android:focusable="true" android:focusable="true"
@@ -130,7 +130,7 @@
<ImageView <ImageView
android:id="@+id/img_sync" android:id="@+id/img_sync"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="0dip" android:layout_height="0dip"
android:layout_weight="1" android:layout_weight="1"
android:scaleType="center" android:scaleType="center"
@@ -138,7 +138,7 @@
<ImageView <ImageView
android:id="@+id/ind_sync" android:id="@+id/ind_sync"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:scaleType="fitXY" android:scaleType="fitXY"
/> />
@@ -146,7 +146,7 @@
<ImageView <ImageView
android:layout_width="1dip" android:layout_width="1dip"
android:layout_height="fill_parent" android:layout_height="match_parent"
android:background="@drawable/appwidget_settings_divider" android:background="@drawable/appwidget_settings_divider"
/> />
@@ -154,7 +154,7 @@
android:id="@+id/btn_brightness" android:id="@+id/btn_brightness"
android:layout_width="0dip" android:layout_width="0dip"
android:layout_weight="1" android:layout_weight="1"
android:layout_height="fill_parent" android:layout_height="match_parent"
android:background="@drawable/appwidget_button_right" android:background="@drawable/appwidget_button_right"
android:clickable="true" android:clickable="true"
android:focusable="true" android:focusable="true"
@@ -162,7 +162,7 @@
<ImageView <ImageView
android:id="@+id/img_brightness" android:id="@+id/img_brightness"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="0dip" android:layout_height="0dip"
android:layout_weight="1" android:layout_weight="1"
android:scaleType="center" android:scaleType="center"
@@ -170,7 +170,7 @@
<ImageView <ImageView
android:id="@+id/ind_brightness" android:id="@+id/ind_brightness"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:scaleType="fitXY" android:scaleType="fitXY"
/> />

View File

@@ -15,19 +15,19 @@
--> -->
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="wrap_content"> android:layout_height="wrap_content">
<LinearLayout <LinearLayout
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:padding="8dip" android:padding="8dip"
android:orientation="vertical"> android:orientation="vertical">
<LinearLayout <LinearLayout
android:id="@+id/table" android:id="@+id/table"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="fill_parent" android:layout_height="match_parent"
android:orientation="vertical"> android:orientation="vertical">
</LinearLayout> </LinearLayout>
@@ -36,12 +36,12 @@
<TextView android:id="@+id/ssid_text" <TextView android:id="@+id/ssid_text"
style="?android:attr/textAppearanceSmallInverse" style="?android:attr/textAppearanceSmallInverse"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="@string/wifi_type_ssid" /> android:text="@string/wifi_type_ssid" />
<EditText android:id="@+id/ssid_edit" <EditText android:id="@+id/ssid_edit"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginTop="2dip" android:layout_marginTop="2dip"
android:singleLine="true" android:singleLine="true"
@@ -51,79 +51,79 @@
<TextView android:id="@+id/security_text" <TextView android:id="@+id/security_text"
style="?android:attr/textAppearanceSmallInverse" style="?android:attr/textAppearanceSmallInverse"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginTop="8dip" android:layout_marginTop="8dip"
android:text="@string/wifi_security" /> android:text="@string/wifi_security" />
<!-- The entries will be set programmatically --> <!-- The entries will be set programmatically -->
<Spinner android:id="@+id/security_spinner" <Spinner android:id="@+id/security_spinner"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" /> android:layout_height="wrap_content" />
<!-- Enterprise Fields --> <!-- Enterprise Fields -->
<LinearLayout android:id="@+id/enterprise_wrapper" <LinearLayout android:id="@+id/enterprise_wrapper"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:padding="0dip" android:padding="0dip"
android:orientation="vertical"> android:orientation="vertical">
<TextView android:id="@+id/eap_text" <TextView android:id="@+id/eap_text"
style="?android:attr/textAppearanceSmallInverse" style="?android:attr/textAppearanceSmallInverse"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginTop="8dip" android:layout_marginTop="8dip"
android:text="@string/please_select_eap" /> android:text="@string/please_select_eap" />
<Spinner android:id="@+id/eap_spinner" <Spinner android:id="@+id/eap_spinner"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" /> android:layout_height="wrap_content" />
<TextView android:id="@+id/phase2_text" <TextView android:id="@+id/phase2_text"
style="?android:attr/textAppearanceSmallInverse" style="?android:attr/textAppearanceSmallInverse"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginTop="8dip" android:layout_marginTop="8dip"
android:text="@string/please_select_phase2" /> android:text="@string/please_select_phase2" />
<Spinner android:id="@+id/phase2_spinner" <Spinner android:id="@+id/phase2_spinner"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" /> android:layout_height="wrap_content" />
<TextView android:id="@+id/ca_certificate_text" <TextView android:id="@+id/ca_certificate_text"
style="?android:attr/textAppearanceSmallInverse" style="?android:attr/textAppearanceSmallInverse"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginTop="8dip" android:layout_marginTop="8dip"
android:text="@string/please_select_ca_certificate" /> android:text="@string/please_select_ca_certificate" />
<Spinner android:id="@+id/ca_certificate_spinner" <Spinner android:id="@+id/ca_certificate_spinner"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" /> android:layout_height="wrap_content" />
<TextView android:id="@+id/client_certificate_text" <TextView android:id="@+id/client_certificate_text"
style="?android:attr/textAppearanceSmallInverse" style="?android:attr/textAppearanceSmallInverse"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginTop="8dip" android:layout_marginTop="8dip"
android:text="@string/please_select_client_certificate" /> android:text="@string/please_select_client_certificate" />
<Spinner android:id="@+id/client_certificate_spinner" <Spinner android:id="@+id/client_certificate_spinner"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" /> android:layout_height="wrap_content" />
<TextView android:id="@+id/identity_text" <TextView android:id="@+id/identity_text"
style="?android:attr/textAppearanceSmallInverse" style="?android:attr/textAppearanceSmallInverse"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginTop="8dip" android:layout_marginTop="8dip"
android:text="@string/please_type_identity" /> android:text="@string/please_type_identity" />
<EditText android:id="@+id/identity_edit" <EditText android:id="@+id/identity_edit"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginTop="2dip" android:layout_marginTop="2dip"
android:singleLine="true" android:singleLine="true"
android:inputType="textNoSuggestions" /> android:inputType="textNoSuggestions" />
<TextView android:id="@+id/anonymous_identity_text" <TextView android:id="@+id/anonymous_identity_text"
style="?android:attr/textAppearanceSmallInverse" style="?android:attr/textAppearanceSmallInverse"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginTop="8dip" android:layout_marginTop="8dip"
android:text="@string/please_type_anonymous_identity" /> android:text="@string/please_type_anonymous_identity" />
<EditText android:id="@+id/anonymous_identity_edit" <EditText android:id="@+id/anonymous_identity_edit"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginTop="2dip" android:layout_marginTop="2dip"
android:singleLine="true" /> android:singleLine="true" />
@@ -133,13 +133,13 @@
<TextView android:id="@+id/password_text" <TextView android:id="@+id/password_text"
style="?android:attr/textAppearanceSmallInverse" style="?android:attr/textAppearanceSmallInverse"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginTop="8dip" android:layout_marginTop="8dip"
android:text="@string/please_type_passphrase" /> android:text="@string/please_type_passphrase" />
<EditText android:id="@+id/password_edit" <EditText android:id="@+id/password_edit"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginTop="2dip" android:layout_marginTop="2dip"
android:singleLine="true" android:singleLine="true"
@@ -147,13 +147,13 @@
<CheckBox android:id="@+id/show_password_checkbox" <CheckBox android:id="@+id/show_password_checkbox"
style="?android:attr/textAppearanceSmallInverse" style="?android:attr/textAppearanceSmallInverse"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginTop="2dip" android:layout_marginTop="2dip"
android:text="@string/wifi_show_password" /> android:text="@string/wifi_show_password" />
<Spinner android:id="@+id/wep_type_spinner" <Spinner android:id="@+id/wep_type_spinner"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:entries="@array/wifi_wep_type" /> android:entries="@array/wifi_wep_type" />

View File

@@ -15,19 +15,19 @@
--> -->
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="wrap_content"> android:layout_height="wrap_content">
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:padding="8dip" android:padding="8dip"
android:orientation="vertical"> android:orientation="vertical">
<LinearLayout <LinearLayout
android:id="@+id/table" android:id="@+id/table"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="fill_parent" android:layout_height="match_parent"
android:orientation="vertical"> android:orientation="vertical">
<!-- Info dynamically added here. --> <!-- Info dynamically added here. -->
@@ -37,13 +37,13 @@
<!-- Password --> <!-- Password -->
<TextView android:id="@+id/password_text" <TextView android:id="@+id/password_text"
style="?android:attr/textAppearanceSmallInverse" style="?android:attr/textAppearanceSmallInverse"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginTop="8dip" android:layout_marginTop="8dip"
android:text="@string/please_type_passphrase" /> android:text="@string/please_type_passphrase" />
<EditText android:id="@+id/password_edit" <EditText android:id="@+id/password_edit"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginTop="2dip" android:layout_marginTop="2dip"
android:singleLine="true" android:singleLine="true"
@@ -51,7 +51,7 @@
<CheckBox android:id="@+id/show_password_checkbox" <CheckBox android:id="@+id/show_password_checkbox"
style="?android:attr/textAppearanceSmallInverse" style="?android:attr/textAppearanceSmallInverse"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginTop="2dip" android:layout_marginTop="2dip"
android:text="@string/wifi_show_password" /> android:text="@string/wifi_show_password" />

View File

@@ -15,7 +15,7 @@
--> -->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="wrap_content"> android:layout_height="wrap_content">
<TextView <TextView
android:id="@+id/name" android:id="@+id/name"

View File

@@ -15,31 +15,31 @@
--> -->
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="wrap_content"> android:layout_height="wrap_content">
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:padding="8dip" android:padding="8dip"
android:orientation="vertical"> android:orientation="vertical">
<TextView <TextView
style="?android:attr/textAppearanceSmallInverse" style="?android:attr/textAppearanceSmallInverse"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="@string/wifi_password_incorrect_error" /> android:text="@string/wifi_password_incorrect_error" />
<!-- Password --> <!-- Password -->
<TextView android:id="@+id/password_text" <TextView android:id="@+id/password_text"
style="?android:attr/textAppearanceSmallInverse" style="?android:attr/textAppearanceSmallInverse"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginTop="8dip" android:layout_marginTop="8dip"
android:text="@string/please_type_passphrase" /> android:text="@string/please_type_passphrase" />
<EditText android:id="@+id/password_edit" <EditText android:id="@+id/password_edit"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginTop="2dip" android:layout_marginTop="2dip"
android:singleLine="true" android:singleLine="true"
@@ -47,7 +47,7 @@
<CheckBox android:id="@+id/show_password_checkbox" <CheckBox android:id="@+id/show_password_checkbox"
style="?android:attr/textAppearanceSmallInverse" style="?android:attr/textAppearanceSmallInverse"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginTop="2dip" android:layout_marginTop="2dip"
android:text="@string/wifi_show_password" /> android:text="@string/wifi_show_password" />

View File

@@ -14,8 +14,8 @@
limitations under the License. limitations under the License.
--> -->
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="fill_parent" > android:layout_height="match_parent" >
<LinearLayout style="@style/info_layout"> <LinearLayout style="@style/info_layout">

View File

@@ -14,8 +14,8 @@
limitations under the License. limitations under the License.
--> -->
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="fill_parent" > android:layout_height="match_parent" >
<LinearLayout style="@style/info_layout"> <LinearLayout style="@style/info_layout">

View File

@@ -44,8 +44,8 @@
<item name="android:paddingTop">10dip</item> <item name="android:paddingTop">10dip</item>
<item name="android:paddingRight">10dip</item> <item name="android:paddingRight">10dip</item>
<item name="android:paddingBottom">10dip</item> <item name="android:paddingBottom">10dip</item>
<item name="android:layout_width">fill_parent</item> <item name="android:layout_width">match_parent</item>
<item name="android:layout_height">fill_parent</item> <item name="android:layout_height">match_parent</item>
</style> </style>
<style name="entry_layout"> <style name="entry_layout">
@@ -56,7 +56,7 @@
<style name="form_value"> <style name="form_value">
<item name="android:layout_height">wrap_content</item> <item name="android:layout_height">wrap_content</item>
<item name="android:layout_width">fill_parent</item> <item name="android:layout_width">match_parent</item>
</style> </style>

View File

@@ -62,7 +62,7 @@ public class BandMode extends Activity {
setContentView(R.layout.band_mode); setContentView(R.layout.band_mode);
setTitle(getString(R.string.band_mode_title)); setTitle(getString(R.string.band_mode_title));
getWindow().setLayout(WindowManager.LayoutParams.FILL_PARENT, getWindow().setLayout(WindowManager.LayoutParams.MATCH_PARENT,
WindowManager.LayoutParams.WRAP_CONTENT); WindowManager.LayoutParams.WRAP_CONTENT);
mPhone = PhoneFactory.getDefaultPhone(); mPhone = PhoneFactory.getDefaultPhone();

View File

@@ -16,18 +16,18 @@
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical" android:orientation="vertical"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="fill_parent"> android:layout_height="match_parent">
<ListView android:id="@+id/msg_container" <ListView android:id="@+id/msg_container"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="0dip" android:layout_height="0dip"
android:layout_weight="1" android:layout_weight="1"
android:transcriptMode="normal"/> android:transcriptMode="normal"/>
<LinearLayout <LinearLayout
android:orientation="horizontal" android:orientation="horizontal"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
style="@android:style/ButtonBar"> style="@android:style/ButtonBar">