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 | cd7a760 | 2012-10-24 17:47:12 -0700 | [diff] [blame] | 111 | <com.android.gallery3d.filtershow.imageshow.ImageTinyPlanet |
| 112 | android:id="@+id/imageTinyPlanet" |
| 113 | android:layout_width="match_parent" |
| 114 | android:layout_height="wrap_content" /> |
| 115 | |
nicolasroard | 14dafd6 | 2012-10-05 03:48:34 -0700 | [diff] [blame] | 116 | <!-- |
nicolasroard | 4cc4609 | 2012-09-25 14:27:56 -0700 | [diff] [blame] | 117 | <ImageButton |
| 118 | android:id="@+id/showOriginalButton" |
nicolasroard | 78042f3 | 2012-09-27 20:54:48 -0700 | [diff] [blame] | 119 | android:layout_width="64dip" |
nicolasroard | 7a9f746 | 2012-09-28 18:26:53 -0700 | [diff] [blame] | 120 | android:layout_height="64dip" |
nicolasroard | 78042f3 | 2012-09-27 20:54:48 -0700 | [diff] [blame] | 121 | android:layout_gravity="bottom" |
nicolasroard | 7a9f746 | 2012-09-28 18:26:53 -0700 | [diff] [blame] | 122 | android:scaleType="centerInside" |
nicolasroard | 4cc4609 | 2012-09-25 14:27:56 -0700 | [diff] [blame] | 123 | android:src="@drawable/filtershow_button_show_original" /> |
nicolasroard | 14dafd6 | 2012-10-05 03:48:34 -0700 | [diff] [blame] | 124 | --> |
nicolasroard | ae215b5 | 2012-10-23 15:25:39 -0700 | [diff] [blame] | 125 | |
| 126 | <com.android.gallery3d.filtershow.CenteredLinearLayout |
| 127 | xmlns:custom="http://schemas.android.com/apk/res/com.android.gallery3d" |
| 128 | android:layout_width="match_parent" |
| 129 | android:layout_height="wrap_content" |
| 130 | android:layout_gravity="center_horizontal|bottom" |
| 131 | android:background="@android:color/transparent" |
| 132 | custom:max_width="600dip" |
| 133 | android:orientation="vertical"> |
| 134 | |
| 135 | <SeekBar |
| 136 | android:id="@+id/filterSeekBar" |
| 137 | android:layout_width="match_parent" |
| 138 | android:layout_height="wrap_content" |
| 139 | android:layout_gravity="bottom" |
| 140 | android:padding="16dip" |
| 141 | android:visibility="gone" /> |
| 142 | |
| 143 | </com.android.gallery3d.filtershow.CenteredLinearLayout> |
John Reck | 16cdb44 | 2012-10-25 10:08:37 -0700 | [diff] [blame] | 144 | |
| 145 | <ProgressBar |
| 146 | android:id="@+id/loading" |
| 147 | style="@android:style/Widget.Holo.ProgressBar.Large" |
| 148 | android:layout_width="wrap_content" |
| 149 | android:layout_height="wrap_content" |
| 150 | android:layout_gravity="center" |
| 151 | android:indeterminate="true" |
| 152 | android:indeterminateOnly="true" /> |
| 153 | |
nicolasroard | 78042f3 | 2012-09-27 20:54:48 -0700 | [diff] [blame] | 154 | </FrameLayout> |
nicolasroard | 4cc4609 | 2012-09-25 14:27:56 -0700 | [diff] [blame] | 155 | |
John Hoford | 9091fa9 | 2012-10-11 21:04:41 -0700 | [diff] [blame] | 156 | <com.android.gallery3d.filtershow.CenteredLinearLayout |
| 157 | xmlns:custom="http://schemas.android.com/apk/res/com.android.gallery3d" |
John Reck | 16cdb44 | 2012-10-25 10:08:37 -0700 | [diff] [blame] | 158 | android:id="@+id/filtersPanel" |
John Hoford | 9091fa9 | 2012-10-11 21:04:41 -0700 | [diff] [blame] | 159 | android:layout_width="match_parent" |
| 160 | android:layout_height="wrap_content" |
| 161 | android:layout_gravity="center" |
nicolasroard | 0f1bb9f | 2012-10-17 12:47:53 -0700 | [diff] [blame] | 162 | android:background="@color/background_main_toolbar" |
John Hoford | 9091fa9 | 2012-10-11 21:04:41 -0700 | [diff] [blame] | 163 | custom:max_width="600dip" |
| 164 | android:orientation="vertical"> |
| 165 | |
nicolasroard | 14dafd6 | 2012-10-05 03:48:34 -0700 | [diff] [blame] | 166 | <FrameLayout |
| 167 | android:id="@+id/secondRowPanel" |
nicolasroard | 4cc4609 | 2012-09-25 14:27:56 -0700 | [diff] [blame] | 168 | android:layout_width="fill_parent" |
nicolasroard | 14dafd6 | 2012-10-05 03:48:34 -0700 | [diff] [blame] | 169 | android:layout_height="wrap_content" > |
nicolasroard | 4cc4609 | 2012-09-25 14:27:56 -0700 | [diff] [blame] | 170 | |
| 171 | <LinearLayout |
nicolasroard | 14dafd6 | 2012-10-05 03:48:34 -0700 | [diff] [blame] | 172 | android:id="@+id/filterButtonsList" |
| 173 | android:layout_width="fill_parent" |
nicolasroard | 0f1bb9f | 2012-10-17 12:47:53 -0700 | [diff] [blame] | 174 | android:layout_height="@dimen/thumbnail_size" |
nicolasroard | 8737310 | 2012-10-09 16:34:58 -0700 | [diff] [blame] | 175 | android:background="@color/background_main_toolbar" |
nicolasroard | 14dafd6 | 2012-10-05 03:48:34 -0700 | [diff] [blame] | 176 | android:orientation="horizontal" |
| 177 | android:visibility="gone" > |
nicolasroard | 4cc4609 | 2012-09-25 14:27:56 -0700 | [diff] [blame] | 178 | |
nicolasroard | 701526a | 2012-10-18 17:53:44 -0700 | [diff] [blame] | 179 | <FrameLayout |
| 180 | android:layout_width="fill_parent" |
| 181 | android:layout_height="fill_parent" > |
| 182 | <com.android.gallery3d.filtershow.ui.FramedTextButton |
| 183 | android:id="@+id/aspect" |
nicolasroard | 02c02cd | 2012-10-24 16:39:41 -0700 | [diff] [blame] | 184 | android:layout_width="84dip" |
| 185 | android:layout_height="84dip" |
nicolasroard | 701526a | 2012-10-18 17:53:44 -0700 | [diff] [blame] | 186 | android:layout_gravity="center_vertical|left" |
nicolasroard | 02c02cd | 2012-10-24 16:39:41 -0700 | [diff] [blame] | 187 | android:background="@drawable/filtershow_button_background" |
nicolasroard | 701526a | 2012-10-18 17:53:44 -0700 | [diff] [blame] | 188 | android:scaleType="centerInside" |
| 189 | android:visibility="gone" |
| 190 | android:text="@string/aspectOriginal_effect" /> |
Ruben Brunk | b3e3014 | 2012-10-15 12:02:54 -0700 | [diff] [blame] | 191 | |
nicolasroard | 701526a | 2012-10-18 17:53:44 -0700 | [diff] [blame] | 192 | <com.android.gallery3d.filtershow.ui.FramedTextButton |
| 193 | android:id="@+id/pickCurvesChannel" |
nicolasroard | 02c02cd | 2012-10-24 16:39:41 -0700 | [diff] [blame] | 194 | android:layout_width="84dip" |
| 195 | android:layout_height="84dip" |
nicolasroard | 701526a | 2012-10-18 17:53:44 -0700 | [diff] [blame] | 196 | android:layout_gravity="center_vertical|left" |
nicolasroard | 02c02cd | 2012-10-24 16:39:41 -0700 | [diff] [blame] | 197 | android:background="@drawable/filtershow_button_background" |
nicolasroard | 701526a | 2012-10-18 17:53:44 -0700 | [diff] [blame] | 198 | android:scaleType="centerInside" |
| 199 | android:visibility="gone" |
| 200 | android:text="@string/curves_channel_rgb" /> |
nicolasroard | ca51847 | 2012-10-15 18:03:37 -0700 | [diff] [blame] | 201 | |
nicolasroard | 701526a | 2012-10-18 17:53:44 -0700 | [diff] [blame] | 202 | <Button |
| 203 | android:id="@+id/applyEffect" |
| 204 | android:layout_width="wrap_content" |
| 205 | android:layout_height="94dip" |
| 206 | android:layout_gravity="center" |
| 207 | android:layout_weight="1" |
| 208 | android:background="@android:color/transparent" |
| 209 | android:gravity="center" |
| 210 | android:text="@string/apply_effect" |
| 211 | android:textSize="18dip" /> |
| 212 | </FrameLayout> |
| 213 | |
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" |
nicolasroard | 0f1bb9f | 2012-10-17 12:47:53 -0700 | [diff] [blame] | 219 | android:layout_height="@dimen/thumbnail_size" |
Bobby Georgescu | 67ca0a7 | 2012-10-10 23:10:36 -0700 | [diff] [blame] | 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" |
nicolasroard | 0f1bb9f | 2012-10-17 12:47:53 -0700 | [diff] [blame] | 226 | android:layout_marginLeft="@dimen/thumbnail_margin" |
nicolasroard | 14dafd6 | 2012-10-05 03:48:34 -0700 | [diff] [blame] | 227 | android:orientation="horizontal" > |
| 228 | </LinearLayout> |
| 229 | </HorizontalScrollView> |
nicolasroard | 4cc4609 | 2012-09-25 14:27:56 -0700 | [diff] [blame] | 230 | |
nicolasroard | 14dafd6 | 2012-10-05 03:48:34 -0700 | [diff] [blame] | 231 | <HorizontalScrollView |
| 232 | android:id="@+id/bordersList" |
| 233 | android:layout_width="match_parent" |
nicolasroard | 0f1bb9f | 2012-10-17 12:47:53 -0700 | [diff] [blame] | 234 | android:layout_height="@dimen/thumbnail_size" |
Bobby Georgescu | 67ca0a7 | 2012-10-10 23:10:36 -0700 | [diff] [blame] | 235 | android:visibility="gone" |
| 236 | android:scrollbars="none" > |
nicolasroard | 4cc4609 | 2012-09-25 14:27:56 -0700 | [diff] [blame] | 237 | |
nicolasroard | 14dafd6 | 2012-10-05 03:48:34 -0700 | [diff] [blame] | 238 | <LinearLayout |
| 239 | android:id="@+id/listBorders" |
| 240 | android:layout_width="wrap_content" |
| 241 | android:layout_height="match_parent" |
nicolasroard | 0f1bb9f | 2012-10-17 12:47:53 -0700 | [diff] [blame] | 242 | android:layout_marginLeft="@dimen/thumbnail_margin" |
nicolasroard | 14dafd6 | 2012-10-05 03:48:34 -0700 | [diff] [blame] | 243 | android:orientation="horizontal" > |
| 244 | </LinearLayout> |
| 245 | </HorizontalScrollView> |
nicolasroard | 4cc4609 | 2012-09-25 14:27:56 -0700 | [diff] [blame] | 246 | |
nicolasroard | 14dafd6 | 2012-10-05 03:48:34 -0700 | [diff] [blame] | 247 | <HorizontalScrollView |
| 248 | android:id="@+id/geometryList" |
| 249 | android:layout_width="fill_parent" |
nicolasroard | 0f1bb9f | 2012-10-17 12:47:53 -0700 | [diff] [blame] | 250 | android:layout_height="@dimen/thumbnail_size" |
nicolasroard | 8737310 | 2012-10-09 16:34:58 -0700 | [diff] [blame] | 251 | android:background="@color/background_main_toolbar" |
Bobby Georgescu | 67ca0a7 | 2012-10-10 23:10:36 -0700 | [diff] [blame] | 252 | android:visibility="gone" |
| 253 | android:scrollbars="none" > |
nicolasroard | 4cc4609 | 2012-09-25 14:27:56 -0700 | [diff] [blame] | 254 | |
nicolasroard | 14dafd6 | 2012-10-05 03:48:34 -0700 | [diff] [blame] | 255 | <LinearLayout |
| 256 | android:id="@+id/listGeometry" |
| 257 | android:layout_width="wrap_content" |
| 258 | android:layout_height="fill_parent" |
John Hoford | 9091fa9 | 2012-10-11 21:04:41 -0700 | [diff] [blame] | 259 | android:layout_gravity="center" |
| 260 | android:orientation="horizontal"> |
nicolasroard | 4cc4609 | 2012-09-25 14:27:56 -0700 | [diff] [blame] | 261 | |
nicolasroard | 14dafd6 | 2012-10-05 03:48:34 -0700 | [diff] [blame] | 262 | <com.android.gallery3d.filtershow.ui.ImageButtonTitle |
| 263 | android:id="@+id/straightenButton" |
| 264 | style="@style/FilterShowBottomButton" |
| 265 | android:src="@drawable/filtershow_button_geometry_straighten" |
| 266 | android:text="@string/straighten" /> |
John Hoford | 5de46c3 | 2012-09-27 16:34:21 -0700 | [diff] [blame] | 267 | |
nicolasroard | 14dafd6 | 2012-10-05 03:48:34 -0700 | [diff] [blame] | 268 | <com.android.gallery3d.filtershow.ui.ImageButtonTitle |
| 269 | android:id="@+id/cropButton" |
| 270 | style="@style/FilterShowBottomButton" |
| 271 | android:src="@drawable/filtershow_button_geometry_crop" |
| 272 | android:text="@string/crop" /> |
nicolasroard | 7a9f746 | 2012-09-28 18:26:53 -0700 | [diff] [blame] | 273 | |
nicolasroard | 14dafd6 | 2012-10-05 03:48:34 -0700 | [diff] [blame] | 274 | <com.android.gallery3d.filtershow.ui.ImageButtonTitle |
| 275 | android:id="@+id/rotateButton" |
| 276 | style="@style/FilterShowBottomButton" |
| 277 | android:src="@drawable/filtershow_button_geometry_rotate" |
| 278 | android:text="@string/rotate" /> |
nicolasroard | 7a9f746 | 2012-09-28 18:26:53 -0700 | [diff] [blame] | 279 | |
nicolasroard | 14dafd6 | 2012-10-05 03:48:34 -0700 | [diff] [blame] | 280 | <com.android.gallery3d.filtershow.ui.ImageButtonTitle |
| 281 | android:id="@+id/flipButton" |
| 282 | style="@style/FilterShowBottomButton" |
| 283 | android:src="@drawable/filtershow_button_geometry_flip" |
Ruben Brunk | ced4d27 | 2012-10-17 03:29:08 -0700 | [diff] [blame] | 284 | android:text="@string/mirror" /> |
John Hoford | b1ae4b1 | 2012-10-08 14:21:57 -0700 | [diff] [blame] | 285 | |
| 286 | <com.android.gallery3d.filtershow.ui.ImageButtonTitle |
| 287 | android:id="@+id/redEyeButton" |
| 288 | style="@style/FilterShowBottomButton" |
| 289 | android:src="@drawable/photoeditor_effect_redeye" |
John Hoford | ad4889c | 2012-10-10 14:17:30 -0700 | [diff] [blame] | 290 | android:text="@string/redeye" |
| 291 | android:visibility="gone" /> |
| 292 | |
nicolasroard | 14dafd6 | 2012-10-05 03:48:34 -0700 | [diff] [blame] | 293 | </LinearLayout> |
| 294 | </HorizontalScrollView> |
nicolasroard | 4cc4609 | 2012-09-25 14:27:56 -0700 | [diff] [blame] | 295 | |
nicolasroard | 14dafd6 | 2012-10-05 03:48:34 -0700 | [diff] [blame] | 296 | <HorizontalScrollView |
| 297 | android:id="@+id/colorsFxList" |
| 298 | android:layout_width="fill_parent" |
nicolasroard | 0f1bb9f | 2012-10-17 12:47:53 -0700 | [diff] [blame] | 299 | android:layout_height="@dimen/thumbnail_size" |
nicolasroard | 8737310 | 2012-10-09 16:34:58 -0700 | [diff] [blame] | 300 | android:background="@color/background_main_toolbar" |
Bobby Georgescu | 67ca0a7 | 2012-10-10 23:10:36 -0700 | [diff] [blame] | 301 | android:visibility="gone" |
| 302 | android:scrollbars="none" > |
nicolasroard | 7a9f746 | 2012-09-28 18:26:53 -0700 | [diff] [blame] | 303 | |
nicolasroard | 14dafd6 | 2012-10-05 03:48:34 -0700 | [diff] [blame] | 304 | <LinearLayout |
| 305 | android:id="@+id/listColorsFx" |
| 306 | android:layout_width="wrap_content" |
| 307 | android:layout_height="wrap_content" |
nicolasroard | 0f1bb9f | 2012-10-17 12:47:53 -0700 | [diff] [blame] | 308 | android:layout_marginLeft="@dimen/thumbnail_margin" |
nicolasroard | 14dafd6 | 2012-10-05 03:48:34 -0700 | [diff] [blame] | 309 | android:orientation="horizontal" > |
Sascha Haeberling | 5181cd2 | 2012-10-18 00:36:02 -0700 | [diff] [blame] | 310 | <com.android.gallery3d.filtershow.ui.ImageButtonTitle |
| 311 | android:id="@+id/tinyplanetButton" |
| 312 | style="@style/FilterShowBottomButton" |
| 313 | android:src="@drawable/filtershow_button_colors_contrast" |
| 314 | android:text="@string/tinyplanet" /> |
nicolasroard | 14dafd6 | 2012-10-05 03:48:34 -0700 | [diff] [blame] | 315 | |
| 316 | <com.android.gallery3d.filtershow.ui.ImageButtonTitle |
John Hoford | ad4889c | 2012-10-10 14:17:30 -0700 | [diff] [blame] | 317 | android:id="@+id/wbalanceButton" |
| 318 | style="@style/FilterShowBottomButton" |
| 319 | android:src="@drawable/filtershow_button_colors_contrast" |
| 320 | android:text="@string/wbalance" /> |
| 321 | |
| 322 | <com.android.gallery3d.filtershow.ui.ImageButtonTitle |
nicolasroard | 14dafd6 | 2012-10-05 03:48:34 -0700 | [diff] [blame] | 323 | android:id="@+id/exposureButton" |
| 324 | style="@style/FilterShowBottomButton" |
| 325 | android:src="@drawable/filtershow_button_colors_contrast" |
| 326 | android:text="@string/exposure" /> |
| 327 | |
| 328 | <com.android.gallery3d.filtershow.ui.ImageButtonTitle |
Ruben Brunk | ced4d27 | 2012-10-17 03:29:08 -0700 | [diff] [blame] | 329 | android:id="@+id/vignetteButton" |
nicolasroard | 14dafd6 | 2012-10-05 03:48:34 -0700 | [diff] [blame] | 330 | style="@style/FilterShowBottomButton" |
Ruben Brunk | ced4d27 | 2012-10-17 03:29:08 -0700 | [diff] [blame] | 331 | android:src="@drawable/filtershow_button_colors_vignette" |
| 332 | android:text="@string/vignette" /> |
nicolasroard | 14dafd6 | 2012-10-05 03:48:34 -0700 | [diff] [blame] | 333 | |
| 334 | <com.android.gallery3d.filtershow.ui.ImageButtonTitle |
nicolasroard | 14dafd6 | 2012-10-05 03:48:34 -0700 | [diff] [blame] | 335 | android:id="@+id/contrastButton" |
| 336 | style="@style/FilterShowBottomButton" |
| 337 | android:src="@drawable/filtershow_button_colors_contrast" |
| 338 | android:text="@string/contrast" /> |
| 339 | |
| 340 | <com.android.gallery3d.filtershow.ui.ImageButtonTitle |
| 341 | android:id="@+id/shadowRecoveryButton" |
| 342 | style="@style/FilterShowBottomButton" |
| 343 | android:src="@drawable/filtershow_button_colors_contrast" |
| 344 | android:text="@string/shadow_recovery" /> |
| 345 | |
| 346 | <com.android.gallery3d.filtershow.ui.ImageButtonTitle |
Ruben Brunk | ced4d27 | 2012-10-17 03:29:08 -0700 | [diff] [blame] | 347 | android:id="@+id/vibranceButton" |
nicolasroard | 14dafd6 | 2012-10-05 03:48:34 -0700 | [diff] [blame] | 348 | style="@style/FilterShowBottomButton" |
Ruben Brunk | ced4d27 | 2012-10-17 03:29:08 -0700 | [diff] [blame] | 349 | android:src="@drawable/filtershow_button_colors_contrast" |
| 350 | android:text="@string/vibrance" /> |
nicolasroard | 14dafd6 | 2012-10-05 03:48:34 -0700 | [diff] [blame] | 351 | |
| 352 | <com.android.gallery3d.filtershow.ui.ImageButtonTitle |
| 353 | android:id="@+id/sharpenButton" |
| 354 | style="@style/FilterShowBottomButton" |
| 355 | android:src="@drawable/filtershow_button_colors_sharpen" |
Ruben Brunk | ced4d27 | 2012-10-17 03:29:08 -0700 | [diff] [blame] | 356 | android:text="@string/sharpness" /> |
nicolasroard | 14dafd6 | 2012-10-05 03:48:34 -0700 | [diff] [blame] | 357 | |
| 358 | <com.android.gallery3d.filtershow.ui.ImageButtonTitle |
nicolasroard | 14dafd6 | 2012-10-05 03:48:34 -0700 | [diff] [blame] | 359 | android:id="@+id/curvesButtonRGB" |
| 360 | style="@style/FilterShowBottomButton" |
| 361 | android:src="@drawable/filtershow_button_colors_curve" |
| 362 | android:text="@string/curvesRGB" /> |
| 363 | |
John Hoford | ad4889c | 2012-10-10 14:17:30 -0700 | [diff] [blame] | 364 | <com.android.gallery3d.filtershow.ui.ImageButtonTitle |
| 365 | android:id="@+id/hueButton" |
| 366 | style="@style/FilterShowBottomButton" |
| 367 | android:src="@drawable/filtershow_button_colors_contrast" |
| 368 | android:text="@string/hue" /> |
| 369 | |
| 370 | <com.android.gallery3d.filtershow.ui.ImageButtonTitle |
| 371 | android:id="@+id/saturationButton" |
| 372 | style="@style/FilterShowBottomButton" |
| 373 | android:src="@drawable/filtershow_button_colors_contrast" |
| 374 | android:text="@string/saturation" /> |
| 375 | |
John Hoford | b502f7f | 2012-10-23 15:17:12 -0700 | [diff] [blame] | 376 | <com.android.gallery3d.filtershow.ui.ImageButtonTitle |
| 377 | android:id="@+id/bwfilterButton" |
| 378 | style="@style/FilterShowBottomButton" |
| 379 | android:src="@drawable/filtershow_button_colors_contrast" |
| 380 | android:text="@string/bwfilter" /> |
| 381 | |
nicolasroard | 14dafd6 | 2012-10-05 03:48:34 -0700 | [diff] [blame] | 382 | </LinearLayout> |
| 383 | </HorizontalScrollView> |
| 384 | </FrameLayout> |
nicolasroard | 4cc4609 | 2012-09-25 14:27:56 -0700 | [diff] [blame] | 385 | |
nicolasroard | c47b09c | 2012-10-11 21:36:12 -0700 | [diff] [blame] | 386 | <View |
| 387 | android:background="@color/toolbar_separation_line" |
| 388 | android:layout_height="1dip" |
| 389 | android:layout_width="match_parent" /> |
| 390 | |
John Hoford | 9091fa9 | 2012-10-11 21:04:41 -0700 | [diff] [blame] | 391 | <com.android.gallery3d.filtershow.CenteredLinearLayout |
| 392 | xmlns:custom="http://schemas.android.com/apk/res/com.android.gallery3d" |
John Hoford | 9091fa9 | 2012-10-11 21:04:41 -0700 | [diff] [blame] | 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 | |
nicolasroard | c4e553b | 2012-10-21 14:53:03 -0700 | [diff] [blame] | 449 | <LinearLayout |
| 450 | android:id="@+id/historyPanel" |
| 451 | android:layout_width="200dip" |
| 452 | android:layout_height="match_parent" |
| 453 | android:layout_gravity="right" |
| 454 | android:orientation="vertical" |
| 455 | android:visibility="invisible" > |
| 456 | |
| 457 | <TextView |
| 458 | android:layout_width="match_parent" |
| 459 | android:layout_height="wrap_content" |
| 460 | android:background="@android:color/transparent" |
| 461 | android:gravity="center" |
| 462 | android:padding="2dip" |
| 463 | android:text="@string/history" |
| 464 | android:textColor="@android:color/white" |
| 465 | android:textSize="24sp" |
| 466 | android:textStyle="bold" /> |
| 467 | |
| 468 | <ListView |
| 469 | android:id="@+id/operationsList" |
| 470 | android:layout_width="match_parent" |
| 471 | android:layout_height="wrap_content" |
| 472 | android:layout_weight="1" > |
| 473 | </ListView> |
| 474 | |
| 475 | <LinearLayout |
| 476 | android:layout_width="match_parent" |
| 477 | android:layout_height="wrap_content" |
| 478 | android:orientation="horizontal" > |
| 479 | |
| 480 | <Button |
| 481 | android:id="@+id/resetOperationsButton" |
| 482 | style="@style/FilterShowHistoryButton" |
| 483 | android:gravity="center" |
| 484 | android:text="@string/reset" /> |
| 485 | |
| 486 | <Button |
| 487 | android:id="@+id/saveOperationsButton" |
| 488 | style="@style/FilterShowHistoryButton" |
| 489 | android:text="@string/save" |
| 490 | android:visibility="gone" /> |
| 491 | </LinearLayout> |
| 492 | </LinearLayout> |
| 493 | |
Ruben Brunk | 16f709d | 2012-09-27 12:38:08 -0700 | [diff] [blame] | 494 | </FrameLayout> |