@@ -15,12 +15,12 @@
|
||||
-->
|
||||
<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:padding="5dip">
|
||||
<TextView
|
||||
android:id="@+id/locale_code"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:textAppearance="?android:textAppearanceLarge"
|
||||
android:layout_weight="1"
|
||||
@@ -28,7 +28,7 @@
|
||||
<TextView
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@+id/locale_name"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:textAppearance="?android:textAppearance"
|
||||
android:layout_weight="1" />
|
||||
|
||||
@@ -16,10 +16,10 @@
|
||||
<LinearLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:orientation="vertical"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent">
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
<TextView
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="0"
|
||||
android:text="@string/header_current_locale"
|
||||
@@ -28,12 +28,12 @@
|
||||
android:background="@color/header_background" />
|
||||
<TextView
|
||||
android:id="@+id/current_locale"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="0"
|
||||
android:padding="5dip" />
|
||||
<TextView
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="0"
|
||||
android:text="@string/header_locale_list"
|
||||
@@ -42,18 +42,18 @@
|
||||
android:background="@color/header_background" />
|
||||
<ListView
|
||||
android:id="@id/android:list"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:padding="8dip" />
|
||||
<TextView
|
||||
android:id="@id/android:empty"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:text="@string/no_data_label" />
|
||||
<Button
|
||||
android:id="@+id/new_locale"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="0"
|
||||
android:paddingLeft="8dip"
|
||||
|
||||
@@ -16,32 +16,32 @@
|
||||
<LinearLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:orientation="vertical"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingLeft="8dip"
|
||||
android:paddingRight="8dip">
|
||||
<TextView
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/new_locale_label" />
|
||||
<EditText
|
||||
android:id="@+id/value"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:hint="@string/locale_default" android:inputType="text"/>
|
||||
<LinearLayout
|
||||
android:orientation="horizontal"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
<Button
|
||||
android:id="@+id/add"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:text="@string/add_button" android:layout_gravity="center_vertical"/>
|
||||
<Button
|
||||
android:id="@+id/add_and_select"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:text="@string/add_select_button" android:layout_gravity="center_vertical"/>
|
||||
|
||||
@@ -16,5 +16,5 @@
|
||||
|
||||
<ListView
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"/>
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"/>
|
||||
|
||||
@@ -17,20 +17,20 @@
|
||||
<LinearLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:orientation="vertical"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent">
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<LinearLayout
|
||||
android:orientation="vertical"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<ListView android:id="@+id/accounts_tester_authenticators_list"
|
||||
android:layout_width="fill_parent" android:layout_height="fill_parent"/>
|
||||
android:layout_width="match_parent" android:layout_height="match_parent"/>
|
||||
|
||||
<LinearLayout
|
||||
android:orientation="horizontal"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<TextView android:id="@+id/accounts_tester_account_types_spinner_label"
|
||||
@@ -45,11 +45,11 @@
|
||||
|
||||
<LinearLayout
|
||||
android:orientation="vertical"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
<LinearLayout
|
||||
android:orientation="horizontal"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
<Button
|
||||
android:id="@+id/accounts_tester_get_accounts_by_type"
|
||||
@@ -75,7 +75,7 @@
|
||||
|
||||
<LinearLayout
|
||||
android:orientation="horizontal"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
<TextView android:id="@+id/accounts_tester_desiredFeatures"
|
||||
android:layout_width="wrap_content"
|
||||
@@ -89,7 +89,7 @@
|
||||
</LinearLayout>
|
||||
<LinearLayout
|
||||
android:orientation="horizontal"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
<TextView android:id="@+id/accounts_tester_desiredFeatures"
|
||||
android:layout_width="wrap_content"
|
||||
@@ -106,11 +106,11 @@
|
||||
|
||||
<LinearLayout
|
||||
android:orientation="horizontal"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<ListView android:id="@+id/accounts_tester_accounts_list"
|
||||
android:layout_width="fill_parent" android:layout_height="fill_parent"/>
|
||||
android:layout_width="match_parent" android:layout_height="match_parent"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
@@ -15,75 +15,75 @@
|
||||
-->
|
||||
|
||||
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent">
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<LinearLayout
|
||||
android:orientation="vertical"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:padding="4dip" >
|
||||
|
||||
<TextView android:id="@+id/attr_package_label"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/package_label"
|
||||
android:textStyle="bold" />
|
||||
<TextView android:id="@+id/attr_package"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"/>
|
||||
|
||||
<TextView android:id="@+id/attr_touchscreen_label"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/touchscreen_label"
|
||||
android:textStyle="bold" />
|
||||
<TextView android:id="@+id/attr_touchscreen"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"/>
|
||||
|
||||
<TextView android:id="@+id/attr_input_method_label"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/input_method_label"
|
||||
android:textStyle="bold" />
|
||||
<TextView android:id="@+id/attr_input_method"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"/>
|
||||
|
||||
<TextView android:id="@+id/attr_hard_keyboard_label"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/hard_keyboard_label"
|
||||
android:textStyle="bold" />
|
||||
<TextView android:id="@+id/attr_hard_keyboard"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"/>
|
||||
|
||||
<TextView android:id="@+id/attr_navigation_label"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/navigation_label"
|
||||
android:textStyle="bold" />
|
||||
<TextView android:id="@+id/attr_navigation"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"/>
|
||||
|
||||
<TextView android:id="@+id/attr_five_way_nav_label"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/five_way_nav_label"
|
||||
android:textStyle="bold" />
|
||||
<TextView android:id="@+id/attr_five_way_nav"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"/>
|
||||
<TextView android:id="@+id/attr_gles_version_label"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/gles_version_label"
|
||||
android:textStyle="bold" />
|
||||
<TextView android:id="@+id/attr_gles_version"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"/>
|
||||
</LinearLayout>
|
||||
</ScrollView>
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
-->
|
||||
|
||||
<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:minHeight="?android:attr/listPreferredItemHeight"
|
||||
android:paddingTop="1dip"
|
||||
@@ -35,7 +35,7 @@
|
||||
|
||||
<TextView android:id="@+id/accounts_tester_authenticator_label"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:gravity="center_vertical"
|
||||
android:textAppearance="?android:attr/textAppearanceLarge"
|
||||
android:layout_gravity="center_horizontal|center_vertical" />
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:orientation="vertical"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent">
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<Button android:id="@+id/bad_behavior_crash_system"
|
||||
android:layout_width="wrap_content"
|
||||
|
||||
@@ -20,12 +20,12 @@
|
||||
<LinearLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:orientation="vertical"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent">
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<LinearLayout
|
||||
android:orientation="horizontal"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
<Button android:id="@+id/enableWifi"
|
||||
android:layout_width="wrap_content"
|
||||
@@ -39,13 +39,13 @@
|
||||
|
||||
<!-- divider line -->
|
||||
<View android:background="#FFFFFFFF"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="3dip" />
|
||||
|
||||
<LinearLayout
|
||||
android:orientation="horizontal"
|
||||
android:paddingTop="4dip"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
<Button android:id="@+id/startDelayedCycle"
|
||||
android:layout_width="wrap_content"
|
||||
@@ -59,7 +59,7 @@
|
||||
|
||||
<LinearLayout
|
||||
android:orientation="horizontal"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
@@ -73,7 +73,7 @@
|
||||
|
||||
<LinearLayout
|
||||
android:orientation="horizontal"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
@@ -87,7 +87,7 @@
|
||||
|
||||
<LinearLayout
|
||||
android:orientation="horizontal"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
@@ -101,13 +101,13 @@
|
||||
|
||||
<!-- divider line -->
|
||||
<View android:background="#FFFFFFFF"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="3dip" />
|
||||
|
||||
<LinearLayout
|
||||
android:orientation="horizontal"
|
||||
android:paddingTop="4dip"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
<Button android:id="@+id/startScreenCycle"
|
||||
android:layout_width="wrap_content"
|
||||
@@ -121,7 +121,7 @@
|
||||
|
||||
<LinearLayout
|
||||
android:orientation="horizontal"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
@@ -135,7 +135,7 @@
|
||||
|
||||
<LinearLayout
|
||||
android:orientation="horizontal"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
@@ -149,7 +149,7 @@
|
||||
|
||||
<LinearLayout
|
||||
android:orientation="horizontal"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
@@ -163,13 +163,13 @@
|
||||
|
||||
<!-- divider line -->
|
||||
<View android:background="#FFFFFFFF"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="3dip" />
|
||||
|
||||
<LinearLayout
|
||||
android:orientation="horizontal"
|
||||
android:paddingTop="4dip"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
<Button android:id="@+id/start_mms"
|
||||
android:layout_width="wrap_content"
|
||||
@@ -182,7 +182,7 @@
|
||||
</LinearLayout>
|
||||
<LinearLayout
|
||||
android:orientation="horizontal"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
<Button android:id="@+id/start_hipri"
|
||||
android:layout_width="wrap_content"
|
||||
@@ -195,7 +195,7 @@
|
||||
</LinearLayout>
|
||||
<LinearLayout
|
||||
android:orientation="horizontal"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
<Button android:id="@+id/crash"
|
||||
android:layout_width="wrap_content"
|
||||
|
||||
@@ -18,12 +18,12 @@
|
||||
*/
|
||||
-->
|
||||
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent">
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent">
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<TextView android:id="@+id/debug_app_label"
|
||||
android:layout_width="wrap_content"
|
||||
@@ -76,7 +76,7 @@
|
||||
android:text="@string/development_settings_compatibility_mode_text" />
|
||||
|
||||
<Spinner android:id="@+id/max_procs"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@id/compatibility_mode"
|
||||
android:layout_alignParentLeft="true" />
|
||||
@@ -123,21 +123,21 @@
|
||||
android:text="@string/development_settings_show_sleep_text" />
|
||||
|
||||
<Spinner android:id="@+id/window_animation_scale"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@id/show_sleep"
|
||||
android:layout_alignParentLeft="true">
|
||||
</Spinner>
|
||||
|
||||
<Spinner android:id="@+id/transition_animation_scale"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@id/window_animation_scale"
|
||||
android:layout_alignParentLeft="true">
|
||||
</Spinner>
|
||||
|
||||
<Spinner android:id="@+id/font_hinting"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@id/transition_animation_scale"
|
||||
android:layout_alignParentLeft="true">
|
||||
|
||||
@@ -15,19 +15,19 @@
|
||||
-->
|
||||
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical"
|
||||
android:layout_width="fill_parent" android:layout_height="fill_parent">
|
||||
android:layout_width="match_parent" android:layout_height="match_parent">
|
||||
<com.android.development.UrlEditText android:id="@+id/url_edit_text"
|
||||
android:textSize="13sp"
|
||||
android:autoText="false"
|
||||
android:capitalize="none"
|
||||
android:layout_width="fill_parent" android:layout_height="wrap_content"/>
|
||||
android:layout_width="match_parent" android:layout_height="wrap_content"/>
|
||||
<com.android.development.DisplayEditText android:id="@+id/display_edit_text"
|
||||
android:textSize="13sp"
|
||||
android:autoText="false"
|
||||
android:capitalize="none"
|
||||
android:layout_width="fill_parent" android:layout_height="wrap_content"/>
|
||||
android:layout_width="match_parent" android:layout_height="wrap_content"/>
|
||||
<ListView android:id="@android:id/list"
|
||||
android:layout_width="fill_parent" android:layout_height="fill_parent"/>
|
||||
android:layout_width="match_parent" android:layout_height="match_parent"/>
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
|
||||
@@ -17,16 +17,16 @@
|
||||
<LinearLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:orientation="vertical"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent">
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<TextView android:id="@+id/accounts_tester_get_auth_token_dialog_message"
|
||||
android:layout_width="fill_parent" android:layout_height="wrap_content"
|
||||
android:layout_width="match_parent" android:layout_height="wrap_content"
|
||||
android:text="@string/accounts_tester_enter_auth_token_type" />
|
||||
|
||||
<EditText android:id="@+id/accounts_tester_auth_token_type"
|
||||
android:singleLine="true"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:minWidth="250dip"
|
||||
android:scrollHorizontally="true"
|
||||
|
||||
@@ -15,6 +15,6 @@
|
||||
-->
|
||||
|
||||
<com.android.development.LogTextBox xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/text"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
/>
|
||||
|
||||
@@ -15,11 +15,11 @@
|
||||
-->
|
||||
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView android:id="@+id/title" android:textSize="16sp" android:textStyle="bold"
|
||||
android:layout_width="fill_parent" android:layout_height="wrap_content" />
|
||||
android:layout_width="match_parent" android:layout_height="wrap_content" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
@@ -16,12 +16,12 @@
|
||||
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:orientation="vertical"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent">
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<LinearLayout
|
||||
android:orientation="horizontal"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingTop="10dip" >
|
||||
|
||||
@@ -32,14 +32,14 @@
|
||||
android:text="@string/monkey_screen_initial_activity_label" />
|
||||
|
||||
<Button android:id="@+id/initialActivity"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/monkey_screen_initialActivity_text" />
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:orientation="horizontal"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingTop="5dip" >
|
||||
|
||||
@@ -51,7 +51,7 @@
|
||||
|
||||
<EditText android:id="@+id/numberOfEvents"
|
||||
android:layout_marginLeft="2dip"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@android:drawable/editbox_background"
|
||||
android:numeric="integer"
|
||||
|
||||
@@ -15,6 +15,6 @@
|
||||
-->
|
||||
|
||||
<Button 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:background="@android:drawable/list_highlight"-->
|
||||
|
||||
@@ -18,14 +18,14 @@
|
||||
-->
|
||||
|
||||
<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:minHeight="?android:attr/listPreferredItemHeight"
|
||||
android:orientation="vertical"
|
||||
android:gravity="fill" >
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:orientation="horizontal"
|
||||
@@ -43,7 +43,7 @@
|
||||
|
||||
<LinearLayout
|
||||
android:orientation="vertical"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content" >
|
||||
<TextView android:id="@+id/name"
|
||||
android:layout_width="wrap_content"
|
||||
|
||||
@@ -15,21 +15,21 @@
|
||||
-->
|
||||
|
||||
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent">
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<LinearLayout
|
||||
android:orientation="vertical"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:padding="4dip" >
|
||||
|
||||
<TextView android:id="@+id/packageView"
|
||||
android:layout_width="fill_parent" android:layout_height="wrap_content"
|
||||
android:layout_width="match_parent" android:layout_height="wrap_content"
|
||||
android:textStyle="bold" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="fill_parent" android:layout_height="wrap_content"
|
||||
android:layout_width="match_parent" android:layout_height="wrap_content"
|
||||
android:orientation="horizontal"
|
||||
android:paddingTop="4dip"
|
||||
android:paddingBottom="6dip"
|
||||
@@ -44,29 +44,29 @@
|
||||
android:orientation="vertical">
|
||||
|
||||
<TextView android:id="@+id/classView"
|
||||
android:layout_width="fill_parent" android:layout_height="wrap_content" />
|
||||
android:layout_width="match_parent" android:layout_height="wrap_content" />
|
||||
|
||||
<TextView android:id="@+id/label"
|
||||
android:layout_width="fill_parent" android:layout_height="wrap_content" />
|
||||
android:layout_width="match_parent" android:layout_height="wrap_content" />
|
||||
|
||||
<TextView android:id="@+id/disabled"
|
||||
android:layout_width="fill_parent" android:layout_height="wrap_content"
|
||||
android:layout_width="match_parent" android:layout_height="wrap_content"
|
||||
android:text="@string/disabled" />
|
||||
|
||||
<TextView android:id="@+id/system"
|
||||
android:layout_width="fill_parent" android:layout_height="wrap_content"
|
||||
android:layout_width="match_parent" android:layout_height="wrap_content"
|
||||
android:text="@string/system" />
|
||||
|
||||
<TextView android:id="@+id/debuggable"
|
||||
android:layout_width="fill_parent" android:layout_height="wrap_content"
|
||||
android:layout_width="match_parent" android:layout_height="wrap_content"
|
||||
android:text="@string/debuggable" />
|
||||
|
||||
<TextView android:id="@+id/nocode"
|
||||
android:layout_width="fill_parent" android:layout_height="wrap_content"
|
||||
android:layout_width="match_parent" android:layout_height="wrap_content"
|
||||
android:text="@string/nocode" />
|
||||
|
||||
<TextView android:id="@+id/persistent"
|
||||
android:layout_width="fill_parent" android:layout_height="wrap_content"
|
||||
android:layout_width="match_parent" android:layout_height="wrap_content"
|
||||
android:text="@string/persistent" />
|
||||
|
||||
</LinearLayout>
|
||||
@@ -80,46 +80,46 @@
|
||||
</LinearLayout>
|
||||
|
||||
<TextView style="@style/SummaryCategoryLayout"
|
||||
android:layout_width="fill_parent" android:layout_height="wrap_content"
|
||||
android:layout_width="match_parent" android:layout_height="wrap_content"
|
||||
android:textStyle="bold" android:text="@string/package_summary_process_label" />
|
||||
|
||||
<TextView android:id="@+id/process"
|
||||
android:layout_width="fill_parent" android:layout_height="wrap_content" />
|
||||
android:layout_width="match_parent" android:layout_height="wrap_content" />
|
||||
|
||||
<TextView style="@style/SummaryCategoryLayout"
|
||||
android:layout_width="fill_parent" android:layout_height="wrap_content"
|
||||
android:layout_width="match_parent" android:layout_height="wrap_content"
|
||||
android:textStyle="bold" android:text="@string/package_summary_uid_label" />
|
||||
|
||||
<TextView android:id="@+id/uid"
|
||||
android:layout_width="fill_parent" android:layout_height="wrap_content" />
|
||||
android:layout_width="match_parent" android:layout_height="wrap_content" />
|
||||
|
||||
<TextView style="@style/SummaryCategoryLayout"
|
||||
android:layout_width="fill_parent" android:layout_height="wrap_content"
|
||||
android:layout_width="match_parent" android:layout_height="wrap_content"
|
||||
android:textStyle="bold" android:text="@string/package_summary_task_label" />
|
||||
|
||||
<TextView android:id="@+id/task"
|
||||
android:layout_width="fill_parent" android:layout_height="wrap_content" />
|
||||
android:layout_width="match_parent" android:layout_height="wrap_content" />
|
||||
|
||||
<TextView style="@style/SummaryCategoryLayout"
|
||||
android:layout_width="fill_parent" android:layout_height="wrap_content"
|
||||
android:layout_width="match_parent" android:layout_height="wrap_content"
|
||||
android:textStyle="bold" android:text="@string/package_summary_version_label" />
|
||||
|
||||
<TextView android:id="@+id/version"
|
||||
android:layout_width="fill_parent" android:layout_height="wrap_content" />
|
||||
android:layout_width="match_parent" android:layout_height="wrap_content" />
|
||||
|
||||
<TextView style="@style/SummaryCategoryLayout"
|
||||
android:layout_width="fill_parent" android:layout_height="wrap_content"
|
||||
android:layout_width="match_parent" android:layout_height="wrap_content"
|
||||
android:textStyle="bold" android:text="@string/package_summary_source_label" />
|
||||
|
||||
<TextView android:id="@+id/source"
|
||||
android:layout_width="fill_parent" android:layout_height="wrap_content" />
|
||||
android:layout_width="match_parent" android:layout_height="wrap_content" />
|
||||
|
||||
<TextView style="@style/SummaryCategoryLayout"
|
||||
android:layout_width="fill_parent" android:layout_height="wrap_content"
|
||||
android:layout_width="match_parent" android:layout_height="wrap_content"
|
||||
android:textStyle="bold" android:text="@string/package_summary_data_label" />
|
||||
|
||||
<TextView android:id="@+id/data"
|
||||
android:layout_width="fill_parent" android:layout_height="wrap_content" />
|
||||
android:layout_width="match_parent" android:layout_height="wrap_content" />
|
||||
|
||||
<LinearLayout android:id="@+id/activities" style="@style/SummaryCategoryLayout">
|
||||
<TextView style="@style/SummaryCategoryHeader"
|
||||
|
||||
@@ -16,16 +16,16 @@
|
||||
|
||||
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:fillViewport="true"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent">
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<LinearLayout android:orientation="vertical"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:padding="4dip" >
|
||||
|
||||
<LinearLayout android:orientation="horizontal"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="4dip" >
|
||||
<TextView android:id="@+id/perm_name_label"
|
||||
@@ -39,7 +39,7 @@
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout android:orientation="horizontal"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="4dip" >
|
||||
<TextView android:id="@+id/perm_desc_label"
|
||||
@@ -53,7 +53,7 @@
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout android:orientation="horizontal"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="4dip" >
|
||||
<TextView android:id="@+id/perm_group_label"
|
||||
@@ -67,7 +67,7 @@
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout android:orientation="horizontal"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="4dip" >
|
||||
<TextView android:id="@+id/perm_protection_label"
|
||||
@@ -81,7 +81,7 @@
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout android:orientation="horizontal"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="4dip" >
|
||||
<TextView android:id="@+id/perm_source_label"
|
||||
@@ -95,7 +95,7 @@
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout android:orientation="horizontal"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="4dip" >
|
||||
<TextView android:id="@+id/source_uid_label"
|
||||
@@ -109,7 +109,7 @@
|
||||
</LinearLayout>
|
||||
<LinearLayout android:id="@+id/shared_pkgs_panel"
|
||||
android:orientation="vertical"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="4dip" >
|
||||
<TextView android:id="@+id/shared_pkgs_label"
|
||||
@@ -128,7 +128,7 @@
|
||||
android:text="@string/perm_list_header_text"
|
||||
android:textStyle="bold" />
|
||||
<ListView android:id="@android:id/list"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"/>
|
||||
</LinearLayout>
|
||||
</ScrollView>
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
-->
|
||||
|
||||
<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:minHeight="?android:attr/listPreferredItemHeight"
|
||||
android:orientation="horizontal"
|
||||
|
||||
@@ -15,31 +15,31 @@
|
||||
-->
|
||||
|
||||
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent">
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<LinearLayout
|
||||
android:orientation="vertical"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:padding="4dip" >
|
||||
|
||||
<TextView android:id="@+id/process_name_header"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/process_name_header"
|
||||
android:textStyle="bold" />
|
||||
<TextView android:id="@+id/process_name"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content" />
|
||||
<TextView android:id="@+id/package_list_header"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/package_list_header"
|
||||
android:textStyle="bold" />
|
||||
|
||||
<LinearLayout android:id="@+id/package_list"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
android:paddingTop="4dip"
|
||||
|
||||
@@ -19,20 +19,20 @@
|
||||
-->
|
||||
|
||||
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent">
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="fill_parent" android:layout_height="fill_parent"
|
||||
android:layout_width="match_parent" android:layout_height="match_parent"
|
||||
android:orientation="vertical"
|
||||
android:paddingTop="8dip" android:paddingLeft="2dip" android:paddingRight="2dip" >
|
||||
|
||||
<TextView android:id="@+id/packageView"
|
||||
android:layout_width="fill_parent" android:layout_height="wrap_content"
|
||||
android:layout_width="match_parent" android:layout_height="wrap_content"
|
||||
android:textStyle="bold" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="fill_parent" android:layout_height="wrap_content"
|
||||
android:layout_width="match_parent" android:layout_height="wrap_content"
|
||||
android:orientation="horizontal"
|
||||
android:paddingTop="4dip"
|
||||
android:paddingBottom="6dip" >
|
||||
@@ -42,63 +42,63 @@
|
||||
android:paddingRight="8dip" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="fill_parent" android:layout_height="wrap_content"
|
||||
android:layout_width="match_parent" android:layout_height="wrap_content"
|
||||
android:orientation="vertical">
|
||||
|
||||
<TextView android:id="@+id/classView"
|
||||
android:layout_width="fill_parent" android:layout_height="wrap_content" />
|
||||
android:layout_width="match_parent" android:layout_height="wrap_content" />
|
||||
|
||||
<TextView android:id="@+id/label"
|
||||
android:layout_width="fill_parent" android:layout_height="wrap_content" />
|
||||
android:layout_width="match_parent" android:layout_height="wrap_content" />
|
||||
|
||||
<TextView android:id="@+id/launch"
|
||||
android:layout_width="fill_parent" android:layout_height="wrap_content" />
|
||||
android:layout_width="match_parent" android:layout_height="wrap_content" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<TextView style="@style/SummaryCategoryLayout"
|
||||
android:layout_width="fill_parent" android:layout_height="wrap_content"
|
||||
android:layout_width="match_parent" android:layout_height="wrap_content"
|
||||
android:textStyle="bold" android:text="@string/show_activity_process_label" />
|
||||
|
||||
<TextView android:id="@+id/process"
|
||||
android:layout_width="fill_parent" android:layout_height="wrap_content" />
|
||||
android:layout_width="match_parent" android:layout_height="wrap_content" />
|
||||
|
||||
<TextView style="@style/SummaryCategoryLayout"
|
||||
android:layout_width="fill_parent" android:layout_height="wrap_content"
|
||||
android:layout_width="match_parent" android:layout_height="wrap_content"
|
||||
android:textStyle="bold" android:text="@string/show_activity_task_affinity_label" />
|
||||
|
||||
<TextView android:id="@+id/taskAffinity"
|
||||
android:layout_width="fill_parent" android:layout_height="wrap_content" />
|
||||
android:layout_width="match_parent" android:layout_height="wrap_content" />
|
||||
|
||||
<TextView style="@style/SummaryCategoryLayout"
|
||||
android:layout_width="fill_parent" android:layout_height="wrap_content"
|
||||
android:layout_width="match_parent" android:layout_height="wrap_content"
|
||||
android:textStyle="bold" android:text="@string/show_activity_required_permission_label" />
|
||||
|
||||
<TextView android:id="@+id/permission"
|
||||
android:layout_width="fill_parent" android:layout_height="wrap_content" />
|
||||
android:layout_width="match_parent" android:layout_height="wrap_content" />
|
||||
|
||||
<TextView style="@style/SummaryCategoryLayout"
|
||||
android:layout_width="fill_parent" android:layout_height="wrap_content"
|
||||
android:layout_width="match_parent" android:layout_height="wrap_content"
|
||||
android:textStyle="bold" android:text="@string/show_activity_multiprocess_label" />
|
||||
|
||||
<TextView android:id="@+id/multiprocess"
|
||||
android:layout_width="fill_parent" android:layout_height="wrap_content" />
|
||||
android:layout_width="match_parent" android:layout_height="wrap_content" />
|
||||
|
||||
<TextView style="@style/SummaryCategoryLayout"
|
||||
android:layout_width="fill_parent" android:layout_height="wrap_content"
|
||||
android:layout_width="match_parent" android:layout_height="wrap_content"
|
||||
android:textStyle="bold" android:text="@string/show_activity_clear_on_background_label" />
|
||||
|
||||
<TextView android:id="@+id/clearOnBackground"
|
||||
android:layout_width="fill_parent" android:layout_height="wrap_content" />
|
||||
android:layout_width="match_parent" android:layout_height="wrap_content" />
|
||||
|
||||
<TextView style="@style/SummaryCategoryLayout"
|
||||
android:layout_width="fill_parent" android:layout_height="wrap_content"
|
||||
android:layout_width="match_parent" android:layout_height="wrap_content"
|
||||
android:textStyle="bold" android:text="@string/show_activity_state_not_needed_label" />
|
||||
|
||||
<TextView android:id="@+id/stateNotNeeded"
|
||||
android:layout_width="fill_parent" android:layout_height="wrap_content" />
|
||||
android:layout_width="match_parent" android:layout_height="wrap_content" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
@@ -17,11 +17,11 @@
|
||||
<LinearLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:orientation="vertical"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent">
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<LinearLayout android:orientation="vertical"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
<TextView android:id="@+id/sync_adapters_spinner_label"
|
||||
android:layout_width="wrap_content"
|
||||
@@ -34,7 +34,7 @@
|
||||
android:layout_height="wrap_content"/>
|
||||
<LinearLayout
|
||||
android:orientation="horizontal"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="52dip">
|
||||
<Button
|
||||
android:id="@+id/bind_button"
|
||||
@@ -60,7 +60,7 @@
|
||||
|
||||
<LinearLayout
|
||||
android:orientation="horizontal"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="52dip">
|
||||
<Button
|
||||
android:id="@+id/start_sync_button"
|
||||
|
||||
@@ -21,6 +21,6 @@
|
||||
android:id="@android:id/text1"
|
||||
style="?android:attr/spinnerItemStyle"
|
||||
android:singleLine="true"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="52dip"
|
||||
android:ellipsize="marquee" />
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
-->
|
||||
|
||||
<TextView xmlns:android="http://schemas.android.com/apk/res/android" android:id="@android:id/text1"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:textColor="#FF000000"
|
||||
android:textSize="13sp"
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
|
||||
<resources>
|
||||
<style name="SummaryCategoryLayout">
|
||||
<item name="android:layout_width">fill_parent</item>
|
||||
<item name="android:layout_width">match_parent</item>
|
||||
<item name="android:layout_height">wrap_content</item>
|
||||
<item name="android:orientation">vertical</item>
|
||||
</style>
|
||||
@@ -34,8 +34,8 @@
|
||||
<item name="android:paddingTop">10dip</item>
|
||||
<item name="android:paddingRight">10dip</item>
|
||||
<item name="android:paddingBottom">10dip</item>
|
||||
<item name="android:layout_width">fill_parent</item>
|
||||
<item name="android:layout_height">fill_parent</item>
|
||||
<item name="android:layout_width">match_parent</item>
|
||||
<item name="android:layout_height">match_parent</item>
|
||||
</style>
|
||||
<style name="entry_layout">
|
||||
<item name="android:orientation">horizontal</item>
|
||||
|
||||
@@ -27,7 +27,6 @@ import android.widget.ScrollView;
|
||||
import android.os.Bundle;
|
||||
import android.view.Menu;
|
||||
import android.view.MenuItem;
|
||||
import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
import android.widget.TextView;
|
||||
|
||||
@@ -75,8 +74,8 @@ public class Details extends Activity
|
||||
}
|
||||
mLinearLayout = new LinearLayout(this);
|
||||
mScrollView.addView(mLinearLayout, new ViewGroup.LayoutParams(
|
||||
ViewGroup.LayoutParams.FILL_PARENT,
|
||||
ViewGroup.LayoutParams.FILL_PARENT));
|
||||
ViewGroup.LayoutParams.MATCH_PARENT,
|
||||
ViewGroup.LayoutParams.MATCH_PARENT));
|
||||
mLinearLayout.setOrientation(LinearLayout.VERTICAL);
|
||||
|
||||
// Here in onStart, we're given data. We use that because some
|
||||
@@ -109,7 +108,7 @@ public class Details extends Activity
|
||||
|
||||
LinearLayout.LayoutParams lazy()
|
||||
{
|
||||
return new LinearLayout.LayoutParams(ViewGroup.LayoutParams.FILL_PARENT,
|
||||
return new LinearLayout.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT,
|
||||
ViewGroup.LayoutParams.WRAP_CONTENT, 0);
|
||||
}
|
||||
|
||||
|
||||
@@ -16,14 +16,14 @@
|
||||
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@+id/content"
|
||||
android:layout_width="fill_parent" android:layout_height="fill_parent"
|
||||
android:layout_width="match_parent" android:layout_height="match_parent"
|
||||
android:orientation="vertical"
|
||||
android:paddingLeft="4dip" android:paddingRight="4dip"
|
||||
android:paddingTop="4dip" android:paddingBottom="4dip">
|
||||
|
||||
<TextView android:id="@+id/column1" android:layout_width="fill_parent" android:layout_height="0dip" android:layout_weight="1"
|
||||
<TextView android:id="@+id/column1" android:layout_width="match_parent" android:layout_height="0dip" android:layout_weight="1"
|
||||
android:layout_marginBottom="8dip" />
|
||||
<TextView android:id="@+id/column2" android:layout_width="fill_parent" android:layout_height="0dip" android:layout_weight="1" />
|
||||
<TextView android:id="@+id/column2" android:layout_width="match_parent" android:layout_height="0dip" android:layout_weight="1" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
@@ -17,13 +17,13 @@
|
||||
<LinearLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
|
||||
android:orientation="vertical">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
|
||||
android:orientation="horizontal">
|
||||
@@ -49,7 +49,7 @@
|
||||
|
||||
<android.gesture.GestureOverlayView
|
||||
android:id="@+id/gestures_overlay"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0dip"
|
||||
android:layout_weight="1.0"
|
||||
|
||||
@@ -58,7 +58,7 @@
|
||||
<LinearLayout
|
||||
style="@android:style/ButtonBar"
|
||||
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
|
||||
android:orientation="horizontal">
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
-->
|
||||
|
||||
<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:padding="20dip"
|
||||
android:orientation="vertical">
|
||||
@@ -31,7 +31,7 @@
|
||||
<EditText
|
||||
android:id="@+id/name"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:scrollHorizontally="true"
|
||||
android:autoText="false"
|
||||
android:capitalize="none"
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
|
||||
<TextView xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@android:id/text1"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
|
||||
android:gravity="center_vertical"
|
||||
|
||||
@@ -16,21 +16,21 @@
|
||||
<LinearLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
|
||||
android:orientation="vertical">
|
||||
|
||||
<ListView
|
||||
android:id="@android:id/list"
|
||||
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0dip"
|
||||
android:layout_weight="1.0" />
|
||||
|
||||
<TextView
|
||||
android:id="@android:id/empty"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0dip"
|
||||
android:layout_weight="1.0"
|
||||
|
||||
@@ -42,7 +42,7 @@
|
||||
<LinearLayout
|
||||
style="@android:style/ButtonBar"
|
||||
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
|
||||
android:orientation="horizontal">
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@+id/content"
|
||||
android:layout_width="fill_parent" android:layout_height="fill_parent"
|
||||
android:layout_width="match_parent" android:layout_height="match_parent"
|
||||
android:orientation="vertical"
|
||||
android:paddingLeft="4dip" android:paddingRight="4dip"
|
||||
android:paddingTop="4dip" android:paddingBottom="4dip">
|
||||
|
||||
@@ -18,21 +18,21 @@
|
||||
*/
|
||||
-->
|
||||
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent">
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent">
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<Spinner android:id="@+id/window_animation_scale"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentLeft="true">
|
||||
</Spinner>
|
||||
|
||||
<Spinner android:id="@+id/transition_animation_scale"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@id/window_animation_scale"
|
||||
android:layout_alignParentLeft="true">
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
-->
|
||||
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical">
|
||||
|
||||
<com.android.term.EmulatorView android:id="@+id/emulatorView"
|
||||
|
||||
@@ -23,36 +23,36 @@
|
||||
-->
|
||||
|
||||
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent">
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<!-- <TabHost
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="200dip">
|
||||
</TabHost>
|
||||
|
||||
<GridView
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="200dip"
|
||||
android:numColumns="5">
|
||||
</GridView> -->
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="200dip"
|
||||
android:orientation="vertical">
|
||||
|
||||
<TextView
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/header_absolute"/>
|
||||
|
||||
<AbsoluteLayout
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<TextView
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_x="0dip"
|
||||
android:layout_y="0dip"
|
||||
@@ -175,12 +175,12 @@
|
||||
</AbsoluteLayout>
|
||||
|
||||
<TextView
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/header_relative"/>
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<Button android:id="@+id/relative_button1"
|
||||
@@ -238,17 +238,17 @@
|
||||
</RelativeLayout>
|
||||
|
||||
<TextView
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/header_linear"/>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal">
|
||||
|
||||
@@ -272,11 +272,11 @@
|
||||
</LinearLayout>
|
||||
|
||||
<EditText
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"/>
|
||||
|
||||
<TextView
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@color/blue"
|
||||
android:text="@string/test_long_paragraph"/>
|
||||
|
||||
@@ -26,28 +26,28 @@
|
||||
a row, here set to be vertical (so the first is at the top) -->
|
||||
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical">
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent">
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
|
||||
<RelativeLayout android:id="@+id/replay_pane"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentBottom="True"
|
||||
android:background="@color/replay_background">
|
||||
|
||||
<TextView android:id="@+id/instructions"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/response" />
|
||||
|
||||
<EditText android:id="@+id/entry"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="44dip"
|
||||
android:layout_below="@id/instructions"/>
|
||||
|
||||
@@ -68,13 +68,13 @@
|
||||
</RelativeLayout>
|
||||
|
||||
<ScrollView android:id="@+id/scroll_pane"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_above="@id/replay_pane">
|
||||
|
||||
<TextView android:id="@+id/text_field"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:text="@string/text"/>
|
||||
|
||||
<requestFocus/>
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:orientation="vertical"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
>
|
||||
<TextView
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="Hello World, DemoActivity"
|
||||
/>
|
||||
|
||||
@@ -19,10 +19,10 @@
|
||||
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:padding="4dip"
|
||||
android:gravity="center_horizontal"
|
||||
android:layout_width="fill_parent" android:layout_height="fill_parent">
|
||||
android:layout_width="match_parent" android:layout_height="match_parent">
|
||||
|
||||
<TextView
|
||||
android:layout_width="fill_parent" android:layout_height="wrap_content"
|
||||
android:layout_width="match_parent" android:layout_height="wrap_content"
|
||||
android:layout_weight="0"
|
||||
android:paddingBottom="4dip"
|
||||
android:text="@string/activity_animation_msg"/>
|
||||
|
||||
@@ -19,10 +19,10 @@
|
||||
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:padding="4dip"
|
||||
android:gravity="center_horizontal"
|
||||
android:layout_width="fill_parent" android:layout_height="fill_parent">
|
||||
android:layout_width="match_parent" android:layout_height="match_parent">
|
||||
|
||||
<TextView
|
||||
android:layout_width="fill_parent" android:layout_height="wrap_content"
|
||||
android:layout_width="match_parent" android:layout_height="wrap_content"
|
||||
android:layout_weight="0"
|
||||
android:paddingBottom="4dip"
|
||||
android:text="@string/alarm_controller"/>
|
||||
|
||||
@@ -19,10 +19,10 @@
|
||||
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:padding="4dip"
|
||||
android:gravity="center_horizontal"
|
||||
android:layout_width="fill_parent" android:layout_height="fill_parent">
|
||||
android:layout_width="match_parent" android:layout_height="match_parent">
|
||||
|
||||
<TextView
|
||||
android:layout_width="fill_parent" android:layout_height="wrap_content"
|
||||
android:layout_width="match_parent" android:layout_height="wrap_content"
|
||||
android:layout_weight="0"
|
||||
android:paddingBottom="4dip"
|
||||
android:text="@string/alarm_service"/>
|
||||
|
||||
@@ -18,34 +18,34 @@
|
||||
See corresponding Java code com.example.android.apis.app.AlertDialogSamples.java. -->
|
||||
|
||||
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/screen"
|
||||
android:layout_width="fill_parent" android:layout_height="fill_parent"
|
||||
android:layout_width="match_parent" android:layout_height="match_parent"
|
||||
android:orientation="vertical">
|
||||
<LinearLayout
|
||||
android:layout_width="fill_parent" android:layout_height="fill_parent"
|
||||
android:layout_width="match_parent" android:layout_height="match_parent"
|
||||
android:orientation="vertical">
|
||||
<Button android:id="@+id/two_buttons"
|
||||
android:layout_width="fill_parent" android:layout_height="wrap_content"
|
||||
android:layout_width="match_parent" android:layout_height="wrap_content"
|
||||
android:text="@string/alert_dialog_two_buttons"/>
|
||||
<Button android:id="@+id/two_buttons2"
|
||||
android:layout_width="fill_parent" android:layout_height="wrap_content"
|
||||
android:layout_width="match_parent" android:layout_height="wrap_content"
|
||||
android:text="@string/alert_dialog_two_buttons2"/>
|
||||
<Button android:id="@+id/select_button"
|
||||
android:layout_width="fill_parent" android:layout_height="wrap_content"
|
||||
android:layout_width="match_parent" android:layout_height="wrap_content"
|
||||
android:text="@string/alert_dialog_select_button"/>
|
||||
<Button android:id="@+id/progress_button"
|
||||
android:layout_width="fill_parent" android:layout_height="wrap_content"
|
||||
android:layout_width="match_parent" android:layout_height="wrap_content"
|
||||
android:text="@string/alert_dialog_progress_button"/>
|
||||
<Button android:id="@+id/radio_button"
|
||||
android:layout_width="fill_parent" android:layout_height="wrap_content"
|
||||
android:layout_width="match_parent" android:layout_height="wrap_content"
|
||||
android:text="@string/alert_dialog_single_choice"/>
|
||||
<Button android:id="@+id/checkbox_button"
|
||||
android:layout_width="fill_parent" android:layout_height="wrap_content"
|
||||
android:layout_width="match_parent" android:layout_height="wrap_content"
|
||||
android:text="@string/alert_dialog_multi_choice"/>
|
||||
<Button android:id="@+id/checkbox_button2"
|
||||
android:layout_width="fill_parent" android:layout_height="wrap_content"
|
||||
android:layout_width="match_parent" android:layout_height="wrap_content"
|
||||
android:text="@string/alert_dialog_multi_choice_cursor"/>
|
||||
<Button android:id="@+id/text_entry_button"
|
||||
android:layout_width="fill_parent" android:layout_height="wrap_content"
|
||||
android:layout_width="match_parent" android:layout_height="wrap_content"
|
||||
android:text="@string/alert_dialog_text_entry"/>
|
||||
</LinearLayout>
|
||||
</ScrollView>
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
-->
|
||||
|
||||
<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:orientation="vertical">
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
<EditText
|
||||
android:id="@+id/username_edit"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_marginLeft="20dip"
|
||||
android:layout_marginRight="20dip"
|
||||
android:scrollHorizontally="true"
|
||||
@@ -54,7 +54,7 @@
|
||||
<EditText
|
||||
android:id="@+id/password_edit"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_marginLeft="20dip"
|
||||
android:layout_marginRight="20dip"
|
||||
android:scrollHorizontally="true"
|
||||
|
||||
@@ -17,18 +17,18 @@
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:orientation="vertical"
|
||||
android:padding="10dip"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<TextView
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginBottom="10dip"
|
||||
android:text="@string/animation_1_instructions"
|
||||
/>
|
||||
|
||||
<EditText android:id="@+id/pw"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:clickable="true"
|
||||
android:singleLine="true"
|
||||
|
||||
@@ -17,34 +17,34 @@
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:orientation="vertical"
|
||||
android:padding="10dip"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<ViewFlipper android:id="@+id/flipper"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:flipInterval="2000"
|
||||
android:layout_marginBottom="20dip" >
|
||||
<TextView
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center_horizontal"
|
||||
android:textSize="26sp"
|
||||
android:text="@string/animation_2_text_1"/>
|
||||
<TextView
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center_horizontal"
|
||||
android:textSize="26sp"
|
||||
android:text="@string/animation_2_text_2"/>
|
||||
<TextView
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center_horizontal"
|
||||
android:textSize="26sp"
|
||||
android:text="@string/animation_2_text_3"/>
|
||||
<TextView
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center_horizontal"
|
||||
android:textSize="26sp"
|
||||
@@ -52,14 +52,14 @@
|
||||
</ViewFlipper>
|
||||
|
||||
<TextView
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginBottom="5dip"
|
||||
android:text="@string/animation_2_instructions"
|
||||
/>
|
||||
|
||||
<Spinner android:id="@+id/spinner"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
/>
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:orientation="vertical"
|
||||
android:padding="10dip"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:clipToPadding="false">
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
android:text="@string/animation_3_text"/>
|
||||
|
||||
<TextView
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="20dip"
|
||||
android:layout_marginBottom="5dip"
|
||||
@@ -37,7 +37,7 @@
|
||||
|
||||
<Spinner
|
||||
android:id="@+id/spinner"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
@@ -16,21 +16,21 @@
|
||||
|
||||
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@+id/container"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent">
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<ListView
|
||||
android:id="@android:id/list"
|
||||
android:persistentDrawingCache="animation|scrolling"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layoutAnimation="@anim/layout_bottom_to_top_slide" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/picture"
|
||||
android:scaleType="fitCenter"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:visibility="gone" />
|
||||
|
||||
</FrameLayout>
|
||||
|
||||
@@ -15,20 +15,20 @@
|
||||
-->
|
||||
|
||||
<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:orientation="vertical"
|
||||
>
|
||||
|
||||
<TextView
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/appwidget_configure_instructions"
|
||||
/>
|
||||
|
||||
<EditText
|
||||
android:id="@+id/appwidget_prefix"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
/>
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:orientation="vertical"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<TextView
|
||||
@@ -26,7 +26,7 @@
|
||||
|
||||
<LinearLayout
|
||||
android:orientation="horizontal"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<TextView
|
||||
@@ -35,7 +35,7 @@
|
||||
android:text="@string/autocomplete_1_country" />
|
||||
|
||||
<AutoCompleteTextView android:id="@+id/edit"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:orientation="vertical"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:gravity="bottom">
|
||||
|
||||
<Button
|
||||
@@ -27,7 +27,7 @@
|
||||
|
||||
<LinearLayout
|
||||
android:orientation="horizontal"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<TextView
|
||||
@@ -36,7 +36,7 @@
|
||||
android:text="@string/autocomplete_2_country" />
|
||||
|
||||
<AutoCompleteTextView android:id="@+id/edit"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
@@ -15,12 +15,12 @@
|
||||
-->
|
||||
|
||||
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent">
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<LinearLayout
|
||||
android:orientation="vertical"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<Button
|
||||
@@ -105,7 +105,7 @@
|
||||
|
||||
<LinearLayout
|
||||
android:orientation="horizontal"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<TextView
|
||||
@@ -114,7 +114,7 @@
|
||||
android:text="@string/autocomplete_3_country" />
|
||||
|
||||
<AutoCompleteTextView android:id="@+id/edit"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content" />
|
||||
|
||||
</LinearLayout>
|
||||
@@ -146,7 +146,7 @@
|
||||
|
||||
<LinearLayout
|
||||
android:orientation="horizontal"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<TextView
|
||||
@@ -155,7 +155,7 @@
|
||||
android:text="@string/autocomplete_3_country" />
|
||||
|
||||
<AutoCompleteTextView android:id="@+id/edit2"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:orientation="vertical"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<TextView
|
||||
@@ -26,7 +26,7 @@
|
||||
|
||||
<LinearLayout
|
||||
android:orientation="horizontal"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<TextView
|
||||
@@ -36,7 +36,7 @@
|
||||
|
||||
<AutoCompleteTextView android:id="@+id/edit"
|
||||
android:completionThreshold="1"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:orientation="vertical"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<TextView
|
||||
@@ -26,7 +26,7 @@
|
||||
|
||||
<LinearLayout
|
||||
android:orientation="horizontal"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<TextView
|
||||
@@ -37,7 +37,7 @@
|
||||
<AutoCompleteTextView android:id="@+id/edit"
|
||||
android:completionThreshold="1"
|
||||
android:completionHint="@string/autocomplete_5_hint"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:orientation="vertical"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<TextView
|
||||
@@ -26,7 +26,7 @@
|
||||
|
||||
<LinearLayout
|
||||
android:orientation="horizontal"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<TextView
|
||||
@@ -35,7 +35,7 @@
|
||||
android:text="@string/autocomplete_7_country" />
|
||||
|
||||
<MultiAutoCompleteTextView android:id="@+id/edit"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:orientation="horizontal"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<TextView
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:orientation="horizontal"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent">
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:orientation="vertical"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent">
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
@@ -26,7 +26,7 @@
|
||||
|
||||
<LinearLayout
|
||||
android:orientation="horizontal"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_weight="1.0"
|
||||
android:layout_height="0dip">
|
||||
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:orientation="horizontal"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent">
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
|
||||
@@ -15,12 +15,12 @@
|
||||
-->
|
||||
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent">
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<EditText android:id="@+id/anchor"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:textSize="20sp"
|
||||
android:text="@string/baseline_6_multi_line" />
|
||||
|
||||
|
||||
@@ -15,8 +15,8 @@
|
||||
-->
|
||||
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent">
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<TextView android:id="@+id/anchor"
|
||||
android:layout_width="wrap_content"
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:orientation="horizontal"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent">
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:orientation="horizontal"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent">
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:orientation="horizontal"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent">
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
|
||||
<!-- Lots of buttons = need scrolling -->
|
||||
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent">
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="wrap_content"
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:padding="4dip"
|
||||
android:gravity="center_horizontal"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent">
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<Chronometer android:id="@+id/chronometer"
|
||||
android:format="@string/chronometer_initial_format"
|
||||
|
||||
@@ -19,10 +19,10 @@
|
||||
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:padding="4dip"
|
||||
android:gravity="center_horizontal"
|
||||
android:layout_width="fill_parent" android:layout_height="fill_parent">
|
||||
android:layout_width="match_parent" android:layout_height="match_parent">
|
||||
|
||||
<TextView
|
||||
android:layout_width="fill_parent" android:layout_height="wrap_content"
|
||||
android:layout_width="match_parent" android:layout_height="wrap_content"
|
||||
android:layout_weight="0"
|
||||
android:paddingBottom="4dip"
|
||||
android:text="@string/contacts_filter"/>
|
||||
|
||||
@@ -16,12 +16,12 @@
|
||||
|
||||
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:orientation="vertical"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent">
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<LinearLayout
|
||||
android:orientation="vertical"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<Button android:id="@+id/button"
|
||||
@@ -30,7 +30,7 @@
|
||||
android:layout_height="wrap_content"/>
|
||||
|
||||
<EditText android:id="@+id/edit"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"/>
|
||||
|
||||
<CheckBox android:id="@+id/check1"
|
||||
@@ -46,7 +46,7 @@
|
||||
android:text="@string/controls_1_checkbox_2" />
|
||||
|
||||
<RadioGroup
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical">
|
||||
|
||||
@@ -77,13 +77,13 @@
|
||||
android:layout_height="wrap_content" />
|
||||
|
||||
<Spinner android:id="@+id/spinner1"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:drawSelectorOnTop="true"
|
||||
/>
|
||||
|
||||
<TextView
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="5dip"
|
||||
android:text="@string/textColorPrimary"
|
||||
@@ -92,7 +92,7 @@
|
||||
/>
|
||||
|
||||
<TextView
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="5dip"
|
||||
android:text="@string/textColorSecondary"
|
||||
@@ -102,7 +102,7 @@
|
||||
/>
|
||||
|
||||
<TextView
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="5dip"
|
||||
android:text="@string/textColorTertiary"
|
||||
|
||||
@@ -19,6 +19,6 @@
|
||||
|
||||
<!-- This screen consists of a single text field that displays some text. -->
|
||||
<TextView xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/text"
|
||||
android:layout_width="fill_parent" android:layout_height="fill_parent"
|
||||
android:layout_width="match_parent" android:layout_height="match_parent"
|
||||
android:gravity="center_vertical|center_horizontal"
|
||||
android:text="@string/custom_dialog_activity_text"/>
|
||||
|
||||
@@ -19,10 +19,10 @@
|
||||
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@+id/screen"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical">
|
||||
<LinearLayout android:layout_width="fill_parent"
|
||||
<LinearLayout android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:baselineAligned="false">
|
||||
<EditText android:id="@+id/left_text_edit"
|
||||
@@ -38,7 +38,7 @@
|
||||
android:layout_gravity="center_vertical"
|
||||
android:text="@string/custom_title_left_button"/>
|
||||
</LinearLayout>
|
||||
<LinearLayout android:layout_width="fill_parent"
|
||||
<LinearLayout android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:baselineAligned="false">
|
||||
<EditText android:id="@+id/right_text_edit"
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
See corresponding Java code com.example.android.apis.app.CustomTitle.java. -->
|
||||
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/screen"
|
||||
android:layout_width="fill_parent" android:layout_height="fill_parent"
|
||||
android:layout_width="match_parent" android:layout_height="match_parent"
|
||||
android:orientation="vertical">
|
||||
<TextView android:id="@+id/left_text"
|
||||
android:layout_width="wrap_content"
|
||||
|
||||
@@ -19,24 +19,24 @@
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res/com.example.android.apis"
|
||||
android:orientation="vertical"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<com.example.android.apis.view.LabelView
|
||||
android:background="@drawable/red"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
app:text="Red"/>
|
||||
|
||||
<com.example.android.apis.view.LabelView
|
||||
android:background="@drawable/blue"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
app:text="Blue" app:textSize="20dp"/>
|
||||
|
||||
<com.example.android.apis.view.LabelView
|
||||
android:background="@drawable/green"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
app:text="Green" app:textColor="#ffffffff" />
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
|
||||
<TimePicker android:id="@+id/timePicker"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_width="fill_parent"/>
|
||||
android:layout_width="match_parent"/>
|
||||
|
||||
<TextView android:id="@+id/dateDisplay"
|
||||
android:layout_width="wrap_content"
|
||||
|
||||
@@ -19,6 +19,6 @@
|
||||
|
||||
<!-- This screen consists of a single text field that displays some text. -->
|
||||
<TextView xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/text"
|
||||
android:layout_width="fill_parent" android:layout_height="fill_parent"
|
||||
android:layout_width="match_parent" android:layout_height="match_parent"
|
||||
android:gravity="center_vertical|center_horizontal"
|
||||
android:text="@string/dialog_activity_text"/>
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:orientation="vertical">
|
||||
|
||||
<TextView android:id="@+id/txtStatus"
|
||||
@@ -27,12 +27,12 @@
|
||||
<ListView android:id="@+id/rssListView"
|
||||
android:background="#7700CC00"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_width="fill_parent" />
|
||||
android:layout_width="match_parent" />
|
||||
|
||||
<WebView android:id="@+id/rssWebView"
|
||||
android:background="#77CC0000"
|
||||
android:layout_height="50dip"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:focusable="false" />
|
||||
|
||||
<Button android:layout_height="wrap_content"
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<Button android:id="@+id/leftButton"
|
||||
|
||||
@@ -18,8 +18,8 @@
|
||||
focus behavior that would be difficult with default focus calculation alg.-->
|
||||
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:padding="10dip">
|
||||
|
||||
<Button android:id="@+id/top"
|
||||
|
||||
@@ -19,10 +19,10 @@
|
||||
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:padding="4dip"
|
||||
android:gravity="center_horizontal"
|
||||
android:layout_width="fill_parent" android:layout_height="fill_parent">
|
||||
android:layout_width="match_parent" android:layout_height="match_parent">
|
||||
|
||||
<TextView
|
||||
android:layout_width="fill_parent" android:layout_height="wrap_content"
|
||||
android:layout_width="match_parent" android:layout_height="wrap_content"
|
||||
android:layout_weight="0"
|
||||
android:paddingBottom="4dip"
|
||||
android:text="@string/foreground_service_controller"/>
|
||||
|
||||
@@ -19,10 +19,10 @@
|
||||
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:padding="4dip"
|
||||
android:gravity="center_horizontal"
|
||||
android:layout_width="fill_parent" android:layout_height="fill_parent">
|
||||
android:layout_width="match_parent" android:layout_height="match_parent">
|
||||
|
||||
<TextView
|
||||
android:layout_width="fill_parent" android:layout_height="wrap_content"
|
||||
android:layout_width="match_parent" android:layout_height="wrap_content"
|
||||
android:layout_weight="0"
|
||||
android:text="@string/forward_target"/>
|
||||
|
||||
|
||||
@@ -19,10 +19,10 @@
|
||||
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:padding="4dip"
|
||||
android:gravity="center_horizontal"
|
||||
android:layout_width="fill_parent" android:layout_height="fill_parent">
|
||||
android:layout_width="match_parent" android:layout_height="match_parent">
|
||||
|
||||
<TextView
|
||||
android:layout_width="fill_parent" android:layout_height="wrap_content"
|
||||
android:layout_width="match_parent" android:layout_height="wrap_content"
|
||||
android:layout_weight="0"
|
||||
android:paddingBottom="4dip"
|
||||
android:text="@string/forwarding"/>
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
-->
|
||||
|
||||
<Gallery xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/gallery"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
/>
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:orientation="vertical"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<Button
|
||||
@@ -28,7 +28,7 @@
|
||||
/>
|
||||
|
||||
<Gallery android:id="@+id/gallery"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center_vertical"
|
||||
android:spacing="16dp"
|
||||
|
||||
@@ -18,8 +18,8 @@
|
||||
See corresponding Java code com.android.sdk.content.StyledText -->
|
||||
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical">
|
||||
|
||||
<Button
|
||||
@@ -46,14 +46,14 @@
|
||||
<TextView
|
||||
android:id="@+id/username_label"
|
||||
android:visibility="gone"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/googlelogin_user"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/username"
|
||||
android:visibility="gone"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/google_login_username_text"/>
|
||||
|
||||
|
||||
@@ -15,8 +15,8 @@
|
||||
-->
|
||||
|
||||
<GridView xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/myGrid"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:padding="10dp"
|
||||
android:verticalSpacing="10dp"
|
||||
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
|
||||
<GridView xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@+id/myGrid"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:padding="10dp"
|
||||
android:verticalSpacing="10dp"
|
||||
|
||||
|
||||
@@ -20,6 +20,6 @@
|
||||
<!-- This screen consists of a single text field that
|
||||
displays our "Hello, World!" text. -->
|
||||
<TextView xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/text"
|
||||
android:layout_width="fill_parent" android:layout_height="fill_parent"
|
||||
android:layout_width="match_parent" android:layout_height="match_parent"
|
||||
android:gravity="center_vertical|center_horizontal"
|
||||
android:text="@string/hello_world"/>
|
||||
|
||||
@@ -15,8 +15,8 @@
|
||||
-->
|
||||
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical">
|
||||
|
||||
<ImageButton
|
||||
|
||||
@@ -15,19 +15,19 @@
|
||||
-->
|
||||
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent">
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<ImageSwitcher android:id="@+id/switcher"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_alignParentTop="true"
|
||||
android:layout_alignParentLeft="true"
|
||||
/>
|
||||
|
||||
<Gallery android:id="@+id/gallery"
|
||||
android:background="#55000000"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="60dp"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_alignParentLeft="true"
|
||||
|
||||
@@ -15,18 +15,18 @@
|
||||
-->
|
||||
|
||||
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent">
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical">
|
||||
|
||||
<!-- The following four examples use a large image -->
|
||||
<!-- 1. Non-scaled view, for reference -->
|
||||
<TextView
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingTop="10dip"
|
||||
android:text="@string/image_view_large_normal"/>
|
||||
@@ -38,7 +38,7 @@
|
||||
|
||||
<!-- 2. Limit to at most 50x50 -->
|
||||
<TextView
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingTop="10dip"
|
||||
android:text="@string/image_view_large_at_most"/>
|
||||
@@ -52,7 +52,7 @@
|
||||
|
||||
<!-- 3. Limit to at most 70x70, with 10 pixels of padding all around -->
|
||||
<TextView
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingTop="10dip"
|
||||
android:text="@string/image_view_large_at_most_padded"/>
|
||||
@@ -68,7 +68,7 @@
|
||||
|
||||
<!-- 4. Limit to exactly 70x70, with 10 pixels of padding all around -->
|
||||
<TextView
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingTop="10dip"
|
||||
android:text="@string/image_view_large_exactly_padded"/>
|
||||
@@ -83,7 +83,7 @@
|
||||
<!-- Repeating the previous four examples with small image -->
|
||||
<!-- 1. Non-scaled view, for reference -->
|
||||
<TextView
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingTop="10dip"
|
||||
android:text="@string/image_view_small_normal"/>
|
||||
@@ -96,7 +96,7 @@
|
||||
|
||||
<!-- 2. Limit to at most 50x50 -->
|
||||
<TextView
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingTop="10dip"
|
||||
android:text="@string/image_view_small_at_most"/>
|
||||
@@ -111,7 +111,7 @@
|
||||
|
||||
<!-- 3. Limit to at most 70x70, with 10 pixels of padding all around -->
|
||||
<TextView
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingTop="10dip"
|
||||
android:text="@string/image_view_small_at_most_padded"/>
|
||||
@@ -127,7 +127,7 @@
|
||||
|
||||
<!-- 4. Limit to exactly 70x70, with 10 pixels of padding all around -->
|
||||
<TextView
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingTop="10dip"
|
||||
android:text="@string/image_view_small_exactly_padded"/>
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:orientation="vertical"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent">
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<Button
|
||||
android:id="@+id/notify"
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:orientation="horizontal"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<ImageView
|
||||
|
||||
@@ -15,13 +15,13 @@
|
||||
-->
|
||||
|
||||
<FrameLayout 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:background="@android:drawable/toast_frame">
|
||||
|
||||
<LinearLayout
|
||||
android:orientation="horizontal"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<ImageView
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:orientation="vertical"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:paddingLeft="4dip"
|
||||
android:paddingRight="4dip"
|
||||
android:paddingTop="4dip"
|
||||
@@ -25,7 +25,7 @@
|
||||
|
||||
<LinearLayout
|
||||
android:orientation="horizontal"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
>
|
||||
|
||||
|
||||
@@ -19,10 +19,10 @@
|
||||
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:padding="4dip"
|
||||
android:gravity="center_horizontal"
|
||||
android:layout_width="fill_parent" android:layout_height="fill_parent">
|
||||
android:layout_width="match_parent" android:layout_height="match_parent">
|
||||
|
||||
<TextView
|
||||
android:layout_width="fill_parent" android:layout_height="wrap_content"
|
||||
android:layout_width="match_parent" android:layout_height="wrap_content"
|
||||
android:layout_weight="0"
|
||||
android:paddingBottom="4dip"
|
||||
android:text="@string/intents"/>
|
||||
|
||||
@@ -17,13 +17,13 @@
|
||||
<!-- This activity provides information about launcher shortcuts -->
|
||||
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical">
|
||||
|
||||
<!-- Section: Information -->
|
||||
<TextView
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingBottom="4dip"
|
||||
android:text="@string/msg_launcher_shortcuts" />
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
<GridView xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/grid"
|
||||
android:layoutAnimation="@anim/layout_grid_fade"
|
||||
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:padding="10dp"
|
||||
android:verticalSpacing="10dp"
|
||||
|
||||
|
||||
@@ -16,6 +16,6 @@
|
||||
|
||||
<ListView xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@android:id/list"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layoutAnimation="@anim/layout_bottom_to_top_slide" />
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
<GridView xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/grid"
|
||||
android:layoutAnimation="@anim/layout_random_fade"
|
||||
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:padding="10dp"
|
||||
android:verticalSpacing="10dp"
|
||||
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
<GridView xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/grid"
|
||||
android:layoutAnimation="@anim/layout_grid_inverse_fade"
|
||||
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:padding="10dp"
|
||||
android:verticalSpacing="10dp"
|
||||
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
<GridView xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/grid"
|
||||
android:layoutAnimation="@anim/layout_wave_scale"
|
||||
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:verticalSpacing="10dp"
|
||||
|
||||
android:horizontalSpacing="10dp"
|
||||
|
||||
@@ -19,8 +19,8 @@
|
||||
android:animationCache="false"
|
||||
android:clipToPadding="false"
|
||||
android:padding="12dp"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:stretchColumns="1">
|
||||
|
||||
<TableRow
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user