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

Commit 4ac30068 authored by Winson Chung's avatar Winson Chung
Browse files

Initial changes to support predicted apps.

Change-Id: I80117d51074fe3dbdbb8d81cae886b1dffdfb86a
parent 82b016cb
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -21,8 +21,8 @@
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:layout_gravity="left|center_vertical"
    android:paddingTop="8dp"
    android:paddingBottom="8dp"
    android:paddingTop="@dimen/apps_icon_top_bottom_padding"
    android:paddingBottom="@dimen/apps_icon_top_bottom_padding"
    android:focusable="true"
    android:background="@drawable/focusable_view_bg"
    launcher:deferShadowGeneration="true" />
+0 −29
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 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.
-->

<com.android.launcher3.BubbleTextView
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:launcher="http://schemas.android.com/apk/res-auto"
    style="@style/WorkspaceIcon.AppsCustomize"
    android:id="@+id/application_icon"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:focusable="true"
    android:background="@drawable/focusable_view_bg"
    launcher:iconPaddingOverride="24dp"
    launcher:textSizeOverride="16dp"
    launcher:layoutHorizontal="true"
    launcher:deferShadowGeneration="true" />
+3 −1
Original line number Diff line number Diff line
@@ -25,7 +25,7 @@
    <FrameLayout
        android:id="@+id/header"
        android:layout_width="match_parent"
        android:layout_height="52dp"
        android:layout_height="@dimen/apps_search_bar_height"
        android:orientation="horizontal"
        android:background="@drawable/apps_search_bg">
        <LinearLayout
@@ -39,6 +39,7 @@
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_gravity="start|center_vertical"
                android:layout_marginStart="4dp"
                android:paddingTop="12dp"
                android:paddingBottom="12dp"
                android:contentDescription="@string/all_apps_button_label"
@@ -67,6 +68,7 @@
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_gravity="end|center_vertical"
            android:layout_marginEnd="6dp"
            android:paddingTop="12dp"
            android:paddingBottom="12dp"
            android:contentDescription="@string/apps_view_search_bar_hint"
+1 −0
Original line number Diff line number Diff line
@@ -22,6 +22,7 @@
    <dimen name="apps_grid_view_start_margin">64dp</dimen>
    <dimen name="apps_view_section_text_size">26sp</dimen>
    <dimen name="apps_view_row_height">76dp</dimen>
    <dimen name="apps_icon_top_bottom_padding">12dp</dimen>

<!-- AppsCustomize -->
    <dimen name="widget_preview_label_margin_top">8dp</dimen>
+2 −0
Original line number Diff line number Diff line
@@ -16,6 +16,8 @@

<resources>
    <dimen name="app_icon_size">72dp</dimen>
    <dimen name="apps_search_bar_height">56dp</dimen>
    <dimen name="apps_icon_top_bottom_padding">16dp</dimen>

<!-- QSB -->
    <dimen name="toolbar_button_vertical_padding">8dip</dimen>
Loading