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

Commit bfbb973d authored by android-build-team Robot's avatar android-build-team Robot
Browse files

Snap for 5297348 from 2421c4e0 to qt-release

Change-Id: Ibc295e7b629bd79dd3eb7e315254f582a1352948
parents bbde9b2b 2421c4e0
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -16,6 +16,7 @@
-->
<LinearLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:orientation="vertical"
@@ -27,7 +28,8 @@
        android:layout_width="match_parent"
        android:layout_height="0dp"
        android:layout_weight="1"
        android:background="@color/secondary_color"/>
        android:background="@color/secondary_color"
        app:card_style="screen_aspect_ratio"/>

    <LinearLayout
        android:id="@+id/options_section"
+3 −2
Original line number Diff line number Diff line
@@ -17,7 +17,7 @@
<LinearLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:layout_height="match_parent" xmlns:app="http://schemas.android.com/apk/res-auto"
    android:orientation="vertical"
    android:background="@color/category_picker_background_color">
    <include layout="@layout/section_header"/>
@@ -27,7 +27,8 @@
        android:layout_width="match_parent"
        android:layout_height="0dp"
        android:layout_weight="1"
        android:background="@color/secondary_color"/>
        android:background="@color/secondary_color"
        app:card_style="screen_aspect_ratio"/>

    <LinearLayout
        android:id="@+id/options_section"

res/values/attrs.xml

0 → 100644
+29 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!--

     Copyright (C) 2019 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.
-->
<resources xmlns:android="http://schemas.android.com/apk/res/android">
    <!-- PreviewPager specific attributes. -->
    <declare-styleable name="PreviewPager">
        <attr name="card_style" format="integer">
            <!-- The cards are sized so that a small part of the next card in the pager can be seen
                peeking from the side. -->
            <enum name="peeking" value="0" />
            <!-- Cards are sized to match the screen's aspect ratio (based on available height) -->
            <enum name="screen_aspect_ratio" value="1" />
        </attr>
    </declare-styleable>
</resources>
 No newline at end of file
+3 −1
Original line number Diff line number Diff line
@@ -18,9 +18,11 @@
<resources>
    <string name="themes_stub_package" translatable="false"/>
    <string name="clocks_stub_package" translatable="false"/>
    <!-- Authority of a provider in System UI that will provide preview info for available clockfaces. -->
    <string name="clocks_provider_authority" translatable="false">com.android.keyguard.clock</string>

    <!--Name of metadata in the main launcher Activity which values contains the authority
        corresponding to a ContentProvider in launcher to provide available grids and
        allow for changing them -->
    <string name="grid_control_metadata_name" translatable="false">"com.android.launcher3.grid.control"</string>
    <string name="grid_control_metadata_name" translatable="false">com.android.launcher3.grid.control</string>
</resources>
 No newline at end of file
+1 −2
Original line number Diff line number Diff line
@@ -58,14 +58,13 @@


    <style name="PreviewCard" parent="CardView.Light">
        <item name="cardCornerRadius">@dimen/preview_card_corner_radius</item>
        <item name="cardCornerRadius">?android:dialogCornerRadius</item>
        <item name="android:clipChildren">true</item>
        <item name="contentPadding">@dimen/preview_card_padding</item>
        <item name="android:background">@color/primary_color</item>
    </style>

    <style name="FullContentPreviewCard" parent="PreviewCard">
        <item name="cardCornerRadius">@dimen/preview_card_corner_radius</item>
        <item name="android:clipChildren">true</item>
        <item name="contentPadding">0dp</item>
        <item name="android:background">@color/primary_color</item>
Loading