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"
|
||||
|
||||
Reference in New Issue
Block a user