Home | History | Annotate | Download | only in layout
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!-- Copyright (C) 2010 The Android Open Source Project
      3 
      4      Licensed under the Apache License, Version 2.0 (the "License");
      5      you may not use this file except in compliance with the License.
      6      You may obtain a copy of the License at
      7 
      8           http://www.apache.org/licenses/LICENSE-2.0
      9 
     10      Unless required by applicable law or agreed to in writing, software
     11      distributed under the License is distributed on an "AS IS" BASIS,
     12      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     13      See the License for the specific language governing permissions and
     14      limitations under the License.
     15 -->
     16 
     17 <com.android.photoeditor.EffectsGroup
     18     xmlns:android="http://schemas.android.com/apk/res/android"
     19     xmlns:photoeditor="http://schemas.android.com/apk/res/com.android.photoeditor"
     20     style="@style/EffectsBarLinearLayout">
     21 
     22     <FrameLayout android:id="@+id/group_header" style="@style/GroupHeader">
     23 
     24         <TextView android:text="@string/fix_group" style="@style/GroupLabel"/>
     25         <ImageView android:id="@+id/group_arrow" style="@style/GroupArrow"/>
     26 
     27     </FrameLayout>
     28 
     29     <LinearLayout android:id="@+id/grouped_effects" style="@style/GroupContent">
     30 
     31         <LinearLayout style="@style/Effect" android:id="@+id/crop_effect">
     32             <com.android.photoeditor.IconIndicator
     33                 android:id="@+id/effect_button"
     34                 style="@style/EffectIcon"
     35                 photoeditor:modes="@array/crop_modes"
     36                 photoeditor:icons="@array/crop_icons"/>
     37             <TextView
     38                 android:id="@+id/effect_label"
     39                 android:text="@string/crop"
     40                 style="@style/EffectLabel"/>
     41         </LinearLayout>
     42         <LinearLayout style="@style/Effect" android:id="@+id/rotate_effect">
     43             <com.android.photoeditor.IconIndicator
     44                 android:id="@+id/effect_button"
     45                 style="@style/EffectIcon"
     46                 photoeditor:modes="@array/rotate_modes"
     47                 photoeditor:icons="@array/rotate_icons"/>
     48             <TextView
     49                 android:id="@+id/effect_label"
     50                 android:text="@string/rotate"
     51                 style="@style/EffectLabel"/>
     52         </LinearLayout>
     53         <LinearLayout style="@style/Effect" android:id="@+id/straighten_effect">
     54             <com.android.photoeditor.IconIndicator
     55                 android:id="@+id/effect_button"
     56                 style="@style/EffectIcon"
     57                 photoeditor:modes="@array/straighten_modes"
     58                 photoeditor:icons="@array/straighten_icons"/>
     59             <TextView
     60                 android:id="@+id/effect_label"
     61                 android:text="@string/straighten"
     62                 style="@style/EffectLabel"/>
     63         </LinearLayout>
     64         <LinearLayout style="@style/Effect" android:id="@+id/flip_effect">
     65             <com.android.photoeditor.IconIndicator
     66                 android:id="@+id/effect_button"
     67                 style="@style/EffectIcon"
     68                 photoeditor:modes="@array/flip_modes"
     69                 photoeditor:icons="@array/flip_icons"/>
     70             <TextView
     71                 android:id="@+id/effect_label"
     72                 android:text="@string/flip"
     73                 style="@style/EffectLabel"/>
     74         </LinearLayout>
     75         <LinearLayout style="@style/Effect" android:id="@+id/redeye_effect">
     76             <com.android.photoeditor.IconIndicator
     77                 android:id="@+id/effect_button"
     78                 style="@style/EffectIcon"
     79                 photoeditor:modes="@array/redeye_modes"
     80                 photoeditor:icons="@array/redeye_icons"/>
     81             <TextView
     82                 android:id="@+id/effect_label"
     83                 android:text="@string/redeye"
     84                 style="@style/EffectLabel"/>
     85         </LinearLayout>
     86         <LinearLayout style="@style/Effect" android:id="@+id/sharpen_effect">
     87             <com.android.photoeditor.IconIndicator
     88                 android:id="@+id/effect_button"
     89                 style="@style/EffectIcon"
     90                 photoeditor:modes="@array/sharpen_modes"
     91                 photoeditor:icons="@array/sharpen_icons"/>
     92             <TextView
     93                 android:id="@+id/effect_label"
     94                 android:text="@string/sharpen"
     95                 style="@style/EffectLabel"/>
     96         </LinearLayout>
     97         <!--<LinearLayout style="@style/Effect" android:id="@+id/softfocus_effect">
     98             <com.android.photoeditor.IconIndicator
     99                 android:id="@+id/effect_button"
    100                 style="@style/EffectIcon"
    101                 photoeditor:modes="@array/softfocus_modes"
    102                 photoeditor:icons="@array/softfocus_icons"/>
    103             <TextView
    104                 android:id="@+id/effect_label"
    105                 android:text="@string/softfocus"
    106                 style="@style/EffectLabel"/>
    107         </LinearLayout>-->
    108 
    109     </LinearLayout>
    110 </com.android.photoeditor.EffectsGroup>
    111