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 <LinearLayout
     18     xmlns:android="http://schemas.android.com/apk/res/android"
     19     style="@style/EffectsContainer">
     20 
     21     <com.android.gallery3d.photoeditor.actions.CropAction style="@style/Effect"
     22         android:tag="@string/crop_tooltip">
     23         <ImageButton
     24             android:id="@+id/effect_button"
     25             style="@style/EffectIcon"
     26             android:src="@drawable/photoeditor_effect_crop"/>
     27         <TextView
     28             android:id="@+id/effect_label"
     29             android:text="@string/crop"
     30             style="@style/EffectLabel"/>
     31     </com.android.gallery3d.photoeditor.actions.CropAction>
     32     <com.android.gallery3d.photoeditor.actions.RedEyeAction style="@style/Effect"
     33         android:tag="@string/redeye_tooltip">
     34         <ImageButton
     35             android:id="@+id/effect_button"
     36             style="@style/EffectIcon"
     37             android:src="@drawable/photoeditor_effect_redeye"/>
     38         <TextView
     39             android:id="@+id/effect_label"
     40             android:text="@string/redeye"
     41             style="@style/EffectLabel"/>
     42     </com.android.gallery3d.photoeditor.actions.RedEyeAction>
     43     <com.android.gallery3d.photoeditor.actions.FaceliftAction style="@style/Effect">
     44         <ImageButton
     45             android:id="@+id/effect_button"
     46             style="@style/EffectIcon"
     47             android:src="@drawable/photoeditor_effect_facelift"/>
     48         <TextView
     49             android:id="@+id/effect_label"
     50             android:text="@string/facelift"
     51             style="@style/EffectLabel"/>
     52     </com.android.gallery3d.photoeditor.actions.FaceliftAction>
     53     <com.android.gallery3d.photoeditor.actions.StraightenAction style="@style/Effect"
     54         android:tag="@string/straighten_tooltip">
     55         <ImageButton
     56             android:id="@+id/effect_button"
     57             style="@style/EffectIcon"
     58             android:src="@drawable/photoeditor_effect_straighten"/>
     59         <TextView
     60             android:id="@+id/effect_label"
     61             android:text="@string/straighten"
     62             style="@style/EffectLabel"/>
     63     </com.android.gallery3d.photoeditor.actions.StraightenAction>
     64     <com.android.gallery3d.photoeditor.actions.RotateAction style="@style/Effect"
     65         android:tag="@string/rotate_tooltip">
     66         <ImageButton
     67             android:id="@+id/effect_button"
     68             style="@style/EffectIcon"
     69             android:src="@drawable/photoeditor_effect_rotate"/>
     70         <TextView
     71             android:id="@+id/effect_label"
     72             android:text="@string/rotate"
     73             style="@style/EffectLabel"/>
     74     </com.android.gallery3d.photoeditor.actions.RotateAction>
     75     <com.android.gallery3d.photoeditor.actions.FlipAction style="@style/Effect"
     76         android:tag="@string/flip_tooltip">
     77         <ImageButton
     78             android:id="@+id/effect_button"
     79             style="@style/EffectIcon"
     80             android:src="@drawable/photoeditor_effect_flip"/>
     81         <TextView
     82             android:id="@+id/effect_label"
     83             android:text="@string/flip"
     84             style="@style/EffectLabel"/>
     85     </com.android.gallery3d.photoeditor.actions.FlipAction>
     86     <com.android.gallery3d.photoeditor.actions.SharpenAction style="@style/Effect">
     87         <ImageButton
     88             android:id="@+id/effect_button"
     89             style="@style/EffectIcon"
     90             android:src="@drawable/photoeditor_effect_sharpen"/>
     91         <TextView
     92             android:id="@+id/effect_label"
     93             android:text="@string/sharpen"
     94             style="@style/EffectLabel"/>
     95     </com.android.gallery3d.photoeditor.actions.SharpenAction>
     96 
     97 </LinearLayout>
     98