Make compose landscape(phone) go fullscreen
Bug: 5121640 Change-Id: Ib7cc74c2ee494b69c7674d60960df83d6f0d9845
This commit is contained in:
parent
6be8cceadd
commit
0108aeb5b1
|
@ -226,7 +226,7 @@
|
||||||
android:name=".activity.MessageCompose"
|
android:name=".activity.MessageCompose"
|
||||||
android:label="@string/compose_title"
|
android:label="@string/compose_title"
|
||||||
android:enabled="false"
|
android:enabled="false"
|
||||||
android:theme="@android:style/Theme.Holo.Light"
|
android:theme="@style/MessageComposeTheme"
|
||||||
>
|
>
|
||||||
<intent-filter>
|
<intent-filter>
|
||||||
<action
|
<action
|
||||||
|
|
|
@ -15,6 +15,10 @@
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<resources>
|
<resources>
|
||||||
|
<style name="MessageComposeTheme" parent="EmailTheme">
|
||||||
|
<item name="android:windowFullscreen">true</item>
|
||||||
|
</style>
|
||||||
|
|
||||||
<style name="action_bar_unread_count">
|
<style name="action_bar_unread_count">
|
||||||
<item name="android:includeFontPadding">false</item>
|
<item name="android:includeFontPadding">false</item>
|
||||||
<item name="android:textSize">30sp</item>
|
<item name="android:textSize">30sp</item>
|
||||||
|
|
|
@ -17,6 +17,9 @@
|
||||||
<!-- tablet, landscape -->
|
<!-- tablet, landscape -->
|
||||||
|
|
||||||
<resources>
|
<resources>
|
||||||
|
<style name="MessageComposeTheme" parent="EmailTheme">
|
||||||
|
</style>
|
||||||
|
|
||||||
<!-- Use fixed width in landscape -->
|
<!-- Use fixed width in landscape -->
|
||||||
<style name="message_compose_scroll">
|
<style name="message_compose_scroll">
|
||||||
<item name="android:layout_width">800dip</item>
|
<item name="android:layout_width">800dip</item>
|
||||||
|
|
|
@ -16,9 +16,15 @@
|
||||||
|
|
||||||
<!-- non-xlarge. See also values-xlarge for specializations for xlarge screens -->
|
<!-- non-xlarge. See also values-xlarge for specializations for xlarge screens -->
|
||||||
<resources>
|
<resources>
|
||||||
|
<!-- Default theme for all Activity's in the app, unless otherwise
|
||||||
|
overridden and specified -->
|
||||||
<style name="EmailTheme" parent="@android:style/Theme.Holo.Light.DarkActionBar">
|
<style name="EmailTheme" parent="@android:style/Theme.Holo.Light.DarkActionBar">
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
|
<style name="MessageComposeTheme" parent="EmailTheme">
|
||||||
|
<!-- This gets changed in some other views -->
|
||||||
|
</style>
|
||||||
|
|
||||||
<style name="unreadCount">
|
<style name="unreadCount">
|
||||||
<item name="android:ellipsize">end</item>
|
<item name="android:ellipsize">end</item>
|
||||||
<item name="android:singleLine">true</item>
|
<item name="android:singleLine">true</item>
|
||||||
|
|
Loading…
Reference in New Issue