diff options
author | Alexandra Gherghina <alexgherghina@google.com> | 2014-07-24 18:54:31 +0100 |
---|---|---|
committer | Alexandra Gherghina <alexgherghina@google.com> | 2014-07-30 09:15:38 +0000 |
commit | c8a1db191207e38b7ad0acdfd276651e4911e812 (patch) | |
tree | 93e7e84f2a16fc348dfa5017ef586e7f3aa02de5 /res/layout/manage_applications_running.xml | |
parent | 5c14856ba2cafeb00080355f7613a702779ca530 (diff) | |
download | packages_apps_Settings-c8a1db191207e38b7ad0acdfd276651e4911e812.tar.gz packages_apps_Settings-c8a1db191207e38b7ad0acdfd276651e4911e812.tar.bz2 packages_apps_Settings-c8a1db191207e38b7ad0acdfd276651e4911e812.zip |
Toggle between primary and managed profile in apps settings
This adds a spinner to the apps screen which can be used to toggle
between the Settings app in the primary and managed profile so that the user
can edit settings belonging to both profiles.
Bug: 16369104
Change-Id: I09a94c07597e6509de025dfbbe0e454ae3d9b0aa
Diffstat (limited to 'res/layout/manage_applications_running.xml')
-rw-r--r-- | res/layout/manage_applications_running.xml | 68 |
1 files changed, 41 insertions, 27 deletions
diff --git a/res/layout/manage_applications_running.xml b/res/layout/manage_applications_running.xml index 352ce442e..cc8c1867e 100644 --- a/res/layout/manage_applications_running.xml +++ b/res/layout/manage_applications_running.xml @@ -14,32 +14,46 @@ limitations under the License. --> -<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" - android:layout_width="match_parent" - android:layout_height="match_parent" > - <view class="com.android.settings.applications.RunningProcessesView" - android:id="@+id/running_processes" +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" - android:visibility="gone" /> - - <LinearLayout android:id="@+id/loading_container" - android:orientation="vertical" - android:layout_width="match_parent" - android:layout_height="match_parent" - android:visibility="gone" - android:gravity="center"> - - <ProgressBar style="?android:attr/progressBarStyleLarge" - android:layout_width="wrap_content" - android:layout_height="wrap_content" /> - <TextView android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:textAppearance="?android:attr/textAppearanceSmall" - android:text="@string/settings_safetylegal_activity_loading" - android:paddingTop="4dip" - android:singleLine="true" /> - - </LinearLayout> - -</FrameLayout> + android:orientation="vertical"> + + <FrameLayout android:id="@+id/pinned_header" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:visibility="gone" /> + + <FrameLayout + android:layout_width="match_parent" + android:layout_height="match_parent" > + + <view class="com.android.settings.applications.RunningProcessesView" + android:id="@+id/running_processes" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:visibility="gone" /> + + <LinearLayout android:id="@+id/loading_container" + android:orientation="vertical" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:visibility="gone" + android:gravity="center"> + + <ProgressBar style="?android:attr/progressBarStyleLarge" + android:layout_width="wrap_content" + android:layout_height="wrap_content" /> + + <TextView android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:textAppearance="?android:attr/textAppearanceSmall" + android:text="@string/settings_safetylegal_activity_loading" + android:paddingTop="4dip" + android:singleLine="true" /> + + </LinearLayout> + + </FrameLayout> + +</LinearLayout> |