Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cd91128a authored by Jason Monk's avatar Jason Monk
Browse files

Split app info into several screens

The root screen now only has the uninstall/force stop/disable buttons
and the rest has moved to sub screens listed in a preference list.
The root screen as UI approximate to the new mocks, but the separated
screens (storage, launch by default, etc.) have yet to receive their
visual overhaul.

Bug: 19511439
Change-Id: I4e01fbaefc69e0652edea2429d9e9b028c78e825
parent a330b1a0
Loading
Loading
Loading
Loading
+79 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!--
/*
** Copyright 2015, The Android Open Source Project
**
** Licensed under the Apache License, Version 2.0 (the "License");
** you may not use this file except in compliance with the License.
** You may obtain a copy of the License at
**
**     http://www.apache.org/licenses/LICENSE-2.0
**
** Unless required by applicable law or agreed to in writing, software
** distributed under the License is distributed on an "AS IS" BASIS,
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
** See the License for the specific language governing permissions and
** limitations under the License.
*/
-->
<ScrollView
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:clipToPadding="false"
    android:scrollbarStyle="@integer/preference_scrollbar_style">

    <LinearLayout
        android:id="@+id/all_details"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:paddingStart="?android:attr/listPreferredItemPaddingStart"
        android:paddingEnd="?android:attr/listPreferredItemPaddingEnd"
        android:paddingBottom="5dip"
        android:orientation="vertical">

        <!-- Prefered activities section -->
        <TextView android:id="@+id/auto_launch_title"
            style="?android:attr/listSeparatorTextViewStyle"
            android:layout_marginTop="8dip"
            android:text="@string/auto_launch_label" />

        <RelativeLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_gravity="center_vertical"
            android:paddingStart="?android:attr/listPreferredItemPaddingStart"
            android:paddingEnd="?android:attr/listPreferredItemPaddingEnd">
            <TextView android:id="@+id/auto_launch"
                android:textAppearance="?android:attr/textAppearanceSmall"
                android:layout_alignParentStart="true"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:paddingTop="6dip" />

            <LinearLayout
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:layout_below="@id/auto_launch"
                android:paddingTop="4dip"
                android:orientation="horizontal">
                <View
                    android:layout_width="120dip"
                    android:layout_height="0dip"
                    android:layout_weight="0.4" />
                <View
                    android:layout_width="0dip"
                    android:layout_height="0dip"
                    android:visibility="invisible"
                    android:layout_weight="0.2" />
                <Button
                    android:id="@+id/clear_activities_button"
                    android:layout_width="120dip"
                    android:layout_height="wrap_content"
                    android:layout_weight="0.4"
                    android:text="@string/clear_activities" />
            </LinearLayout>
        </RelativeLayout>

    </LinearLayout>
</ScrollView>
+26 −431

File changed.

Preview size limit exceeded, changes collapsed.

+88 −0

File added.

Preview size limit exceeded, changes collapsed.

+307 −0

File added.

Preview size limit exceeded, changes collapsed.

Loading