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

Commit 67bf49db authored by Jeff Sharkey's avatar Jeff Sharkey Committed by Jeff Sharkey
Browse files

DocumentsUI is only dialog when really large.

Bug: 16780860
Change-Id: Ib20ef9771855beba5b31d19887c1c9c1b8e8e5ed
parent 93cdbc2c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -26,7 +26,7 @@
        android:gravity="center"
        android:text="@string/empty"
        android:visibility="gone"
        style="@style/TextAppearance.Medium" />
        style="@android:style/TextAppearance.Material.Subhead" />

    <ListView
        android:id="@+id/list"
+21 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2014 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">

    <style name="DialogWhenReallyLarge" parent="@*android:style/Theme.DeviceDefault.Light.Dialog.FixedSize" />

</resources>
+3 −13
Original line number Diff line number Diff line
@@ -16,7 +16,9 @@

<resources xmlns:android="http://schemas.android.com/apk/res/android">

    <style name="DocumentsTheme" parent="@android:style/Theme.DeviceDefault.Light.DialogWhenLarge">
    <style name="DialogWhenReallyLarge" parent="@android:style/Theme.DeviceDefault.Light" />

    <style name="DocumentsTheme" parent="@style/DialogWhenReallyLarge">
        <item name="android:actionBarWidgetTheme">@null</item>
        <item name="android:actionBarTheme">@*android:style/ThemeOverlay.Material.Dark.ActionBar</item>
        <item name="android:actionBarPopupTheme">@*android:style/ThemeOverlay.Material.Light</item>
@@ -38,16 +40,4 @@
        <item name="android:windowSoftInputMode">stateUnspecified|adjustUnspecified</item>
    </style>

    <style name="TextAppearance" />

    <style name="TextAppearance.Medium">
        <item name="android:textAppearance">?android:attr/textAppearanceMedium</item>
        <item name="android:textColor">?android:attr/textColorSecondary</item>
    </style>

    <style name="TextAppearance.Small">
        <item name="android:textAppearance">?android:attr/textAppearanceSmall</item>
        <item name="android:textColor">?android:attr/textColorTertiary</item>
    </style>

</resources>