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

Commit 7432c528 authored by nicolasroard's avatar nicolasroard
Browse files

Fix style for crop activity

bug:10786662
Change-Id: Ie104b8ba2484455ad5cdf90d8c26157480143b0b
parent 1a65cb12
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -266,7 +266,7 @@
        <activity
            android:name="com.android.gallery3d.filtershow.crop.CropActivity"
            android:label="@string/crop"
            android:theme="@style/Theme.FilterShow"
            android:theme="@style/Theme.Crop"
            android:configChanges="keyboardHidden|orientation|screenSize">
           <intent-filter android:label="@string/crop_label">
                <action android:name="com.android.camera.action.CROP" />
+1 −2
Original line number Diff line number Diff line
@@ -18,8 +18,7 @@
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:id="@+id/mainView"
    android:background="@drawable/filtershow_tiled_background">
    android:id="@+id/mainView">

    <LinearLayout
        android:id="@+id/mainPanel"
+8 −0
Original line number Diff line number Diff line
@@ -31,6 +31,14 @@
    <style name="Theme.FilterShow" parent="Theme.Gallery">
        <item name="android:windowBackground">@null</item>
    </style>
    <style name="Theme.Crop" parent="Theme.GalleryBase">
        <item name="android:displayOptions"></item>
        <item name="android:windowContentOverlay">@null</item>
        <item name="android:actionBarStyle">@style/Holo.ActionBar</item>
        <item name="android:colorBackground">@null</item>
        <item name="android:colorBackgroundCacheHint">@null</item>
        <item name="android:windowBackground">@drawable/filtershow_tiled_background</item>
    </style>
    <style name="Holo.ActionBar" parent="android:Widget.Holo.ActionBar">
        <item name="android:displayOptions">useLogo|showHome</item>
        <item name="android:background">@drawable/actionbar_translucent</item>