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