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 | 0f1bb9f | 2012-10-17 12:47:53 -0700 | [diff] [blame^] | 21 | android:background="@color/background_screen" > |
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" |
nicolasroard | 0f1bb9f | 2012-10-17 12:47:53 -0700 | [diff] [blame^] | 179 | android:background="@color/background_main_toolbar" |
John Hoford | 9091fa9 | 2012-10-11 21:04:41 -0700 | [diff] [blame] | 180 | custom:max_width="600dip" |
| 181 | android:orientation="vertical"> |
| 182 | |
nicolasroard | 14dafd6 | 2012-10-05 03:48:34 -0700 | [diff] [blame] | 183 | <FrameLayout |
| 184 | android:id="@+id/secondRowPanel" |
nicolasroard | 4cc4609 | 2012-09-25 14:27:56 -0700 | [diff] [blame] | 185 | android:layout_width="fill_parent" |
nicolasroard | 14dafd6 | 2012-10-05 03:48:34 -0700 | [diff] [blame] | 186 | android:layout_height="wrap_content" > |
nicolasroard | 4cc4609 | 2012-09-25 14:27:56 -0700 | [diff] [blame] | 187 | |
| 188 | <LinearLayout |
nicolasroard | 14dafd6 | 2012-10-05 03:48:34 -0700 | [diff] [blame] | 189 | android:id="@+id/filterButtonsList" |
| 190 | android:layout_width="fill_parent" |
nicolasroard | 0f1bb9f | 2012-10-17 12:47:53 -0700 | [diff] [blame^] | 191 | android:layout_height="@dimen/thumbnail_size" |
nicolasroard | 8737310 | 2012-10-09 16:34:58 -0700 | [diff] [blame] | 192 | android:background="@color/background_main_toolbar" |
nicolasroard | 14dafd6 | 2012-10-05 03:48:34 -0700 | [diff] [blame] | 193 | android:orientation="horizontal" |
| 194 | android:visibility="gone" > |
nicolasroard | 4cc4609 | 2012-09-25 14:27:56 -0700 | [diff] [blame] | 195 | |
Ruben Brunk | b3e3014 | 2012-10-15 12:02:54 -0700 | [diff] [blame] | 196 | <com.android.gallery3d.filtershow.ui.ImageButtonTitle |
| 197 | android:id="@+id/aspect" |
| 198 | style="@style/FilterShowBottomButton" |
| 199 | android:layout_gravity="left" |
| 200 | android:layout_weight="0" |
| 201 | android:visibility="gone" |
| 202 | android:src="@drawable/filtershow_button_geometry_straighten" |
| 203 | android:text="@string/aspectNone_effect" /> |
| 204 | |
nicolasroard | ca51847 | 2012-10-15 18:03:37 -0700 | [diff] [blame] | 205 | <ImageButton |
| 206 | android:id="@+id/pickCurvesChannel" |
| 207 | android:layout_width="64dip" |
| 208 | android:layout_height="64dip" |
| 209 | android:layout_gravity="center_vertical|left" |
| 210 | android:scaleType="centerInside" |
| 211 | android:text="@string/curvesRGB" |
| 212 | android:src="@drawable/filtershow_button_show_original" /> |
| 213 | |
nicolasroard | 14dafd6 | 2012-10-05 03:48:34 -0700 | [diff] [blame] | 214 | <Button |
| 215 | android:id="@+id/applyEffect" |
nicolasroard | 3cc77a6 | 2012-10-12 01:16:31 -0700 | [diff] [blame] | 216 | android:layout_width="wrap_content" |
nicolasroard | 14dafd6 | 2012-10-05 03:48:34 -0700 | [diff] [blame] | 217 | android:layout_height="94dip" |
| 218 | android:layout_gravity="center" |
| 219 | android:layout_weight="1" |
| 220 | android:background="@android:color/transparent" |
| 221 | android:gravity="center" |
| 222 | android:text="@string/apply_effect" |
Bart Sears | e63a412 | 2012-10-11 20:34:21 -0700 | [diff] [blame] | 223 | android:textSize="18dip" /> |
nicolasroard | 4cc4609 | 2012-09-25 14:27:56 -0700 | [diff] [blame] | 224 | </LinearLayout> |
nicolasroard | 4cc4609 | 2012-09-25 14:27:56 -0700 | [diff] [blame] | 225 | |
nicolasroard | 14dafd6 | 2012-10-05 03:48:34 -0700 | [diff] [blame] | 226 | <HorizontalScrollView |
| 227 | android:id="@+id/fxList" |
| 228 | android:layout_width="match_parent" |
nicolasroard | 0f1bb9f | 2012-10-17 12:47:53 -0700 | [diff] [blame^] | 229 | android:layout_height="@dimen/thumbnail_size" |
Bobby Georgescu | 67ca0a7 | 2012-10-10 23:10:36 -0700 | [diff] [blame] | 230 | android:scrollbars="none" > |
nicolasroard | 4cc4609 | 2012-09-25 14:27:56 -0700 | [diff] [blame] | 231 | |
nicolasroard | 14dafd6 | 2012-10-05 03:48:34 -0700 | [diff] [blame] | 232 | <LinearLayout |
| 233 | android:id="@+id/listFilters" |
| 234 | android:layout_width="wrap_content" |
| 235 | android:layout_height="match_parent" |
nicolasroard | 0f1bb9f | 2012-10-17 12:47:53 -0700 | [diff] [blame^] | 236 | android:layout_marginLeft="@dimen/thumbnail_margin" |
nicolasroard | 14dafd6 | 2012-10-05 03:48:34 -0700 | [diff] [blame] | 237 | android:orientation="horizontal" > |
| 238 | </LinearLayout> |
| 239 | </HorizontalScrollView> |
nicolasroard | 4cc4609 | 2012-09-25 14:27:56 -0700 | [diff] [blame] | 240 | |
nicolasroard | 14dafd6 | 2012-10-05 03:48:34 -0700 | [diff] [blame] | 241 | <HorizontalScrollView |
| 242 | android:id="@+id/bordersList" |
| 243 | android:layout_width="match_parent" |
nicolasroard | 0f1bb9f | 2012-10-17 12:47:53 -0700 | [diff] [blame^] | 244 | android:layout_height="@dimen/thumbnail_size" |
Bobby Georgescu | 67ca0a7 | 2012-10-10 23:10:36 -0700 | [diff] [blame] | 245 | android:visibility="gone" |
| 246 | android:scrollbars="none" > |
nicolasroard | 4cc4609 | 2012-09-25 14:27:56 -0700 | [diff] [blame] | 247 | |
nicolasroard | 14dafd6 | 2012-10-05 03:48:34 -0700 | [diff] [blame] | 248 | <LinearLayout |
| 249 | android:id="@+id/listBorders" |
| 250 | android:layout_width="wrap_content" |
| 251 | android:layout_height="match_parent" |
nicolasroard | 0f1bb9f | 2012-10-17 12:47:53 -0700 | [diff] [blame^] | 252 | android:layout_marginLeft="@dimen/thumbnail_margin" |
nicolasroard | 14dafd6 | 2012-10-05 03:48:34 -0700 | [diff] [blame] | 253 | android:orientation="horizontal" > |
| 254 | </LinearLayout> |
| 255 | </HorizontalScrollView> |
nicolasroard | 4cc4609 | 2012-09-25 14:27:56 -0700 | [diff] [blame] | 256 | |
nicolasroard | 14dafd6 | 2012-10-05 03:48:34 -0700 | [diff] [blame] | 257 | <HorizontalScrollView |
| 258 | android:id="@+id/geometryList" |
| 259 | android:layout_width="fill_parent" |
nicolasroard | 0f1bb9f | 2012-10-17 12:47:53 -0700 | [diff] [blame^] | 260 | android:layout_height="@dimen/thumbnail_size" |
nicolasroard | 8737310 | 2012-10-09 16:34:58 -0700 | [diff] [blame] | 261 | android:background="@color/background_main_toolbar" |
Bobby Georgescu | 67ca0a7 | 2012-10-10 23:10:36 -0700 | [diff] [blame] | 262 | android:visibility="gone" |
| 263 | android:scrollbars="none" > |
nicolasroard | 4cc4609 | 2012-09-25 14:27:56 -0700 | [diff] [blame] | 264 | |
nicolasroard | 14dafd6 | 2012-10-05 03:48:34 -0700 | [diff] [blame] | 265 | <LinearLayout |
| 266 | android:id="@+id/listGeometry" |
| 267 | android:layout_width="wrap_content" |
| 268 | android:layout_height="fill_parent" |
John Hoford | 9091fa9 | 2012-10-11 21:04:41 -0700 | [diff] [blame] | 269 | android:layout_gravity="center" |
| 270 | android:orientation="horizontal"> |
nicolasroard | 4cc4609 | 2012-09-25 14:27:56 -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/straightenButton" |
| 274 | style="@style/FilterShowBottomButton" |
| 275 | android:src="@drawable/filtershow_button_geometry_straighten" |
| 276 | android:text="@string/straighten" /> |
John Hoford | 5de46c3 | 2012-09-27 16:34:21 -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/cropButton" |
| 280 | style="@style/FilterShowBottomButton" |
| 281 | android:src="@drawable/filtershow_button_geometry_crop" |
| 282 | android:text="@string/crop" /> |
nicolasroard | 7a9f746 | 2012-09-28 18:26:53 -0700 | [diff] [blame] | 283 | |
nicolasroard | 14dafd6 | 2012-10-05 03:48:34 -0700 | [diff] [blame] | 284 | <com.android.gallery3d.filtershow.ui.ImageButtonTitle |
| 285 | android:id="@+id/rotateButton" |
| 286 | style="@style/FilterShowBottomButton" |
| 287 | android:src="@drawable/filtershow_button_geometry_rotate" |
| 288 | android:text="@string/rotate" /> |
nicolasroard | 7a9f746 | 2012-09-28 18:26:53 -0700 | [diff] [blame] | 289 | |
nicolasroard | 14dafd6 | 2012-10-05 03:48:34 -0700 | [diff] [blame] | 290 | <com.android.gallery3d.filtershow.ui.ImageButtonTitle |
| 291 | android:id="@+id/flipButton" |
| 292 | style="@style/FilterShowBottomButton" |
| 293 | android:src="@drawable/filtershow_button_geometry_flip" |
| 294 | android:text="@string/flip" /> |
John Hoford | b1ae4b1 | 2012-10-08 14:21:57 -0700 | [diff] [blame] | 295 | |
| 296 | <com.android.gallery3d.filtershow.ui.ImageButtonTitle |
| 297 | android:id="@+id/redEyeButton" |
| 298 | style="@style/FilterShowBottomButton" |
| 299 | android:src="@drawable/photoeditor_effect_redeye" |
John Hoford | ad4889c | 2012-10-10 14:17:30 -0700 | [diff] [blame] | 300 | android:text="@string/redeye" |
| 301 | android:visibility="gone" /> |
| 302 | |
nicolasroard | 14dafd6 | 2012-10-05 03:48:34 -0700 | [diff] [blame] | 303 | </LinearLayout> |
| 304 | </HorizontalScrollView> |
nicolasroard | 4cc4609 | 2012-09-25 14:27:56 -0700 | [diff] [blame] | 305 | |
nicolasroard | 14dafd6 | 2012-10-05 03:48:34 -0700 | [diff] [blame] | 306 | <HorizontalScrollView |
| 307 | android:id="@+id/colorsFxList" |
| 308 | android:layout_width="fill_parent" |
nicolasroard | 0f1bb9f | 2012-10-17 12:47:53 -0700 | [diff] [blame^] | 309 | android:layout_height="@dimen/thumbnail_size" |
nicolasroard | 8737310 | 2012-10-09 16:34:58 -0700 | [diff] [blame] | 310 | android:background="@color/background_main_toolbar" |
Bobby Georgescu | 67ca0a7 | 2012-10-10 23:10:36 -0700 | [diff] [blame] | 311 | android:visibility="gone" |
| 312 | android:scrollbars="none" > |
nicolasroard | 7a9f746 | 2012-09-28 18:26:53 -0700 | [diff] [blame] | 313 | |
nicolasroard | 14dafd6 | 2012-10-05 03:48:34 -0700 | [diff] [blame] | 314 | <LinearLayout |
| 315 | android:id="@+id/listColorsFx" |
| 316 | android:layout_width="wrap_content" |
| 317 | android:layout_height="wrap_content" |
nicolasroard | 0f1bb9f | 2012-10-17 12:47:53 -0700 | [diff] [blame^] | 318 | android:layout_marginLeft="@dimen/thumbnail_margin" |
nicolasroard | 14dafd6 | 2012-10-05 03:48:34 -0700 | [diff] [blame] | 319 | android:orientation="horizontal" > |
| 320 | |
| 321 | <com.android.gallery3d.filtershow.ui.ImageButtonTitle |
John Hoford | ad4889c | 2012-10-10 14:17:30 -0700 | [diff] [blame] | 322 | android:id="@+id/wbalanceButton" |
| 323 | style="@style/FilterShowBottomButton" |
| 324 | android:src="@drawable/filtershow_button_colors_contrast" |
| 325 | android:text="@string/wbalance" /> |
| 326 | |
| 327 | <com.android.gallery3d.filtershow.ui.ImageButtonTitle |
nicolasroard | 14dafd6 | 2012-10-05 03:48:34 -0700 | [diff] [blame] | 328 | android:id="@+id/exposureButton" |
| 329 | style="@style/FilterShowBottomButton" |
| 330 | android:src="@drawable/filtershow_button_colors_contrast" |
| 331 | android:text="@string/exposure" /> |
| 332 | |
| 333 | <com.android.gallery3d.filtershow.ui.ImageButtonTitle |
| 334 | android:id="@+id/vibranceButton" |
| 335 | style="@style/FilterShowBottomButton" |
| 336 | android:src="@drawable/filtershow_button_colors_contrast" |
| 337 | android:text="@string/vibrance" /> |
| 338 | |
| 339 | <com.android.gallery3d.filtershow.ui.ImageButtonTitle |
nicolasroard | 14dafd6 | 2012-10-05 03:48:34 -0700 | [diff] [blame] | 340 | android:id="@+id/contrastButton" |
| 341 | style="@style/FilterShowBottomButton" |
| 342 | android:src="@drawable/filtershow_button_colors_contrast" |
| 343 | android:text="@string/contrast" /> |
| 344 | |
| 345 | <com.android.gallery3d.filtershow.ui.ImageButtonTitle |
| 346 | android:id="@+id/shadowRecoveryButton" |
| 347 | style="@style/FilterShowBottomButton" |
| 348 | android:src="@drawable/filtershow_button_colors_contrast" |
| 349 | android:text="@string/shadow_recovery" /> |
| 350 | |
| 351 | <com.android.gallery3d.filtershow.ui.ImageButtonTitle |
| 352 | android:id="@+id/vignetteButton" |
| 353 | style="@style/FilterShowBottomButton" |
| 354 | android:src="@drawable/filtershow_button_colors_vignette" |
| 355 | android:text="@string/vignette" /> |
| 356 | |
| 357 | <com.android.gallery3d.filtershow.ui.ImageButtonTitle |
| 358 | android:id="@+id/sharpenButton" |
| 359 | style="@style/FilterShowBottomButton" |
| 360 | android:src="@drawable/filtershow_button_colors_sharpen" |
| 361 | android:text="@string/sharpen" /> |
| 362 | |
| 363 | <com.android.gallery3d.filtershow.ui.ImageButtonTitle |
nicolasroard | 14dafd6 | 2012-10-05 03:48:34 -0700 | [diff] [blame] | 364 | android:id="@+id/curvesButtonRGB" |
| 365 | style="@style/FilterShowBottomButton" |
| 366 | android:src="@drawable/filtershow_button_colors_curve" |
| 367 | android:text="@string/curvesRGB" /> |
| 368 | |
John Hoford | ad4889c | 2012-10-10 14:17:30 -0700 | [diff] [blame] | 369 | <com.android.gallery3d.filtershow.ui.ImageButtonTitle |
| 370 | android:id="@+id/hueButton" |
| 371 | style="@style/FilterShowBottomButton" |
| 372 | android:src="@drawable/filtershow_button_colors_contrast" |
| 373 | android:text="@string/hue" /> |
| 374 | |
| 375 | <com.android.gallery3d.filtershow.ui.ImageButtonTitle |
| 376 | android:id="@+id/saturationButton" |
| 377 | style="@style/FilterShowBottomButton" |
| 378 | android:src="@drawable/filtershow_button_colors_contrast" |
| 379 | android:text="@string/saturation" /> |
| 380 | |
nicolasroard | 14dafd6 | 2012-10-05 03:48:34 -0700 | [diff] [blame] | 381 | </LinearLayout> |
| 382 | </HorizontalScrollView> |
| 383 | </FrameLayout> |
nicolasroard | 4cc4609 | 2012-09-25 14:27:56 -0700 | [diff] [blame] | 384 | |
nicolasroard | c47b09c | 2012-10-11 21:36:12 -0700 | [diff] [blame] | 385 | <View |
| 386 | android:background="@color/toolbar_separation_line" |
| 387 | android:layout_height="1dip" |
| 388 | android:layout_width="match_parent" /> |
| 389 | |
John Hoford | 9091fa9 | 2012-10-11 21:04:41 -0700 | [diff] [blame] | 390 | <com.android.gallery3d.filtershow.CenteredLinearLayout |
| 391 | xmlns:custom="http://schemas.android.com/apk/res/com.android.gallery3d" |
| 392 | android:id="@+id/mainPanel" |
| 393 | android:layout_width="match_parent" |
| 394 | android:layout_height="wrap_content" |
| 395 | android:layout_gravity="center" |
| 396 | custom:max_width="400dip" |
| 397 | android:orientation="vertical"> |
| 398 | |
nicolasroard | 4cc4609 | 2012-09-25 14:27:56 -0700 | [diff] [blame] | 399 | <LinearLayout |
| 400 | android:layout_width="match_parent" |
| 401 | android:layout_height="48dip" |
| 402 | android:background="@color/background_main_toolbar" > |
| 403 | |
| 404 | <ImageButton |
| 405 | android:id="@+id/fxButton" |
nicolasroard | 0f1bb9f | 2012-10-17 12:47:53 -0700 | [diff] [blame^] | 406 | android:layout_width="@dimen/thumbnail_size" |
nicolasroard | 4cc4609 | 2012-09-25 14:27:56 -0700 | [diff] [blame] | 407 | android:layout_height="match_parent" |
| 408 | android:layout_weight="1" |
| 409 | android:background="@drawable/filtershow_button_background" |
| 410 | android:scaleType="centerInside" |
nicolasroard | 14dafd6 | 2012-10-05 03:48:34 -0700 | [diff] [blame] | 411 | android:src="@drawable/ic_photoeditor_effects" /> |
nicolasroard | 4cc4609 | 2012-09-25 14:27:56 -0700 | [diff] [blame] | 412 | |
| 413 | <ImageButton |
| 414 | android:id="@+id/borderButton" |
nicolasroard | 0f1bb9f | 2012-10-17 12:47:53 -0700 | [diff] [blame^] | 415 | android:layout_width="@dimen/thumbnail_size" |
nicolasroard | 4cc4609 | 2012-09-25 14:27:56 -0700 | [diff] [blame] | 416 | android:layout_height="match_parent" |
| 417 | android:layout_weight="1" |
| 418 | android:background="@drawable/filtershow_button_background" |
| 419 | android:padding="2dip" |
| 420 | android:scaleType="centerInside" |
nicolasroard | 14dafd6 | 2012-10-05 03:48:34 -0700 | [diff] [blame] | 421 | android:src="@drawable/ic_photoeditor_border" /> |
nicolasroard | 4cc4609 | 2012-09-25 14:27:56 -0700 | [diff] [blame] | 422 | |
| 423 | <ImageButton |
| 424 | android:id="@+id/geometryButton" |
nicolasroard | 0f1bb9f | 2012-10-17 12:47:53 -0700 | [diff] [blame^] | 425 | android:layout_width="@dimen/thumbnail_size" |
nicolasroard | 4cc4609 | 2012-09-25 14:27:56 -0700 | [diff] [blame] | 426 | android:layout_height="match_parent" |
| 427 | android:layout_weight="1" |
| 428 | android:background="@drawable/filtershow_button_background" |
| 429 | android:padding="2dip" |
| 430 | android:scaleType="centerInside" |
nicolasroard | 14dafd6 | 2012-10-05 03:48:34 -0700 | [diff] [blame] | 431 | android:src="@drawable/ic_photoeditor_fix" /> |
nicolasroard | 4cc4609 | 2012-09-25 14:27:56 -0700 | [diff] [blame] | 432 | |
| 433 | <ImageButton |
| 434 | android:id="@+id/colorsButton" |
nicolasroard | 0f1bb9f | 2012-10-17 12:47:53 -0700 | [diff] [blame^] | 435 | android:layout_width="@dimen/thumbnail_size" |
nicolasroard | 4cc4609 | 2012-09-25 14:27:56 -0700 | [diff] [blame] | 436 | android:layout_height="match_parent" |
| 437 | android:layout_weight="1" |
| 438 | android:background="@drawable/filtershow_button_background" |
| 439 | android:padding="2dip" |
| 440 | android:scaleType="centerInside" |
nicolasroard | 14dafd6 | 2012-10-05 03:48:34 -0700 | [diff] [blame] | 441 | android:src="@drawable/ic_photoeditor_color" /> |
nicolasroard | 4cc4609 | 2012-09-25 14:27:56 -0700 | [diff] [blame] | 442 | </LinearLayout> |
John Hoford | 9091fa9 | 2012-10-11 21:04:41 -0700 | [diff] [blame] | 443 | |
| 444 | </com.android.gallery3d.filtershow.CenteredLinearLayout> |
| 445 | |
| 446 | </com.android.gallery3d.filtershow.CenteredLinearLayout> |
nicolasroard | 4cc4609 | 2012-09-25 14:27:56 -0700 | [diff] [blame] | 447 | </LinearLayout> |
| 448 | |
Ruben Brunk | 16f709d | 2012-09-27 12:38:08 -0700 | [diff] [blame] | 449 | </FrameLayout> |