DocumentsUI is only dialog when really large.

Bug: 16780860
Change-Id: Ib20ef9771855beba5b31d19887c1c9c1b8e8e5ed
This commit is contained in:
Jeff Sharkey
2014-08-05 10:14:45 -07:00
committed by Jeff Sharkey
parent 96caa68279
commit f75eb0dd60
3 changed files with 25 additions and 14 deletions

View File

@@ -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"

View File

@@ -0,0 +1,21 @@
<?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>

View File

@@ -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>