nicolasroard | 4cc4609 | 2012-09-25 14:27:56 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
nicolasroard | 14dafd6 | 2012-10-05 03:48:34 -0700 | [diff] [blame] | 2 | <!-- |
| 3 | Copyright (C) 2012 The Android Open Source Project |
nicolasroard | 4cc4609 | 2012-09-25 14:27:56 -0700 | [diff] [blame] | 4 | |
| 5 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 6 | you may not use this file except in compliance with the License. |
| 7 | You may obtain a copy of the License at |
| 8 | |
| 9 | http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | |
| 11 | Unless required by applicable law or agreed to in writing, software |
| 12 | distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | See the License for the specific language governing permissions and |
| 15 | limitations under the License. |
| 16 | --> |
| 17 | |
nicolasroard | ba1ba19 | 2012-09-29 00:17:09 -0700 | [diff] [blame] | 18 | <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" |
nicolasroard | 4cc4609 | 2012-09-25 14:27:56 -0700 | [diff] [blame] | 19 | android:layout_width="match_parent" |
John Hoford | 9091fa9 | 2012-10-11 21:04:41 -0700 | [diff] [blame] | 20 | android:layout_height="match_parent" |
nicolasroard | c4e553b | 2012-10-21 14:53:03 -0700 | [diff] [blame^] | 21 | android:id="@+id/mainView" |
nicolasroard | 0f1bb9f | 2012-10-17 12:47:53 -0700 | [diff] [blame] | 22 | android:background="@color/background_screen" > |
nicolasroard | 4cc4609 | 2012-09-25 14:27:56 -0700 | [diff] [blame] | 23 | |
| 24 | <LinearLayout |
nicolasroard | ba1ba19 | 2012-09-29 00:17:09 -0700 | [diff] [blame] | 25 | android:id="@+id/imageStatePanel" |
| 26 | android:layout_width="200dip" |
| 27 | android:layout_height="match_parent" |
nicolasroard | 14dafd6 | 2012-10-05 03:48:34 -0700 | [diff] [blame] | 28 | android:layout_gravity="right" |
nicolasroard | ba1ba19 | 2012-09-29 00:17:09 -0700 | [diff] [blame] | 29 | android:orientation="vertical" |
nicolasroard | 14dafd6 | 2012-10-05 03:48:34 -0700 | [diff] [blame] | 30 | android:visibility="invisible" > |
nicolasroard | ba1ba19 | 2012-09-29 00:17:09 -0700 | [diff] [blame] | 31 | |
| 32 | <TextView |
| 33 | android:layout_width="match_parent" |
| 34 | android:layout_height="wrap_content" |
| 35 | android:background="@android:color/transparent" |
| 36 | android:gravity="center" |
| 37 | android:padding="2dip" |
| 38 | android:text="@string/imageState" |
| 39 | android:textColor="@android:color/white" |
| 40 | android:textSize="24sp" |
| 41 | android:textStyle="bold" /> |
| 42 | |
| 43 | <ListView |
| 44 | android:id="@+id/imageStateList" |
| 45 | android:layout_width="match_parent" |
| 46 | android:layout_height="wrap_content" |
| 47 | android:layout_weight="1" > |
| 48 | </ListView> |
| 49 | </LinearLayout> |
| 50 | |
| 51 | <LinearLayout |
nicolasroard | 4cc4609 | 2012-09-25 14:27:56 -0700 | [diff] [blame] | 52 | android:id="@+id/mainPanel" |
| 53 | android:layout_width="match_parent" |
| 54 | android:layout_height="match_parent" |
| 55 | android:layerType="hardware" |
| 56 | android:orientation="vertical" > |
| 57 | |
nicolasroard | 78042f3 | 2012-09-27 20:54:48 -0700 | [diff] [blame] | 58 | <FrameLayout |
nicolasroard | 78042f3 | 2012-09-27 20:54:48 -0700 | [diff] [blame] | 59 | android:layout_width="match_parent" |
nicolasroard | 7a9f746 | 2012-09-28 18:26:53 -0700 | [diff] [blame] | 60 | android:layout_height="wrap_content" |
| 61 | android:layout_weight="1" > |
nicolasroard | 4cc4609 | 2012-09-25 14:27:56 -0700 | [diff] [blame] | 62 | |
nicolasroard | 78042f3 | 2012-09-27 20:54:48 -0700 | [diff] [blame] | 63 | <com.android.gallery3d.filtershow.imageshow.ImageShow |
| 64 | android:id="@+id/imageShow" |
| 65 | android:layout_width="match_parent" |
| 66 | android:layout_height="wrap_content" /> |
| 67 | |
| 68 | <com.android.gallery3d.filtershow.imageshow.ImageStraighten |
| 69 | android:id="@+id/imageStraighten" |
| 70 | android:layout_width="match_parent" |
| 71 | android:layout_height="wrap_content" |
| 72 | android:visibility="gone" /> |
| 73 | |
Ruben Brunk | 16f709d | 2012-09-27 12:38:08 -0700 | [diff] [blame] | 74 | <com.android.gallery3d.filtershow.imageshow.ImageCrop |
| 75 | android:id="@+id/imageCrop" |
| 76 | android:layout_width="match_parent" |
| 77 | android:layout_height="wrap_content" |
| 78 | android:visibility="gone" /> |
| 79 | |
| 80 | <com.android.gallery3d.filtershow.imageshow.ImageRotate |
| 81 | android:id="@+id/imageRotate" |
| 82 | android:layout_width="match_parent" |
| 83 | android:layout_height="wrap_content" |
| 84 | android:visibility="gone" /> |
| 85 | |
| 86 | <com.android.gallery3d.filtershow.imageshow.ImageFlip |
| 87 | android:id="@+id/imageFlip" |
| 88 | android:layout_width="match_parent" |
| 89 | android:layout_height="wrap_content" |
| 90 | android:visibility="gone" /> |
| 91 | |
nicolasroard | 78042f3 | 2012-09-27 20:54:48 -0700 | [diff] [blame] | 92 | <com.android.gallery3d.filtershow.ui.ImageCurves |
| 93 | android:id="@+id/imageCurves" |
| 94 | android:layout_width="match_parent" |
| 95 | android:layout_height="wrap_content" |
nicolasroard | ca51847 | 2012-10-15 18:03:37 -0700 | [diff] [blame] | 96 | android:layerType="software" |
nicolasroard | 78042f3 | 2012-09-27 20:54:48 -0700 | [diff] [blame] | 97 | android:visibility="gone" /> |
| 98 | |
| 99 | <com.android.gallery3d.filtershow.imageshow.ImageBorder |
| 100 | android:id="@+id/imageBorder" |
| 101 | android:layout_width="match_parent" |
| 102 | android:layout_height="wrap_content" |
| 103 | android:visibility="gone" /> |
nicolasroard | 4cc4609 | 2012-09-25 14:27:56 -0700 | [diff] [blame] | 104 | |
nicolasroard | b6d989e | 2012-10-02 21:57:22 -0700 | [diff] [blame] | 105 | <com.android.gallery3d.filtershow.imageshow.ImageZoom |
| 106 | android:id="@+id/imageZoom" |
| 107 | android:layout_width="match_parent" |
| 108 | android:layout_height="wrap_content" |
| 109 | android:visibility="gone" /> |
| 110 | |
nicolasroard | 14dafd6 | 2012-10-05 03:48:34 -0700 | [diff] [blame] | 111 | <!-- |
nicolasroard | 4cc4609 | 2012-09-25 14:27:56 -0700 | [diff] [blame] | 112 | <ImageButton |
| 113 | android:id="@+id/showOriginalButton" |
nicolasroard | 78042f3 | 2012-09-27 20:54:48 -0700 | [diff] [blame] | 114 | android:layout_width="64dip" |
nicolasroard | 7a9f746 | 2012-09-28 18:26:53 -0700 | [diff] [blame] | 115 | android:layout_height="64dip" |
nicolasroard | 78042f3 | 2012-09-27 20:54:48 -0700 | [diff] [blame] | 116 | android:layout_gravity="bottom" |
nicolasroard | 7a9f746 | 2012-09-28 18:26:53 -0700 | [diff] [blame] | 117 | android:scaleType="centerInside" |
nicolasroard | 4cc4609 | 2012-09-25 14:27:56 -0700 | [diff] [blame] | 118 | android:src="@drawable/filtershow_button_show_original" /> |
nicolasroard | 14dafd6 | 2012-10-05 03:48:34 -0700 | [diff] [blame] | 119 | --> |
| 120 | <SeekBar |
| 121 | android:id="@+id/filterSeekBar" |
| 122 | android:layout_width="match_parent" |
| 123 | android:layout_height="wrap_content" |
| 124 | android:layout_gravity="bottom" |
| 125 | android:padding="16dip" |
| 126 | android:visibility="gone" /> |
nicolasroard | 78042f3 | 2012-09-27 20:54:48 -0700 | [diff] [blame] | 127 | </FrameLayout> |
nicolasroard | 4cc4609 | 2012-09-25 14:27:56 -0700 | [diff] [blame] | 128 | |
John Hoford | 9091fa9 | 2012-10-11 21:04:41 -0700 | [diff] [blame] | 129 | <com.android.gallery3d.filtershow.CenteredLinearLayout |
| 130 | xmlns:custom="http://schemas.android.com/apk/res/com.android.gallery3d" |
| 131 | android:id="@+id/mainPanel" |
| 132 | android:layout_width="match_parent" |
| 133 | android:layout_height="wrap_content" |
| 134 | android:layout_gravity="center" |
nicolasroard | 0f1bb9f | 2012-10-17 12:47:53 -0700 | [diff] [blame] | 135 | android:background="@color/background_main_toolbar" |
John Hoford | 9091fa9 | 2012-10-11 21:04:41 -0700 | [diff] [blame] | 136 | custom:max_width="600dip" |
| 137 | android:orientation="vertical"> |
| 138 | |
nicolasroard | 14dafd6 | 2012-10-05 03:48:34 -0700 | [diff] [blame] | 139 | <FrameLayout |
| 140 | android:id="@+id/secondRowPanel" |
nicolasroard | 4cc4609 | 2012-09-25 14:27:56 -0700 | [diff] [blame] | 141 | android:layout_width="fill_parent" |
nicolasroard | 14dafd6 | 2012-10-05 03:48:34 -0700 | [diff] [blame] | 142 | android:layout_height="wrap_content" > |
nicolasroard | 4cc4609 | 2012-09-25 14:27:56 -0700 | [diff] [blame] | 143 | |
| 144 | <LinearLayout |
nicolasroard | 14dafd6 | 2012-10-05 03:48:34 -0700 | [diff] [blame] | 145 | android:id="@+id/filterButtonsList" |
| 146 | android:layout_width="fill_parent" |
nicolasroard | 0f1bb9f | 2012-10-17 12:47:53 -0700 | [diff] [blame] | 147 | android:layout_height="@dimen/thumbnail_size" |
nicolasroard | 8737310 | 2012-10-09 16:34:58 -0700 | [diff] [blame] | 148 | android:background="@color/background_main_toolbar" |
nicolasroard | 14dafd6 | 2012-10-05 03:48:34 -0700 | [diff] [blame] | 149 | android:orientation="horizontal" |
| 150 | android:visibility="gone" > |
nicolasroard | 4cc4609 | 2012-09-25 14:27:56 -0700 | [diff] [blame] | 151 | |
nicolasroard | 701526a | 2012-10-18 17:53:44 -0700 | [diff] [blame] | 152 | <FrameLayout |
| 153 | android:layout_width="fill_parent" |
| 154 | android:layout_height="fill_parent" > |
| 155 | <com.android.gallery3d.filtershow.ui.FramedTextButton |
| 156 | android:id="@+id/aspect" |
| 157 | android:layout_width="64dip" |
| 158 | android:layout_height="64dip" |
| 159 | android:layout_gravity="center_vertical|left" |
| 160 | android:background="@android:color/transparent" |
| 161 | android:scaleType="centerInside" |
| 162 | android:visibility="gone" |
| 163 | android:text="@string/aspectOriginal_effect" /> |
Ruben Brunk | b3e3014 | 2012-10-15 12:02:54 -0700 | [diff] [blame] | 164 | |
nicolasroard | 701526a | 2012-10-18 17:53:44 -0700 | [diff] [blame] | 165 | <com.android.gallery3d.filtershow.ui.FramedTextButton |
| 166 | android:id="@+id/pickCurvesChannel" |
| 167 | android:layout_width="64dip" |
| 168 | android:layout_height="64dip" |
| 169 | android:layout_gravity="center_vertical|left" |
| 170 | android:background="@android:color/transparent" |
| 171 | android:scaleType="centerInside" |
| 172 | android:visibility="gone" |
| 173 | android:text="@string/curves_channel_rgb" /> |
nicolasroard | ca51847 | 2012-10-15 18:03:37 -0700 | [diff] [blame] | 174 | |
nicolasroard | 701526a | 2012-10-18 17:53:44 -0700 | [diff] [blame] | 175 | <Button |
| 176 | android:id="@+id/applyEffect" |
| 177 | android:layout_width="wrap_content" |
| 178 | android:layout_height="94dip" |
| 179 | android:layout_gravity="center" |
| 180 | android:layout_weight="1" |
| 181 | android:background="@android:color/transparent" |
| 182 | android:gravity="center" |
| 183 | android:text="@string/apply_effect" |
| 184 | android:textSize="18dip" /> |
| 185 | </FrameLayout> |
| 186 | |
nicolasroard | 4cc4609 | 2012-09-25 14:27:56 -0700 | [diff] [blame] | 187 | </LinearLayout> |
nicolasroard | 4cc4609 | 2012-09-25 14:27:56 -0700 | [diff] [blame] | 188 | |
nicolasroard | 14dafd6 | 2012-10-05 03:48:34 -0700 | [diff] [blame] | 189 | <HorizontalScrollView |
| 190 | android:id="@+id/fxList" |
| 191 | android:layout_width="match_parent" |
nicolasroard | 0f1bb9f | 2012-10-17 12:47:53 -0700 | [diff] [blame] | 192 | android:layout_height="@dimen/thumbnail_size" |
Bobby Georgescu | 67ca0a7 | 2012-10-10 23:10:36 -0700 | [diff] [blame] | 193 | android:scrollbars="none" > |
nicolasroard | 4cc4609 | 2012-09-25 14:27:56 -0700 | [diff] [blame] | 194 | |
nicolasroard | 14dafd6 | 2012-10-05 03:48:34 -0700 | [diff] [blame] | 195 | <LinearLayout |
| 196 | android:id="@+id/listFilters" |
| 197 | android:layout_width="wrap_content" |
| 198 | android:layout_height="match_parent" |
nicolasroard | 0f1bb9f | 2012-10-17 12:47:53 -0700 | [diff] [blame] | 199 | android:layout_marginLeft="@dimen/thumbnail_margin" |
nicolasroard | 14dafd6 | 2012-10-05 03:48:34 -0700 | [diff] [blame] | 200 | android:orientation="horizontal" > |
| 201 | </LinearLayout> |
| 202 | </HorizontalScrollView> |
nicolasroard | 4cc4609 | 2012-09-25 14:27:56 -0700 | [diff] [blame] | 203 | |
nicolasroard | 14dafd6 | 2012-10-05 03:48:34 -0700 | [diff] [blame] | 204 | <HorizontalScrollView |
| 205 | android:id="@+id/bordersList" |
| 206 | android:layout_width="match_parent" |
nicolasroard | 0f1bb9f | 2012-10-17 12:47:53 -0700 | [diff] [blame] | 207 | android:layout_height="@dimen/thumbnail_size" |
Bobby Georgescu | 67ca0a7 | 2012-10-10 23:10:36 -0700 | [diff] [blame] | 208 | android:visibility="gone" |
| 209 | android:scrollbars="none" > |
nicolasroard | 4cc4609 | 2012-09-25 14:27:56 -0700 | [diff] [blame] | 210 | |
nicolasroard | 14dafd6 | 2012-10-05 03:48:34 -0700 | [diff] [blame] | 211 | <LinearLayout |
| 212 | android:id="@+id/listBorders" |
| 213 | android:layout_width="wrap_content" |
| 214 | android:layout_height="match_parent" |
nicolasroard | 0f1bb9f | 2012-10-17 12:47:53 -0700 | [diff] [blame] | 215 | android:layout_marginLeft="@dimen/thumbnail_margin" |
nicolasroard | 14dafd6 | 2012-10-05 03:48:34 -0700 | [diff] [blame] | 216 | android:orientation="horizontal" > |
| 217 | </LinearLayout> |
| 218 | </HorizontalScrollView> |
nicolasroard | 4cc4609 | 2012-09-25 14:27:56 -0700 | [diff] [blame] | 219 | |
nicolasroard | 14dafd6 | 2012-10-05 03:48:34 -0700 | [diff] [blame] | 220 | <HorizontalScrollView |
| 221 | android:id="@+id/geometryList" |
| 222 | android:layout_width="fill_parent" |
nicolasroard | 0f1bb9f | 2012-10-17 12:47:53 -0700 | [diff] [blame] | 223 | android:layout_height="@dimen/thumbnail_size" |
nicolasroard | 8737310 | 2012-10-09 16:34:58 -0700 | [diff] [blame] | 224 | android:background="@color/background_main_toolbar" |
Bobby Georgescu | 67ca0a7 | 2012-10-10 23:10:36 -0700 | [diff] [blame] | 225 | android:visibility="gone" |
| 226 | android:scrollbars="none" > |
nicolasroard | 4cc4609 | 2012-09-25 14:27:56 -0700 | [diff] [blame] | 227 | |
nicolasroard | 14dafd6 | 2012-10-05 03:48:34 -0700 | [diff] [blame] | 228 | <LinearLayout |
| 229 | android:id="@+id/listGeometry" |
| 230 | android:layout_width="wrap_content" |
| 231 | android:layout_height="fill_parent" |
John Hoford | 9091fa9 | 2012-10-11 21:04:41 -0700 | [diff] [blame] | 232 | android:layout_gravity="center" |
| 233 | android:orientation="horizontal"> |
nicolasroard | 4cc4609 | 2012-09-25 14:27:56 -0700 | [diff] [blame] | 234 | |
nicolasroard | 14dafd6 | 2012-10-05 03:48:34 -0700 | [diff] [blame] | 235 | <com.android.gallery3d.filtershow.ui.ImageButtonTitle |
| 236 | android:id="@+id/straightenButton" |
| 237 | style="@style/FilterShowBottomButton" |
| 238 | android:src="@drawable/filtershow_button_geometry_straighten" |
| 239 | android:text="@string/straighten" /> |
John Hoford | 5de46c3 | 2012-09-27 16:34:21 -0700 | [diff] [blame] | 240 | |
nicolasroard | 14dafd6 | 2012-10-05 03:48:34 -0700 | [diff] [blame] | 241 | <com.android.gallery3d.filtershow.ui.ImageButtonTitle |
| 242 | android:id="@+id/cropButton" |
| 243 | style="@style/FilterShowBottomButton" |
| 244 | android:src="@drawable/filtershow_button_geometry_crop" |
| 245 | android:text="@string/crop" /> |
nicolasroard | 7a9f746 | 2012-09-28 18:26:53 -0700 | [diff] [blame] | 246 | |
nicolasroard | 14dafd6 | 2012-10-05 03:48:34 -0700 | [diff] [blame] | 247 | <com.android.gallery3d.filtershow.ui.ImageButtonTitle |
| 248 | android:id="@+id/rotateButton" |
| 249 | style="@style/FilterShowBottomButton" |
| 250 | android:src="@drawable/filtershow_button_geometry_rotate" |
| 251 | android:text="@string/rotate" /> |
nicolasroard | 7a9f746 | 2012-09-28 18:26:53 -0700 | [diff] [blame] | 252 | |
nicolasroard | 14dafd6 | 2012-10-05 03:48:34 -0700 | [diff] [blame] | 253 | <com.android.gallery3d.filtershow.ui.ImageButtonTitle |
| 254 | android:id="@+id/flipButton" |
| 255 | style="@style/FilterShowBottomButton" |
| 256 | android:src="@drawable/filtershow_button_geometry_flip" |
Ruben Brunk | ced4d27 | 2012-10-17 03:29:08 -0700 | [diff] [blame] | 257 | android:text="@string/mirror" /> |
John Hoford | b1ae4b1 | 2012-10-08 14:21:57 -0700 | [diff] [blame] | 258 | |
| 259 | <com.android.gallery3d.filtershow.ui.ImageButtonTitle |
| 260 | android:id="@+id/redEyeButton" |
| 261 | style="@style/FilterShowBottomButton" |
| 262 | android:src="@drawable/photoeditor_effect_redeye" |
John Hoford | ad4889c | 2012-10-10 14:17:30 -0700 | [diff] [blame] | 263 | android:text="@string/redeye" |
| 264 | android:visibility="gone" /> |
| 265 | |
nicolasroard | 14dafd6 | 2012-10-05 03:48:34 -0700 | [diff] [blame] | 266 | </LinearLayout> |
| 267 | </HorizontalScrollView> |
nicolasroard | 4cc4609 | 2012-09-25 14:27:56 -0700 | [diff] [blame] | 268 | |
nicolasroard | 14dafd6 | 2012-10-05 03:48:34 -0700 | [diff] [blame] | 269 | <HorizontalScrollView |
| 270 | android:id="@+id/colorsFxList" |
| 271 | android:layout_width="fill_parent" |
nicolasroard | 0f1bb9f | 2012-10-17 12:47:53 -0700 | [diff] [blame] | 272 | android:layout_height="@dimen/thumbnail_size" |
nicolasroard | 8737310 | 2012-10-09 16:34:58 -0700 | [diff] [blame] | 273 | android:background="@color/background_main_toolbar" |
Bobby Georgescu | 67ca0a7 | 2012-10-10 23:10:36 -0700 | [diff] [blame] | 274 | android:visibility="gone" |
| 275 | android:scrollbars="none" > |
nicolasroard | 7a9f746 | 2012-09-28 18:26:53 -0700 | [diff] [blame] | 276 | |
nicolasroard | 14dafd6 | 2012-10-05 03:48:34 -0700 | [diff] [blame] | 277 | <LinearLayout |
| 278 | android:id="@+id/listColorsFx" |
| 279 | android:layout_width="wrap_content" |
| 280 | android:layout_height="wrap_content" |
nicolasroard | 0f1bb9f | 2012-10-17 12:47:53 -0700 | [diff] [blame] | 281 | android:layout_marginLeft="@dimen/thumbnail_margin" |
nicolasroard | 14dafd6 | 2012-10-05 03:48:34 -0700 | [diff] [blame] | 282 | android:orientation="horizontal" > |
Sascha Haeberling | 5181cd2 | 2012-10-18 00:36:02 -0700 | [diff] [blame] | 283 | <com.android.gallery3d.filtershow.ui.ImageButtonTitle |
| 284 | android:id="@+id/tinyplanetButton" |
| 285 | style="@style/FilterShowBottomButton" |
| 286 | android:src="@drawable/filtershow_button_colors_contrast" |
| 287 | android:text="@string/tinyplanet" /> |
nicolasroard | 14dafd6 | 2012-10-05 03:48:34 -0700 | [diff] [blame] | 288 | |
| 289 | <com.android.gallery3d.filtershow.ui.ImageButtonTitle |
John Hoford | ad4889c | 2012-10-10 14:17:30 -0700 | [diff] [blame] | 290 | android:id="@+id/wbalanceButton" |
| 291 | style="@style/FilterShowBottomButton" |
| 292 | android:src="@drawable/filtershow_button_colors_contrast" |
| 293 | android:text="@string/wbalance" /> |
| 294 | |
| 295 | <com.android.gallery3d.filtershow.ui.ImageButtonTitle |
nicolasroard | 14dafd6 | 2012-10-05 03:48:34 -0700 | [diff] [blame] | 296 | android:id="@+id/exposureButton" |
| 297 | style="@style/FilterShowBottomButton" |
| 298 | android:src="@drawable/filtershow_button_colors_contrast" |
| 299 | android:text="@string/exposure" /> |
| 300 | |
| 301 | <com.android.gallery3d.filtershow.ui.ImageButtonTitle |
Ruben Brunk | ced4d27 | 2012-10-17 03:29:08 -0700 | [diff] [blame] | 302 | android:id="@+id/vignetteButton" |
nicolasroard | 14dafd6 | 2012-10-05 03:48:34 -0700 | [diff] [blame] | 303 | style="@style/FilterShowBottomButton" |
Ruben Brunk | ced4d27 | 2012-10-17 03:29:08 -0700 | [diff] [blame] | 304 | android:src="@drawable/filtershow_button_colors_vignette" |
| 305 | android:text="@string/vignette" /> |
nicolasroard | 14dafd6 | 2012-10-05 03:48:34 -0700 | [diff] [blame] | 306 | |
| 307 | <com.android.gallery3d.filtershow.ui.ImageButtonTitle |
nicolasroard | 14dafd6 | 2012-10-05 03:48:34 -0700 | [diff] [blame] | 308 | android:id="@+id/contrastButton" |
| 309 | style="@style/FilterShowBottomButton" |
| 310 | android:src="@drawable/filtershow_button_colors_contrast" |
| 311 | android:text="@string/contrast" /> |
| 312 | |
| 313 | <com.android.gallery3d.filtershow.ui.ImageButtonTitle |
| 314 | android:id="@+id/shadowRecoveryButton" |
| 315 | style="@style/FilterShowBottomButton" |
| 316 | android:src="@drawable/filtershow_button_colors_contrast" |
| 317 | android:text="@string/shadow_recovery" /> |
| 318 | |
| 319 | <com.android.gallery3d.filtershow.ui.ImageButtonTitle |
Ruben Brunk | ced4d27 | 2012-10-17 03:29:08 -0700 | [diff] [blame] | 320 | android:id="@+id/vibranceButton" |
nicolasroard | 14dafd6 | 2012-10-05 03:48:34 -0700 | [diff] [blame] | 321 | style="@style/FilterShowBottomButton" |
Ruben Brunk | ced4d27 | 2012-10-17 03:29:08 -0700 | [diff] [blame] | 322 | android:src="@drawable/filtershow_button_colors_contrast" |
| 323 | android:text="@string/vibrance" /> |
nicolasroard | 14dafd6 | 2012-10-05 03:48:34 -0700 | [diff] [blame] | 324 | |
| 325 | <com.android.gallery3d.filtershow.ui.ImageButtonTitle |
| 326 | android:id="@+id/sharpenButton" |
| 327 | style="@style/FilterShowBottomButton" |
| 328 | android:src="@drawable/filtershow_button_colors_sharpen" |
Ruben Brunk | ced4d27 | 2012-10-17 03:29:08 -0700 | [diff] [blame] | 329 | android:text="@string/sharpness" /> |
nicolasroard | 14dafd6 | 2012-10-05 03:48:34 -0700 | [diff] [blame] | 330 | |
| 331 | <com.android.gallery3d.filtershow.ui.ImageButtonTitle |
nicolasroard | 14dafd6 | 2012-10-05 03:48:34 -0700 | [diff] [blame] | 332 | android:id="@+id/curvesButtonRGB" |
| 333 | style="@style/FilterShowBottomButton" |
| 334 | android:src="@drawable/filtershow_button_colors_curve" |
| 335 | android:text="@string/curvesRGB" /> |
| 336 | |
John Hoford | ad4889c | 2012-10-10 14:17:30 -0700 | [diff] [blame] | 337 | <com.android.gallery3d.filtershow.ui.ImageButtonTitle |
| 338 | android:id="@+id/hueButton" |
| 339 | style="@style/FilterShowBottomButton" |
| 340 | android:src="@drawable/filtershow_button_colors_contrast" |
| 341 | android:text="@string/hue" /> |
| 342 | |
| 343 | <com.android.gallery3d.filtershow.ui.ImageButtonTitle |
| 344 | android:id="@+id/saturationButton" |
| 345 | style="@style/FilterShowBottomButton" |
| 346 | android:src="@drawable/filtershow_button_colors_contrast" |
| 347 | android:text="@string/saturation" /> |
| 348 | |
nicolasroard | 14dafd6 | 2012-10-05 03:48:34 -0700 | [diff] [blame] | 349 | </LinearLayout> |
| 350 | </HorizontalScrollView> |
| 351 | </FrameLayout> |
nicolasroard | 4cc4609 | 2012-09-25 14:27:56 -0700 | [diff] [blame] | 352 | |
nicolasroard | c47b09c | 2012-10-11 21:36:12 -0700 | [diff] [blame] | 353 | <View |
| 354 | android:background="@color/toolbar_separation_line" |
| 355 | android:layout_height="1dip" |
| 356 | android:layout_width="match_parent" /> |
| 357 | |
John Hoford | 9091fa9 | 2012-10-11 21:04:41 -0700 | [diff] [blame] | 358 | <com.android.gallery3d.filtershow.CenteredLinearLayout |
| 359 | xmlns:custom="http://schemas.android.com/apk/res/com.android.gallery3d" |
| 360 | android:id="@+id/mainPanel" |
| 361 | android:layout_width="match_parent" |
| 362 | android:layout_height="wrap_content" |
| 363 | android:layout_gravity="center" |
| 364 | custom:max_width="400dip" |
| 365 | android:orientation="vertical"> |
| 366 | |
nicolasroard | 4cc4609 | 2012-09-25 14:27:56 -0700 | [diff] [blame] | 367 | <LinearLayout |
| 368 | android:layout_width="match_parent" |
| 369 | android:layout_height="48dip" |
| 370 | android:background="@color/background_main_toolbar" > |
| 371 | |
| 372 | <ImageButton |
| 373 | android:id="@+id/fxButton" |
nicolasroard | 0f1bb9f | 2012-10-17 12:47:53 -0700 | [diff] [blame] | 374 | android:layout_width="@dimen/thumbnail_size" |
nicolasroard | 4cc4609 | 2012-09-25 14:27:56 -0700 | [diff] [blame] | 375 | android:layout_height="match_parent" |
| 376 | android:layout_weight="1" |
| 377 | android:background="@drawable/filtershow_button_background" |
| 378 | android:scaleType="centerInside" |
nicolasroard | 14dafd6 | 2012-10-05 03:48:34 -0700 | [diff] [blame] | 379 | android:src="@drawable/ic_photoeditor_effects" /> |
nicolasroard | 4cc4609 | 2012-09-25 14:27:56 -0700 | [diff] [blame] | 380 | |
| 381 | <ImageButton |
| 382 | android:id="@+id/borderButton" |
nicolasroard | 0f1bb9f | 2012-10-17 12:47:53 -0700 | [diff] [blame] | 383 | android:layout_width="@dimen/thumbnail_size" |
nicolasroard | 4cc4609 | 2012-09-25 14:27:56 -0700 | [diff] [blame] | 384 | android:layout_height="match_parent" |
| 385 | android:layout_weight="1" |
| 386 | android:background="@drawable/filtershow_button_background" |
| 387 | android:padding="2dip" |
| 388 | android:scaleType="centerInside" |
nicolasroard | 14dafd6 | 2012-10-05 03:48:34 -0700 | [diff] [blame] | 389 | android:src="@drawable/ic_photoeditor_border" /> |
nicolasroard | 4cc4609 | 2012-09-25 14:27:56 -0700 | [diff] [blame] | 390 | |
| 391 | <ImageButton |
| 392 | android:id="@+id/geometryButton" |
nicolasroard | 0f1bb9f | 2012-10-17 12:47:53 -0700 | [diff] [blame] | 393 | android:layout_width="@dimen/thumbnail_size" |
nicolasroard | 4cc4609 | 2012-09-25 14:27:56 -0700 | [diff] [blame] | 394 | android:layout_height="match_parent" |
| 395 | android:layout_weight="1" |
| 396 | android:background="@drawable/filtershow_button_background" |
| 397 | android:padding="2dip" |
| 398 | android:scaleType="centerInside" |
nicolasroard | 14dafd6 | 2012-10-05 03:48:34 -0700 | [diff] [blame] | 399 | android:src="@drawable/ic_photoeditor_fix" /> |
nicolasroard | 4cc4609 | 2012-09-25 14:27:56 -0700 | [diff] [blame] | 400 | |
| 401 | <ImageButton |
| 402 | android:id="@+id/colorsButton" |
nicolasroard | 0f1bb9f | 2012-10-17 12:47:53 -0700 | [diff] [blame] | 403 | android:layout_width="@dimen/thumbnail_size" |
nicolasroard | 4cc4609 | 2012-09-25 14:27:56 -0700 | [diff] [blame] | 404 | android:layout_height="match_parent" |
| 405 | android:layout_weight="1" |
| 406 | android:background="@drawable/filtershow_button_background" |
| 407 | android:padding="2dip" |
| 408 | android:scaleType="centerInside" |
nicolasroard | 14dafd6 | 2012-10-05 03:48:34 -0700 | [diff] [blame] | 409 | android:src="@drawable/ic_photoeditor_color" /> |
nicolasroard | 4cc4609 | 2012-09-25 14:27:56 -0700 | [diff] [blame] | 410 | </LinearLayout> |
John Hoford | 9091fa9 | 2012-10-11 21:04:41 -0700 | [diff] [blame] | 411 | |
| 412 | </com.android.gallery3d.filtershow.CenteredLinearLayout> |
| 413 | |
| 414 | </com.android.gallery3d.filtershow.CenteredLinearLayout> |
nicolasroard | 4cc4609 | 2012-09-25 14:27:56 -0700 | [diff] [blame] | 415 | </LinearLayout> |
| 416 | |
nicolasroard | c4e553b | 2012-10-21 14:53:03 -0700 | [diff] [blame^] | 417 | <LinearLayout |
| 418 | android:id="@+id/historyPanel" |
| 419 | android:layout_width="200dip" |
| 420 | android:layout_height="match_parent" |
| 421 | android:layout_gravity="right" |
| 422 | android:orientation="vertical" |
| 423 | android:visibility="invisible" > |
| 424 | |
| 425 | <TextView |
| 426 | android:layout_width="match_parent" |
| 427 | android:layout_height="wrap_content" |
| 428 | android:background="@android:color/transparent" |
| 429 | android:gravity="center" |
| 430 | android:padding="2dip" |
| 431 | android:text="@string/history" |
| 432 | android:textColor="@android:color/white" |
| 433 | android:textSize="24sp" |
| 434 | android:textStyle="bold" /> |
| 435 | |
| 436 | <ListView |
| 437 | android:id="@+id/operationsList" |
| 438 | android:layout_width="match_parent" |
| 439 | android:layout_height="wrap_content" |
| 440 | android:layout_weight="1" > |
| 441 | </ListView> |
| 442 | |
| 443 | <LinearLayout |
| 444 | android:layout_width="match_parent" |
| 445 | android:layout_height="wrap_content" |
| 446 | android:orientation="horizontal" > |
| 447 | |
| 448 | <Button |
| 449 | android:id="@+id/resetOperationsButton" |
| 450 | style="@style/FilterShowHistoryButton" |
| 451 | android:gravity="center" |
| 452 | android:text="@string/reset" /> |
| 453 | |
| 454 | <Button |
| 455 | android:id="@+id/saveOperationsButton" |
| 456 | style="@style/FilterShowHistoryButton" |
| 457 | android:text="@string/save" |
| 458 | android:visibility="gone" /> |
| 459 | </LinearLayout> |
| 460 | </LinearLayout> |
| 461 | |
Ruben Brunk | 16f709d | 2012-09-27 12:38:08 -0700 | [diff] [blame] | 462 | </FrameLayout> |