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 | |
nicolasroard | 25844e7 | 2012-10-11 18:12:09 -0700 | [diff] [blame] | 118 | <!-- |
Ruben Brunk | 16f709d | 2012-09-27 12:38:08 -0700 | [diff] [blame] | 119 | <com.android.gallery3d.filtershow.imageshow.ImageCrop |
| 120 | android:id="@+id/imageCrop" |
| 121 | android:layout_width="match_parent" |
| 122 | android:layout_height="wrap_content" |
| 123 | android:visibility="gone" /> |
nicolasroard | 25844e7 | 2012-10-11 18:12:09 -0700 | [diff] [blame] | 124 | --> |
Ruben Brunk | 16f709d | 2012-09-27 12:38:08 -0700 | [diff] [blame] | 125 | |
| 126 | <com.android.gallery3d.filtershow.imageshow.ImageRotate |
| 127 | android:id="@+id/imageRotate" |
| 128 | android:layout_width="match_parent" |
| 129 | android:layout_height="wrap_content" |
| 130 | android:visibility="gone" /> |
| 131 | |
| 132 | <com.android.gallery3d.filtershow.imageshow.ImageFlip |
| 133 | android:id="@+id/imageFlip" |
| 134 | android:layout_width="match_parent" |
| 135 | android:layout_height="wrap_content" |
| 136 | android:visibility="gone" /> |
| 137 | |
nicolasroard | 78042f3 | 2012-09-27 20:54:48 -0700 | [diff] [blame] | 138 | <com.android.gallery3d.filtershow.ui.ImageCurves |
| 139 | android:id="@+id/imageCurves" |
| 140 | android:layout_width="match_parent" |
| 141 | android:layout_height="wrap_content" |
| 142 | android:visibility="gone" /> |
| 143 | |
| 144 | <com.android.gallery3d.filtershow.imageshow.ImageBorder |
| 145 | android:id="@+id/imageBorder" |
| 146 | android:layout_width="match_parent" |
| 147 | android:layout_height="wrap_content" |
| 148 | android:visibility="gone" /> |
nicolasroard | 4cc4609 | 2012-09-25 14:27:56 -0700 | [diff] [blame] | 149 | |
nicolasroard | b6d989e | 2012-10-02 21:57:22 -0700 | [diff] [blame] | 150 | <com.android.gallery3d.filtershow.imageshow.ImageZoom |
| 151 | android:id="@+id/imageZoom" |
| 152 | android:layout_width="match_parent" |
| 153 | android:layout_height="wrap_content" |
| 154 | android:visibility="gone" /> |
| 155 | |
nicolasroard | 14dafd6 | 2012-10-05 03:48:34 -0700 | [diff] [blame] | 156 | <!-- |
nicolasroard | 4cc4609 | 2012-09-25 14:27:56 -0700 | [diff] [blame] | 157 | <ImageButton |
| 158 | android:id="@+id/showOriginalButton" |
nicolasroard | 78042f3 | 2012-09-27 20:54:48 -0700 | [diff] [blame] | 159 | android:layout_width="64dip" |
nicolasroard | 7a9f746 | 2012-09-28 18:26:53 -0700 | [diff] [blame] | 160 | android:layout_height="64dip" |
nicolasroard | 78042f3 | 2012-09-27 20:54:48 -0700 | [diff] [blame] | 161 | android:layout_gravity="bottom" |
nicolasroard | 7a9f746 | 2012-09-28 18:26:53 -0700 | [diff] [blame] | 162 | android:scaleType="centerInside" |
nicolasroard | 4cc4609 | 2012-09-25 14:27:56 -0700 | [diff] [blame] | 163 | android:src="@drawable/filtershow_button_show_original" /> |
nicolasroard | 14dafd6 | 2012-10-05 03:48:34 -0700 | [diff] [blame] | 164 | --> |
| 165 | <SeekBar |
| 166 | android:id="@+id/filterSeekBar" |
| 167 | android:layout_width="match_parent" |
| 168 | android:layout_height="wrap_content" |
| 169 | android:layout_gravity="bottom" |
| 170 | android:padding="16dip" |
| 171 | android:visibility="gone" /> |
nicolasroard | 78042f3 | 2012-09-27 20:54:48 -0700 | [diff] [blame] | 172 | </FrameLayout> |
nicolasroard | 4cc4609 | 2012-09-25 14:27:56 -0700 | [diff] [blame] | 173 | |
John Hoford | 9091fa9 | 2012-10-11 21:04:41 -0700 | [diff] [blame^] | 174 | <com.android.gallery3d.filtershow.CenteredLinearLayout |
| 175 | xmlns:custom="http://schemas.android.com/apk/res/com.android.gallery3d" |
| 176 | android:id="@+id/mainPanel" |
| 177 | android:layout_width="match_parent" |
| 178 | android:layout_height="wrap_content" |
| 179 | android:layout_gravity="center" |
| 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" |
| 191 | android:layout_height="96dip" |
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 | |
nicolasroard | 14dafd6 | 2012-10-05 03:48:34 -0700 | [diff] [blame] | 196 | <Button |
| 197 | android:id="@+id/applyEffect" |
| 198 | android:layout_height="94dip" |
| 199 | android:layout_gravity="center" |
| 200 | android:layout_weight="1" |
| 201 | android:background="@android:color/transparent" |
| 202 | android:gravity="center" |
| 203 | android:text="@string/apply_effect" |
Bart Sears | e63a412 | 2012-10-11 20:34:21 -0700 | [diff] [blame] | 204 | android:textSize="18dip" /> |
nicolasroard | 4cc4609 | 2012-09-25 14:27:56 -0700 | [diff] [blame] | 205 | </LinearLayout> |
nicolasroard | 4cc4609 | 2012-09-25 14:27:56 -0700 | [diff] [blame] | 206 | |
nicolasroard | 14dafd6 | 2012-10-05 03:48:34 -0700 | [diff] [blame] | 207 | <HorizontalScrollView |
| 208 | android:id="@+id/fxList" |
| 209 | android:layout_width="match_parent" |
Bobby Georgescu | 67ca0a7 | 2012-10-10 23:10:36 -0700 | [diff] [blame] | 210 | android:layout_height="96dip" |
| 211 | android:scrollbars="none" > |
nicolasroard | 4cc4609 | 2012-09-25 14:27:56 -0700 | [diff] [blame] | 212 | |
nicolasroard | 14dafd6 | 2012-10-05 03:48:34 -0700 | [diff] [blame] | 213 | <LinearLayout |
| 214 | android:id="@+id/listFilters" |
| 215 | android:layout_width="wrap_content" |
| 216 | android:layout_height="match_parent" |
| 217 | android:orientation="horizontal" > |
| 218 | </LinearLayout> |
| 219 | </HorizontalScrollView> |
nicolasroard | 4cc4609 | 2012-09-25 14:27:56 -0700 | [diff] [blame] | 220 | |
nicolasroard | 14dafd6 | 2012-10-05 03:48:34 -0700 | [diff] [blame] | 221 | <HorizontalScrollView |
| 222 | android:id="@+id/bordersList" |
| 223 | android:layout_width="match_parent" |
| 224 | android:layout_height="96dip" |
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/listBorders" |
| 230 | android:layout_width="wrap_content" |
| 231 | android:layout_height="match_parent" |
| 232 | android:orientation="horizontal" > |
| 233 | </LinearLayout> |
| 234 | </HorizontalScrollView> |
nicolasroard | 4cc4609 | 2012-09-25 14:27:56 -0700 | [diff] [blame] | 235 | |
nicolasroard | 14dafd6 | 2012-10-05 03:48:34 -0700 | [diff] [blame] | 236 | <HorizontalScrollView |
| 237 | android:id="@+id/geometryList" |
| 238 | android:layout_width="fill_parent" |
| 239 | android:layout_height="96dip" |
nicolasroard | 8737310 | 2012-10-09 16:34:58 -0700 | [diff] [blame] | 240 | android:background="@color/background_main_toolbar" |
Bobby Georgescu | 67ca0a7 | 2012-10-10 23:10:36 -0700 | [diff] [blame] | 241 | android:visibility="gone" |
| 242 | android:scrollbars="none" > |
nicolasroard | 4cc4609 | 2012-09-25 14:27:56 -0700 | [diff] [blame] | 243 | |
nicolasroard | 14dafd6 | 2012-10-05 03:48:34 -0700 | [diff] [blame] | 244 | <LinearLayout |
| 245 | android:id="@+id/listGeometry" |
| 246 | android:layout_width="wrap_content" |
| 247 | android:layout_height="fill_parent" |
John Hoford | 9091fa9 | 2012-10-11 21:04:41 -0700 | [diff] [blame^] | 248 | android:layout_gravity="center" |
| 249 | android:orientation="horizontal"> |
nicolasroard | 4cc4609 | 2012-09-25 14:27:56 -0700 | [diff] [blame] | 250 | |
nicolasroard | 14dafd6 | 2012-10-05 03:48:34 -0700 | [diff] [blame] | 251 | <com.android.gallery3d.filtershow.ui.ImageButtonTitle |
| 252 | android:id="@+id/straightenButton" |
| 253 | style="@style/FilterShowBottomButton" |
| 254 | android:src="@drawable/filtershow_button_geometry_straighten" |
| 255 | android:text="@string/straighten" /> |
John Hoford | 5de46c3 | 2012-09-27 16:34:21 -0700 | [diff] [blame] | 256 | |
nicolasroard | 14dafd6 | 2012-10-05 03:48:34 -0700 | [diff] [blame] | 257 | <com.android.gallery3d.filtershow.ui.ImageButtonTitle |
| 258 | android:id="@+id/cropButton" |
| 259 | style="@style/FilterShowBottomButton" |
| 260 | android:src="@drawable/filtershow_button_geometry_crop" |
| 261 | android:text="@string/crop" /> |
nicolasroard | 7a9f746 | 2012-09-28 18:26:53 -0700 | [diff] [blame] | 262 | |
nicolasroard | 14dafd6 | 2012-10-05 03:48:34 -0700 | [diff] [blame] | 263 | <com.android.gallery3d.filtershow.ui.ImageButtonTitle |
| 264 | android:id="@+id/rotateButton" |
| 265 | style="@style/FilterShowBottomButton" |
| 266 | android:src="@drawable/filtershow_button_geometry_rotate" |
| 267 | android:text="@string/rotate" /> |
nicolasroard | 7a9f746 | 2012-09-28 18:26:53 -0700 | [diff] [blame] | 268 | |
nicolasroard | 14dafd6 | 2012-10-05 03:48:34 -0700 | [diff] [blame] | 269 | <com.android.gallery3d.filtershow.ui.ImageButtonTitle |
| 270 | android:id="@+id/flipButton" |
| 271 | style="@style/FilterShowBottomButton" |
| 272 | android:src="@drawable/filtershow_button_geometry_flip" |
| 273 | android:text="@string/flip" /> |
John Hoford | b1ae4b1 | 2012-10-08 14:21:57 -0700 | [diff] [blame] | 274 | |
| 275 | <com.android.gallery3d.filtershow.ui.ImageButtonTitle |
| 276 | android:id="@+id/redEyeButton" |
| 277 | style="@style/FilterShowBottomButton" |
| 278 | android:src="@drawable/photoeditor_effect_redeye" |
John Hoford | ad4889c | 2012-10-10 14:17:30 -0700 | [diff] [blame] | 279 | android:text="@string/redeye" |
| 280 | android:visibility="gone" /> |
| 281 | |
nicolasroard | 14dafd6 | 2012-10-05 03:48:34 -0700 | [diff] [blame] | 282 | </LinearLayout> |
| 283 | </HorizontalScrollView> |
nicolasroard | 4cc4609 | 2012-09-25 14:27:56 -0700 | [diff] [blame] | 284 | |
nicolasroard | 14dafd6 | 2012-10-05 03:48:34 -0700 | [diff] [blame] | 285 | <HorizontalScrollView |
| 286 | android:id="@+id/colorsFxList" |
| 287 | android:layout_width="fill_parent" |
| 288 | android:layout_height="96dip" |
nicolasroard | 8737310 | 2012-10-09 16:34:58 -0700 | [diff] [blame] | 289 | android:background="@color/background_main_toolbar" |
Bobby Georgescu | 67ca0a7 | 2012-10-10 23:10:36 -0700 | [diff] [blame] | 290 | android:visibility="gone" |
| 291 | android:scrollbars="none" > |
nicolasroard | 7a9f746 | 2012-09-28 18:26:53 -0700 | [diff] [blame] | 292 | |
nicolasroard | 14dafd6 | 2012-10-05 03:48:34 -0700 | [diff] [blame] | 293 | <LinearLayout |
| 294 | android:id="@+id/listColorsFx" |
| 295 | android:layout_width="wrap_content" |
| 296 | android:layout_height="wrap_content" |
| 297 | android:orientation="horizontal" > |
| 298 | |
| 299 | <com.android.gallery3d.filtershow.ui.ImageButtonTitle |
John Hoford | ad4889c | 2012-10-10 14:17:30 -0700 | [diff] [blame] | 300 | android:id="@+id/wbalanceButton" |
| 301 | style="@style/FilterShowBottomButton" |
| 302 | android:src="@drawable/filtershow_button_colors_contrast" |
| 303 | android:text="@string/wbalance" /> |
| 304 | |
| 305 | <com.android.gallery3d.filtershow.ui.ImageButtonTitle |
nicolasroard | 14dafd6 | 2012-10-05 03:48:34 -0700 | [diff] [blame] | 306 | android:id="@+id/exposureButton" |
| 307 | style="@style/FilterShowBottomButton" |
| 308 | android:src="@drawable/filtershow_button_colors_contrast" |
| 309 | android:text="@string/exposure" /> |
| 310 | |
| 311 | <com.android.gallery3d.filtershow.ui.ImageButtonTitle |
| 312 | android:id="@+id/vibranceButton" |
| 313 | style="@style/FilterShowBottomButton" |
| 314 | android:src="@drawable/filtershow_button_colors_contrast" |
| 315 | android:text="@string/vibrance" /> |
| 316 | |
| 317 | <com.android.gallery3d.filtershow.ui.ImageButtonTitle |
nicolasroard | 14dafd6 | 2012-10-05 03:48:34 -0700 | [diff] [blame] | 318 | android:id="@+id/contrastButton" |
| 319 | style="@style/FilterShowBottomButton" |
| 320 | android:src="@drawable/filtershow_button_colors_contrast" |
| 321 | android:text="@string/contrast" /> |
| 322 | |
| 323 | <com.android.gallery3d.filtershow.ui.ImageButtonTitle |
| 324 | android:id="@+id/shadowRecoveryButton" |
| 325 | style="@style/FilterShowBottomButton" |
| 326 | android:src="@drawable/filtershow_button_colors_contrast" |
| 327 | android:text="@string/shadow_recovery" /> |
| 328 | |
| 329 | <com.android.gallery3d.filtershow.ui.ImageButtonTitle |
| 330 | android:id="@+id/vignetteButton" |
| 331 | style="@style/FilterShowBottomButton" |
| 332 | android:src="@drawable/filtershow_button_colors_vignette" |
| 333 | android:text="@string/vignette" /> |
| 334 | |
| 335 | <com.android.gallery3d.filtershow.ui.ImageButtonTitle |
| 336 | android:id="@+id/sharpenButton" |
| 337 | style="@style/FilterShowBottomButton" |
| 338 | android:src="@drawable/filtershow_button_colors_sharpen" |
| 339 | android:text="@string/sharpen" /> |
| 340 | |
| 341 | <com.android.gallery3d.filtershow.ui.ImageButtonTitle |
nicolasroard | 14dafd6 | 2012-10-05 03:48:34 -0700 | [diff] [blame] | 342 | android:id="@+id/curvesButtonRGB" |
| 343 | style="@style/FilterShowBottomButton" |
| 344 | android:src="@drawable/filtershow_button_colors_curve" |
| 345 | android:text="@string/curvesRGB" /> |
| 346 | |
John Hoford | ad4889c | 2012-10-10 14:17:30 -0700 | [diff] [blame] | 347 | <com.android.gallery3d.filtershow.ui.ImageButtonTitle |
| 348 | android:id="@+id/hueButton" |
| 349 | style="@style/FilterShowBottomButton" |
| 350 | android:src="@drawable/filtershow_button_colors_contrast" |
| 351 | android:text="@string/hue" /> |
| 352 | |
| 353 | <com.android.gallery3d.filtershow.ui.ImageButtonTitle |
| 354 | android:id="@+id/saturationButton" |
| 355 | style="@style/FilterShowBottomButton" |
| 356 | android:src="@drawable/filtershow_button_colors_contrast" |
| 357 | android:text="@string/saturation" /> |
| 358 | |
nicolasroard | 14dafd6 | 2012-10-05 03:48:34 -0700 | [diff] [blame] | 359 | </LinearLayout> |
| 360 | </HorizontalScrollView> |
| 361 | </FrameLayout> |
nicolasroard | 4cc4609 | 2012-09-25 14:27:56 -0700 | [diff] [blame] | 362 | |
John Hoford | 9091fa9 | 2012-10-11 21:04:41 -0700 | [diff] [blame^] | 363 | <com.android.gallery3d.filtershow.CenteredLinearLayout |
| 364 | xmlns:custom="http://schemas.android.com/apk/res/com.android.gallery3d" |
| 365 | android:id="@+id/mainPanel" |
| 366 | android:layout_width="match_parent" |
| 367 | android:layout_height="wrap_content" |
| 368 | android:layout_gravity="center" |
| 369 | custom:max_width="400dip" |
| 370 | android:orientation="vertical"> |
| 371 | |
nicolasroard | 4cc4609 | 2012-09-25 14:27:56 -0700 | [diff] [blame] | 372 | <LinearLayout |
| 373 | android:layout_width="match_parent" |
| 374 | android:layout_height="48dip" |
| 375 | android:background="@color/background_main_toolbar" > |
| 376 | |
| 377 | <ImageButton |
| 378 | android:id="@+id/fxButton" |
| 379 | android:layout_width="wrap_content" |
| 380 | android:layout_height="match_parent" |
| 381 | android:layout_weight="1" |
| 382 | android:background="@drawable/filtershow_button_background" |
| 383 | android:scaleType="centerInside" |
nicolasroard | 14dafd6 | 2012-10-05 03:48:34 -0700 | [diff] [blame] | 384 | android:src="@drawable/ic_photoeditor_effects" /> |
nicolasroard | 4cc4609 | 2012-09-25 14:27:56 -0700 | [diff] [blame] | 385 | |
| 386 | <ImageButton |
| 387 | android:id="@+id/borderButton" |
| 388 | android:layout_width="wrap_content" |
| 389 | android:layout_height="match_parent" |
| 390 | android:layout_weight="1" |
| 391 | android:background="@drawable/filtershow_button_background" |
| 392 | android:padding="2dip" |
| 393 | android:scaleType="centerInside" |
nicolasroard | 14dafd6 | 2012-10-05 03:48:34 -0700 | [diff] [blame] | 394 | android:src="@drawable/ic_photoeditor_border" /> |
nicolasroard | 4cc4609 | 2012-09-25 14:27:56 -0700 | [diff] [blame] | 395 | |
| 396 | <ImageButton |
| 397 | android:id="@+id/geometryButton" |
| 398 | android:layout_width="wrap_content" |
| 399 | android:layout_height="match_parent" |
| 400 | android:layout_weight="1" |
| 401 | android:background="@drawable/filtershow_button_background" |
| 402 | android:padding="2dip" |
| 403 | android:scaleType="centerInside" |
nicolasroard | 14dafd6 | 2012-10-05 03:48:34 -0700 | [diff] [blame] | 404 | android:src="@drawable/ic_photoeditor_fix" /> |
nicolasroard | 4cc4609 | 2012-09-25 14:27:56 -0700 | [diff] [blame] | 405 | |
| 406 | <ImageButton |
| 407 | android:id="@+id/colorsButton" |
| 408 | android:layout_width="wrap_content" |
| 409 | android:layout_height="match_parent" |
| 410 | android:layout_weight="1" |
| 411 | android:background="@drawable/filtershow_button_background" |
| 412 | android:padding="2dip" |
| 413 | android:scaleType="centerInside" |
nicolasroard | 14dafd6 | 2012-10-05 03:48:34 -0700 | [diff] [blame] | 414 | android:src="@drawable/ic_photoeditor_color" /> |
nicolasroard | 4cc4609 | 2012-09-25 14:27:56 -0700 | [diff] [blame] | 415 | </LinearLayout> |
John Hoford | 9091fa9 | 2012-10-11 21:04:41 -0700 | [diff] [blame^] | 416 | |
| 417 | </com.android.gallery3d.filtershow.CenteredLinearLayout> |
| 418 | |
| 419 | </com.android.gallery3d.filtershow.CenteredLinearLayout> |
nicolasroard | 4cc4609 | 2012-09-25 14:27:56 -0700 | [diff] [blame] | 420 | </LinearLayout> |
| 421 | |
Ruben Brunk | 16f709d | 2012-09-27 12:38:08 -0700 | [diff] [blame] | 422 | </FrameLayout> |