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

Commit fa588fc3 authored by Joe Onorato's avatar Joe Onorato Committed by Android (Google) Code Review
Browse files

Merge "Redo the look of the recent apps switcher" into froyo

parents 6e52b5d7 fd6c969c
Loading
Loading
Loading
Loading
+20 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2008 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.
-->

<selector xmlns:android="http://schemas.android.com/apk/res/android">
    <item android:color="#eeeeee"/> <!-- not selected -->
</selector>
+352 B
Loading image diff...
+314 B
Loading image diff...
+0 −26
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!--
/*
**
** Copyright 2007, 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.
*/
-->

<selector xmlns:android="http://schemas.android.com/apk/res/android">
    <item android:state_pressed="true" 
          android:drawable="@drawable/pressed_application_background_static" />
    <item android:state_focused="true" 
          android:drawable="@drawable/focused_application_background_static" />
</selector>
+17 −7
Original line number Diff line number Diff line
@@ -17,17 +17,19 @@
*/
-->

<LinearLayout
<com.android.internal.policy.impl.RecentApplicationsBackground
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:background="@drawable/recent_dialog_background"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:padding="3dip"
    android:layout_height="match_parent"
    android:paddingTop="3dip"
    android:paddingBottom="3dip"
    android:orientation="vertical">

    <!-- This is only intended to be visible when all buttons (below) are invisible -->
    <TextView
        android:id="@+id/no_applications_message"
        android:layout_width="285dip"
        android:layout_width="320dip"
        android:layout_height="wrap_content"
        android:layout_marginTop="15dip"
        android:layout_marginBottom="15dip"
@@ -40,10 +42,14 @@
         adjust height based on number of rows. -->
    <!-- TODO Adjust all sizes, padding, etc. to meet pixel-perfect specs -->
    <LinearLayout
        android:layout_width="285dip"
        android:layout_width="320dip"
        android:layout_height="wrap_content"
        android:orientation="horizontal" >

        <include
            layout="@android:layout/recent_apps_icon"
            android:id="@+id/button0" />

        <include
            layout="@android:layout/recent_apps_icon"
            android:id="@+id/button1" />
@@ -59,7 +65,7 @@
    </LinearLayout>

    <LinearLayout
        android:layout_width="wrap_content"
        android:layout_width="320dp"
        android:layout_height="wrap_content"
        android:orientation="horizontal" >

@@ -75,5 +81,9 @@
            layout="@android:layout/recent_apps_icon"
            android:id="@+id/button6" />

        <include
            layout="@android:layout/recent_apps_icon"
            android:id="@+id/button7" />

    </LinearLayout>
</LinearLayout>
 No newline at end of file
</com.android.internal.policy.impl.RecentApplicationsBackground>
Loading