Implement new manage apps UI for compat mode.
Change-Id: Ia8db7f534b7294fbbb34e0acdedab3a96cea59e9
This commit is contained in:
@@ -52,6 +52,7 @@
|
||||
|
||||
<TextView
|
||||
style="?android:attr/listSeparatorTextViewStyle"
|
||||
android:layout_marginTop="8dip"
|
||||
android:text="@string/storage_label" />
|
||||
|
||||
<LinearLayout
|
||||
@@ -223,6 +224,7 @@
|
||||
<TextView
|
||||
android:id="@+id/cache_header"
|
||||
style="?android:attr/listSeparatorTextViewStyle"
|
||||
android:layout_marginTop="8dip"
|
||||
android:text="@string/cache_header_label" />
|
||||
<LinearLayout
|
||||
android:id="@+id/cache_size"
|
||||
@@ -265,7 +267,7 @@
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_below="@id/cache_size"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_width="150dip"
|
||||
android:layout_width="200dip"
|
||||
android:text="@string/clear_cache_btn_text"
|
||||
android:layout_height="wrap_content" />
|
||||
</RelativeLayout>
|
||||
@@ -273,6 +275,7 @@
|
||||
<!-- Prefered activities section -->
|
||||
<TextView
|
||||
style="?android:attr/listSeparatorTextViewStyle"
|
||||
android:layout_marginTop="8dip"
|
||||
android:text="@string/auto_launch_label" />
|
||||
|
||||
<RelativeLayout
|
||||
@@ -291,11 +294,43 @@
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_below="@id/auto_launch"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_width="150dip"
|
||||
android:layout_width="200dip"
|
||||
android:text="@string/clear_activities"
|
||||
android:layout_height="wrap_content" />
|
||||
</RelativeLayout>
|
||||
|
||||
<!-- Screen compatibility section -->
|
||||
<LinearLayout android:id="@+id/screen_compatibility_section"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical">
|
||||
<TextView
|
||||
style="?android:attr/listSeparatorTextViewStyle"
|
||||
android:layout_marginTop="8dip"
|
||||
android:text="@string/screen_compatibility_label" />
|
||||
|
||||
<TextView android:textAppearance="?android:attr/textAppearanceSmall"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingTop="6dip"
|
||||
android:paddingRight="6dip"
|
||||
android:paddingLeft="6dip"
|
||||
android:text="@string/screen_compatibility_text"/>
|
||||
<CheckBox android:id="@+id/ask_compatibility_cb"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="12dip"
|
||||
android:layout_gravity="left"
|
||||
android:text="@string/ask_compatibility" />
|
||||
<CheckBox android:id="@+id/enable_compatibility_cb"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="12dip"
|
||||
android:layout_gravity="left"
|
||||
android:text="@string/enable_compatibility" />
|
||||
</LinearLayout>
|
||||
|
||||
<!-- Permissions section -->
|
||||
<LinearLayout
|
||||
android:id="@+id/permissions_section"
|
||||
@@ -304,6 +339,7 @@
|
||||
android:orientation="vertical">
|
||||
<TextView
|
||||
style="?android:attr/listSeparatorTextViewStyle"
|
||||
android:layout_marginTop="8dip"
|
||||
android:text="@string/permissions_label" />
|
||||
<TextView
|
||||
android:text="@string/security_settings_desc"
|
||||
|
@@ -39,7 +39,7 @@
|
||||
android:id="@+id/buttons_spacer_left"
|
||||
android:layout_width="0dip"
|
||||
android:layout_height="wrap_content"
|
||||
android:visibility="gone"
|
||||
android:visibility="invisible"
|
||||
android:layout_weight="0.2" />
|
||||
<Button
|
||||
android:id="@+id/right_button"
|
||||
|
@@ -2106,6 +2106,8 @@
|
||||
<string name="storage_label">Storage</string>
|
||||
<!-- Manage applications, individual application info screen, heading for settings related to controlling whether this app is the default for some actions -->
|
||||
<string name="auto_launch_label">Launch by default</string>
|
||||
<!-- Manage applications, individual application info screen, heading for settings related to controlling application screen compatibility -->
|
||||
<string name="screen_compatibility_label">Screen compatibility</string>
|
||||
<!-- Manage applications, individual application info screen, heading for settings related to the app's permissions. for example, it may list all the permissions the app has. -->
|
||||
<string name="permissions_label">Permissions</string>
|
||||
<!-- Manage applications, Header name used for cache information -->
|
||||
@@ -2144,6 +2146,13 @@
|
||||
<string name="auto_launch_disable_text">No defaults set.</string>
|
||||
<!-- Manage applications, individual application screen, button label under Launch by default heading. This is used to clear any default actions that may be assigned to this app. -->
|
||||
<string name="clear_activities">Clear defaults</string>
|
||||
<!-- Manage applications, individual application info screen, screen, message text under screen compatibility heading -->
|
||||
<string name="screen_compatibility_text">This application may not be designed for your screen; you can control how it
|
||||
adjusts to your screen here.</string>
|
||||
<!-- Manage applications, individual application screen, checkbox to control asking for compatibility mode. -->
|
||||
<string name="ask_compatibility">Ask when launched</string>
|
||||
<!-- Manage applications, individual application screen, checkbox to control compatibility mode. -->
|
||||
<string name="enable_compatibility">Scale application</string>
|
||||
<!-- Manage apps, individual app screen, substituted for the application's label when the app's label CAN NOT be determined.-->
|
||||
<string name="unknown">Unknown</string>
|
||||
<!-- [CHAR LIMIT=25] Manage applications screen, menu item. Sorts all of the apps in the list alphabetically. -->
|
||||
|
Reference in New Issue
Block a user