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> |
nicolasroard | 78042f3 | 2012-09-27 20:54:48 -0700 | [diff] [blame] | 144 | </FrameLayout> |
nicolasroard | 4cc4609 | 2012-09-25 14:27:56 -0700 | [diff] [blame] | 145 | |
John Hoford | 9091fa9 | 2012-10-11 21:04:41 -0700 | [diff] [blame] | 146 | <com.android.gallery3d.filtershow.CenteredLinearLayout |
| 147 | xmlns:custom="http://schemas.android.com/apk/res/com.android.gallery3d" |
| 148 | android:id="@+id/mainPanel" |
| 149 | android:layout_width="match_parent" |
| 150 | android:layout_height="wrap_content" |
| 151 | android:layout_gravity="center" |
nicolasroard | 0f1bb9f | 2012-10-17 12:47:53 -0700 | [diff] [blame] | 152 | android:background="@color/background_main_toolbar" |
John Hoford | 9091fa9 | 2012-10-11 21:04:41 -0700 | [diff] [blame] | 153 | custom:max_width="600dip" |
| 154 | android:orientation="vertical"> |
| 155 | |
nicolasroard | 14dafd6 | 2012-10-05 03:48:34 -0700 | [diff] [blame] | 156 | <FrameLayout |
| 157 | android:id="@+id/secondRowPanel" |
nicolasroard | 4cc4609 | 2012-09-25 14:27:56 -0700 | [diff] [blame] | 158 | android:layout_width="fill_parent" |
nicolasroard | 14dafd6 | 2012-10-05 03:48:34 -0700 | [diff] [blame] | 159 | android:layout_height="wrap_content" > |
nicolasroard | 4cc4609 | 2012-09-25 14:27:56 -0700 | [diff] [blame] | 160 | |
| 161 | <LinearLayout |
nicolasroard | 14dafd6 | 2012-10-05 03:48:34 -0700 | [diff] [blame] | 162 | android:id="@+id/filterButtonsList" |
| 163 | android:layout_width="fill_parent" |
nicolasroard | 0f1bb9f | 2012-10-17 12:47:53 -0700 | [diff] [blame] | 164 | android:layout_height="@dimen/thumbnail_size" |
nicolasroard | 8737310 | 2012-10-09 16:34:58 -0700 | [diff] [blame] | 165 | android:background="@color/background_main_toolbar" |
nicolasroard | 14dafd6 | 2012-10-05 03:48:34 -0700 | [diff] [blame] | 166 | android:orientation="horizontal" |
| 167 | android:visibility="gone" > |
nicolasroard | 4cc4609 | 2012-09-25 14:27:56 -0700 | [diff] [blame] | 168 | |
nicolasroard | 701526a | 2012-10-18 17:53:44 -0700 | [diff] [blame] | 169 | <FrameLayout |
| 170 | android:layout_width="fill_parent" |
| 171 | android:layout_height="fill_parent" > |
| 172 | <com.android.gallery3d.filtershow.ui.FramedTextButton |
| 173 | android:id="@+id/aspect" |
nicolasroard | 02c02cd | 2012-10-24 16:39:41 -0700 | [diff] [blame] | 174 | android:layout_width="84dip" |
| 175 | android:layout_height="84dip" |
nicolasroard | 701526a | 2012-10-18 17:53:44 -0700 | [diff] [blame] | 176 | android:layout_gravity="center_vertical|left" |
nicolasroard | 02c02cd | 2012-10-24 16:39:41 -0700 | [diff] [blame] | 177 | android:background="@drawable/filtershow_button_background" |
nicolasroard | 701526a | 2012-10-18 17:53:44 -0700 | [diff] [blame] | 178 | android:scaleType="centerInside" |
| 179 | android:visibility="gone" |
| 180 | android:text="@string/aspectOriginal_effect" /> |
Ruben Brunk | b3e3014 | 2012-10-15 12:02:54 -0700 | [diff] [blame] | 181 | |
nicolasroard | 701526a | 2012-10-18 17:53:44 -0700 | [diff] [blame] | 182 | <com.android.gallery3d.filtershow.ui.FramedTextButton |
| 183 | android:id="@+id/pickCurvesChannel" |
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/curves_channel_rgb" /> |
nicolasroard | ca51847 | 2012-10-15 18:03:37 -0700 | [diff] [blame] | 191 | |
nicolasroard | 701526a | 2012-10-18 17:53:44 -0700 | [diff] [blame] | 192 | <Button |
| 193 | android:id="@+id/applyEffect" |
| 194 | android:layout_width="wrap_content" |
| 195 | android:layout_height="94dip" |
| 196 | android:layout_gravity="center" |
| 197 | android:layout_weight="1" |
| 198 | android:background="@android:color/transparent" |
| 199 | android:gravity="center" |
| 200 | android:text="@string/apply_effect" |
| 201 | android:textSize="18dip" /> |
| 202 | </FrameLayout> |
| 203 | |
nicolasroard | 4cc4609 | 2012-09-25 14:27:56 -0700 | [diff] [blame] | 204 | </LinearLayout> |
nicolasroard | 4cc4609 | 2012-09-25 14:27:56 -0700 | [diff] [blame] | 205 | |
nicolasroard | 14dafd6 | 2012-10-05 03:48:34 -0700 | [diff] [blame] | 206 | <HorizontalScrollView |
| 207 | android:id="@+id/fxList" |
| 208 | android:layout_width="match_parent" |
nicolasroard | 0f1bb9f | 2012-10-17 12:47:53 -0700 | [diff] [blame] | 209 | android:layout_height="@dimen/thumbnail_size" |
Bobby Georgescu | 67ca0a7 | 2012-10-10 23:10:36 -0700 | [diff] [blame] | 210 | android:scrollbars="none" > |
nicolasroard | 4cc4609 | 2012-09-25 14:27:56 -0700 | [diff] [blame] | 211 | |
nicolasroard | 14dafd6 | 2012-10-05 03:48:34 -0700 | [diff] [blame] | 212 | <LinearLayout |
| 213 | android:id="@+id/listFilters" |
| 214 | android:layout_width="wrap_content" |
| 215 | android:layout_height="match_parent" |
nicolasroard | 0f1bb9f | 2012-10-17 12:47:53 -0700 | [diff] [blame] | 216 | android:layout_marginLeft="@dimen/thumbnail_margin" |
nicolasroard | 14dafd6 | 2012-10-05 03:48:34 -0700 | [diff] [blame] | 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" |
nicolasroard | 0f1bb9f | 2012-10-17 12:47:53 -0700 | [diff] [blame] | 224 | android:layout_height="@dimen/thumbnail_size" |
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" |
nicolasroard | 0f1bb9f | 2012-10-17 12:47:53 -0700 | [diff] [blame] | 232 | android:layout_marginLeft="@dimen/thumbnail_margin" |
nicolasroard | 14dafd6 | 2012-10-05 03:48:34 -0700 | [diff] [blame] | 233 | android:orientation="horizontal" > |
| 234 | </LinearLayout> |
| 235 | </HorizontalScrollView> |
nicolasroard | 4cc4609 | 2012-09-25 14:27:56 -0700 | [diff] [blame] | 236 | |
nicolasroard | 14dafd6 | 2012-10-05 03:48:34 -0700 | [diff] [blame] | 237 | <HorizontalScrollView |
| 238 | android:id="@+id/geometryList" |
| 239 | android:layout_width="fill_parent" |
nicolasroard | 0f1bb9f | 2012-10-17 12:47:53 -0700 | [diff] [blame] | 240 | android:layout_height="@dimen/thumbnail_size" |
nicolasroard | 8737310 | 2012-10-09 16:34:58 -0700 | [diff] [blame] | 241 | android:background="@color/background_main_toolbar" |
Bobby Georgescu | 67ca0a7 | 2012-10-10 23:10:36 -0700 | [diff] [blame] | 242 | android:visibility="gone" |
| 243 | android:scrollbars="none" > |
nicolasroard | 4cc4609 | 2012-09-25 14:27:56 -0700 | [diff] [blame] | 244 | |
nicolasroard | 14dafd6 | 2012-10-05 03:48:34 -0700 | [diff] [blame] | 245 | <LinearLayout |
| 246 | android:id="@+id/listGeometry" |
| 247 | android:layout_width="wrap_content" |
| 248 | android:layout_height="fill_parent" |
John Hoford | 9091fa9 | 2012-10-11 21:04:41 -0700 | [diff] [blame] | 249 | android:layout_gravity="center" |
| 250 | android:orientation="horizontal"> |
nicolasroard | 4cc4609 | 2012-09-25 14:27:56 -0700 | [diff] [blame] | 251 | |
nicolasroard | 14dafd6 | 2012-10-05 03:48:34 -0700 | [diff] [blame] | 252 | <com.android.gallery3d.filtershow.ui.ImageButtonTitle |
| 253 | android:id="@+id/straightenButton" |
| 254 | style="@style/FilterShowBottomButton" |
| 255 | android:src="@drawable/filtershow_button_geometry_straighten" |
| 256 | android:text="@string/straighten" /> |
John Hoford | 5de46c3 | 2012-09-27 16:34:21 -0700 | [diff] [blame] | 257 | |
nicolasroard | 14dafd6 | 2012-10-05 03:48:34 -0700 | [diff] [blame] | 258 | <com.android.gallery3d.filtershow.ui.ImageButtonTitle |
| 259 | android:id="@+id/cropButton" |
| 260 | style="@style/FilterShowBottomButton" |
| 261 | android:src="@drawable/filtershow_button_geometry_crop" |
| 262 | android:text="@string/crop" /> |
nicolasroard | 7a9f746 | 2012-09-28 18:26:53 -0700 | [diff] [blame] | 263 | |
nicolasroard | 14dafd6 | 2012-10-05 03:48:34 -0700 | [diff] [blame] | 264 | <com.android.gallery3d.filtershow.ui.ImageButtonTitle |
| 265 | android:id="@+id/rotateButton" |
| 266 | style="@style/FilterShowBottomButton" |
| 267 | android:src="@drawable/filtershow_button_geometry_rotate" |
| 268 | android:text="@string/rotate" /> |
nicolasroard | 7a9f746 | 2012-09-28 18:26:53 -0700 | [diff] [blame] | 269 | |
nicolasroard | 14dafd6 | 2012-10-05 03:48:34 -0700 | [diff] [blame] | 270 | <com.android.gallery3d.filtershow.ui.ImageButtonTitle |
| 271 | android:id="@+id/flipButton" |
| 272 | style="@style/FilterShowBottomButton" |
| 273 | android:src="@drawable/filtershow_button_geometry_flip" |
Ruben Brunk | ced4d27 | 2012-10-17 03:29:08 -0700 | [diff] [blame] | 274 | android:text="@string/mirror" /> |
John Hoford | b1ae4b1 | 2012-10-08 14:21:57 -0700 | [diff] [blame] | 275 | |
| 276 | <com.android.gallery3d.filtershow.ui.ImageButtonTitle |
| 277 | android:id="@+id/redEyeButton" |
| 278 | style="@style/FilterShowBottomButton" |
| 279 | android:src="@drawable/photoeditor_effect_redeye" |
John Hoford | ad4889c | 2012-10-10 14:17:30 -0700 | [diff] [blame] | 280 | android:text="@string/redeye" |
| 281 | android:visibility="gone" /> |
| 282 | |
nicolasroard | 14dafd6 | 2012-10-05 03:48:34 -0700 | [diff] [blame] | 283 | </LinearLayout> |
| 284 | </HorizontalScrollView> |
nicolasroard | 4cc4609 | 2012-09-25 14:27:56 -0700 | [diff] [blame] | 285 | |
nicolasroard | 14dafd6 | 2012-10-05 03:48:34 -0700 | [diff] [blame] | 286 | <HorizontalScrollView |
| 287 | android:id="@+id/colorsFxList" |
| 288 | android:layout_width="fill_parent" |
nicolasroard | 0f1bb9f | 2012-10-17 12:47:53 -0700 | [diff] [blame] | 289 | android:layout_height="@dimen/thumbnail_size" |
nicolasroard | 8737310 | 2012-10-09 16:34:58 -0700 | [diff] [blame] | 290 | android:background="@color/background_main_toolbar" |
Bobby Georgescu | 67ca0a7 | 2012-10-10 23:10:36 -0700 | [diff] [blame] | 291 | android:visibility="gone" |
| 292 | android:scrollbars="none" > |
nicolasroard | 7a9f746 | 2012-09-28 18:26:53 -0700 | [diff] [blame] | 293 | |
nicolasroard | 14dafd6 | 2012-10-05 03:48:34 -0700 | [diff] [blame] | 294 | <LinearLayout |
| 295 | android:id="@+id/listColorsFx" |
| 296 | android:layout_width="wrap_content" |
| 297 | android:layout_height="wrap_content" |
nicolasroard | 0f1bb9f | 2012-10-17 12:47:53 -0700 | [diff] [blame] | 298 | android:layout_marginLeft="@dimen/thumbnail_margin" |
nicolasroard | 14dafd6 | 2012-10-05 03:48:34 -0700 | [diff] [blame] | 299 | android:orientation="horizontal" > |
Sascha Haeberling | 5181cd2 | 2012-10-18 00:36:02 -0700 | [diff] [blame] | 300 | <com.android.gallery3d.filtershow.ui.ImageButtonTitle |
| 301 | android:id="@+id/tinyplanetButton" |
| 302 | style="@style/FilterShowBottomButton" |
| 303 | android:src="@drawable/filtershow_button_colors_contrast" |
| 304 | android:text="@string/tinyplanet" /> |
nicolasroard | 14dafd6 | 2012-10-05 03:48:34 -0700 | [diff] [blame] | 305 | |
| 306 | <com.android.gallery3d.filtershow.ui.ImageButtonTitle |
John Hoford | ad4889c | 2012-10-10 14:17:30 -0700 | [diff] [blame] | 307 | android:id="@+id/wbalanceButton" |
| 308 | style="@style/FilterShowBottomButton" |
| 309 | android:src="@drawable/filtershow_button_colors_contrast" |
| 310 | android:text="@string/wbalance" /> |
| 311 | |
| 312 | <com.android.gallery3d.filtershow.ui.ImageButtonTitle |
nicolasroard | 14dafd6 | 2012-10-05 03:48:34 -0700 | [diff] [blame] | 313 | android:id="@+id/exposureButton" |
| 314 | style="@style/FilterShowBottomButton" |
| 315 | android:src="@drawable/filtershow_button_colors_contrast" |
| 316 | android:text="@string/exposure" /> |
| 317 | |
| 318 | <com.android.gallery3d.filtershow.ui.ImageButtonTitle |
Ruben Brunk | ced4d27 | 2012-10-17 03:29:08 -0700 | [diff] [blame] | 319 | android:id="@+id/vignetteButton" |
nicolasroard | 14dafd6 | 2012-10-05 03:48:34 -0700 | [diff] [blame] | 320 | style="@style/FilterShowBottomButton" |
Ruben Brunk | ced4d27 | 2012-10-17 03:29:08 -0700 | [diff] [blame] | 321 | android:src="@drawable/filtershow_button_colors_vignette" |
| 322 | android:text="@string/vignette" /> |
nicolasroard | 14dafd6 | 2012-10-05 03:48:34 -0700 | [diff] [blame] | 323 | |
| 324 | <com.android.gallery3d.filtershow.ui.ImageButtonTitle |
nicolasroard | 14dafd6 | 2012-10-05 03:48:34 -0700 | [diff] [blame] | 325 | android:id="@+id/contrastButton" |
| 326 | style="@style/FilterShowBottomButton" |
| 327 | android:src="@drawable/filtershow_button_colors_contrast" |
| 328 | android:text="@string/contrast" /> |
| 329 | |
| 330 | <com.android.gallery3d.filtershow.ui.ImageButtonTitle |
| 331 | android:id="@+id/shadowRecoveryButton" |
| 332 | style="@style/FilterShowBottomButton" |
| 333 | android:src="@drawable/filtershow_button_colors_contrast" |
| 334 | android:text="@string/shadow_recovery" /> |
| 335 | |
| 336 | <com.android.gallery3d.filtershow.ui.ImageButtonTitle |
Ruben Brunk | ced4d27 | 2012-10-17 03:29:08 -0700 | [diff] [blame] | 337 | android:id="@+id/vibranceButton" |
nicolasroard | 14dafd6 | 2012-10-05 03:48:34 -0700 | [diff] [blame] | 338 | style="@style/FilterShowBottomButton" |
Ruben Brunk | ced4d27 | 2012-10-17 03:29:08 -0700 | [diff] [blame] | 339 | android:src="@drawable/filtershow_button_colors_contrast" |
| 340 | android:text="@string/vibrance" /> |
nicolasroard | 14dafd6 | 2012-10-05 03:48:34 -0700 | [diff] [blame] | 341 | |
| 342 | <com.android.gallery3d.filtershow.ui.ImageButtonTitle |
| 343 | android:id="@+id/sharpenButton" |
| 344 | style="@style/FilterShowBottomButton" |
| 345 | android:src="@drawable/filtershow_button_colors_sharpen" |
Ruben Brunk | ced4d27 | 2012-10-17 03:29:08 -0700 | [diff] [blame] | 346 | android:text="@string/sharpness" /> |
nicolasroard | 14dafd6 | 2012-10-05 03:48:34 -0700 | [diff] [blame] | 347 | |
| 348 | <com.android.gallery3d.filtershow.ui.ImageButtonTitle |
nicolasroard | 14dafd6 | 2012-10-05 03:48:34 -0700 | [diff] [blame] | 349 | android:id="@+id/curvesButtonRGB" |
| 350 | style="@style/FilterShowBottomButton" |
| 351 | android:src="@drawable/filtershow_button_colors_curve" |
| 352 | android:text="@string/curvesRGB" /> |
| 353 | |
John Hoford | ad4889c | 2012-10-10 14:17:30 -0700 | [diff] [blame] | 354 | <com.android.gallery3d.filtershow.ui.ImageButtonTitle |
| 355 | android:id="@+id/hueButton" |
| 356 | style="@style/FilterShowBottomButton" |
| 357 | android:src="@drawable/filtershow_button_colors_contrast" |
| 358 | android:text="@string/hue" /> |
| 359 | |
| 360 | <com.android.gallery3d.filtershow.ui.ImageButtonTitle |
| 361 | android:id="@+id/saturationButton" |
| 362 | style="@style/FilterShowBottomButton" |
| 363 | android:src="@drawable/filtershow_button_colors_contrast" |
| 364 | android:text="@string/saturation" /> |
| 365 | |
John Hoford | b502f7f | 2012-10-23 15:17:12 -0700 | [diff] [blame] | 366 | <com.android.gallery3d.filtershow.ui.ImageButtonTitle |
| 367 | android:id="@+id/bwfilterButton" |
| 368 | style="@style/FilterShowBottomButton" |
| 369 | android:src="@drawable/filtershow_button_colors_contrast" |
| 370 | android:text="@string/bwfilter" /> |
| 371 | |
nicolasroard | 14dafd6 | 2012-10-05 03:48:34 -0700 | [diff] [blame] | 372 | </LinearLayout> |
| 373 | </HorizontalScrollView> |
| 374 | </FrameLayout> |
nicolasroard | 4cc4609 | 2012-09-25 14:27:56 -0700 | [diff] [blame] | 375 | |
nicolasroard | c47b09c | 2012-10-11 21:36:12 -0700 | [diff] [blame] | 376 | <View |
| 377 | android:background="@color/toolbar_separation_line" |
| 378 | android:layout_height="1dip" |
| 379 | android:layout_width="match_parent" /> |
| 380 | |
John Hoford | 9091fa9 | 2012-10-11 21:04:41 -0700 | [diff] [blame] | 381 | <com.android.gallery3d.filtershow.CenteredLinearLayout |
| 382 | xmlns:custom="http://schemas.android.com/apk/res/com.android.gallery3d" |
| 383 | android:id="@+id/mainPanel" |
| 384 | android:layout_width="match_parent" |
| 385 | android:layout_height="wrap_content" |
| 386 | android:layout_gravity="center" |
| 387 | custom:max_width="400dip" |
| 388 | android:orientation="vertical"> |
| 389 | |
nicolasroard | 4cc4609 | 2012-09-25 14:27:56 -0700 | [diff] [blame] | 390 | <LinearLayout |
| 391 | android:layout_width="match_parent" |
| 392 | android:layout_height="48dip" |
| 393 | android:background="@color/background_main_toolbar" > |
| 394 | |
| 395 | <ImageButton |
| 396 | android:id="@+id/fxButton" |
nicolasroard | 0f1bb9f | 2012-10-17 12:47:53 -0700 | [diff] [blame] | 397 | android:layout_width="@dimen/thumbnail_size" |
nicolasroard | 4cc4609 | 2012-09-25 14:27:56 -0700 | [diff] [blame] | 398 | android:layout_height="match_parent" |
| 399 | android:layout_weight="1" |
| 400 | android:background="@drawable/filtershow_button_background" |
| 401 | android:scaleType="centerInside" |
nicolasroard | 14dafd6 | 2012-10-05 03:48:34 -0700 | [diff] [blame] | 402 | android:src="@drawable/ic_photoeditor_effects" /> |
nicolasroard | 4cc4609 | 2012-09-25 14:27:56 -0700 | [diff] [blame] | 403 | |
| 404 | <ImageButton |
| 405 | android:id="@+id/borderButton" |
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:padding="2dip" |
| 411 | android:scaleType="centerInside" |
nicolasroard | 14dafd6 | 2012-10-05 03:48:34 -0700 | [diff] [blame] | 412 | android:src="@drawable/ic_photoeditor_border" /> |
nicolasroard | 4cc4609 | 2012-09-25 14:27:56 -0700 | [diff] [blame] | 413 | |
| 414 | <ImageButton |
| 415 | android:id="@+id/geometryButton" |
nicolasroard | 0f1bb9f | 2012-10-17 12:47:53 -0700 | [diff] [blame] | 416 | android:layout_width="@dimen/thumbnail_size" |
nicolasroard | 4cc4609 | 2012-09-25 14:27:56 -0700 | [diff] [blame] | 417 | android:layout_height="match_parent" |
| 418 | android:layout_weight="1" |
| 419 | android:background="@drawable/filtershow_button_background" |
| 420 | android:padding="2dip" |
| 421 | android:scaleType="centerInside" |
nicolasroard | 14dafd6 | 2012-10-05 03:48:34 -0700 | [diff] [blame] | 422 | android:src="@drawable/ic_photoeditor_fix" /> |
nicolasroard | 4cc4609 | 2012-09-25 14:27:56 -0700 | [diff] [blame] | 423 | |
| 424 | <ImageButton |
| 425 | android:id="@+id/colorsButton" |
nicolasroard | 0f1bb9f | 2012-10-17 12:47:53 -0700 | [diff] [blame] | 426 | android:layout_width="@dimen/thumbnail_size" |
nicolasroard | 4cc4609 | 2012-09-25 14:27:56 -0700 | [diff] [blame] | 427 | android:layout_height="match_parent" |
| 428 | android:layout_weight="1" |
| 429 | android:background="@drawable/filtershow_button_background" |
| 430 | android:padding="2dip" |
| 431 | android:scaleType="centerInside" |
nicolasroard | 14dafd6 | 2012-10-05 03:48:34 -0700 | [diff] [blame] | 432 | android:src="@drawable/ic_photoeditor_color" /> |
nicolasroard | 4cc4609 | 2012-09-25 14:27:56 -0700 | [diff] [blame] | 433 | </LinearLayout> |
John Hoford | 9091fa9 | 2012-10-11 21:04:41 -0700 | [diff] [blame] | 434 | |
| 435 | </com.android.gallery3d.filtershow.CenteredLinearLayout> |
| 436 | |
| 437 | </com.android.gallery3d.filtershow.CenteredLinearLayout> |
nicolasroard | 4cc4609 | 2012-09-25 14:27:56 -0700 | [diff] [blame] | 438 | </LinearLayout> |
| 439 | |
nicolasroard | c4e553b | 2012-10-21 14:53:03 -0700 | [diff] [blame] | 440 | <LinearLayout |
| 441 | android:id="@+id/historyPanel" |
| 442 | android:layout_width="200dip" |
| 443 | android:layout_height="match_parent" |
| 444 | android:layout_gravity="right" |
| 445 | android:orientation="vertical" |
| 446 | android:visibility="invisible" > |
| 447 | |
| 448 | <TextView |
| 449 | android:layout_width="match_parent" |
| 450 | android:layout_height="wrap_content" |
| 451 | android:background="@android:color/transparent" |
| 452 | android:gravity="center" |
| 453 | android:padding="2dip" |
| 454 | android:text="@string/history" |
| 455 | android:textColor="@android:color/white" |
| 456 | android:textSize="24sp" |
| 457 | android:textStyle="bold" /> |
| 458 | |
| 459 | <ListView |
| 460 | android:id="@+id/operationsList" |
| 461 | android:layout_width="match_parent" |
| 462 | android:layout_height="wrap_content" |
| 463 | android:layout_weight="1" > |
| 464 | </ListView> |
| 465 | |
| 466 | <LinearLayout |
| 467 | android:layout_width="match_parent" |
| 468 | android:layout_height="wrap_content" |
| 469 | android:orientation="horizontal" > |
| 470 | |
| 471 | <Button |
| 472 | android:id="@+id/resetOperationsButton" |
| 473 | style="@style/FilterShowHistoryButton" |
| 474 | android:gravity="center" |
| 475 | android:text="@string/reset" /> |
| 476 | |
| 477 | <Button |
| 478 | android:id="@+id/saveOperationsButton" |
| 479 | style="@style/FilterShowHistoryButton" |
| 480 | android:text="@string/save" |
| 481 | android:visibility="gone" /> |
| 482 | </LinearLayout> |
| 483 | </LinearLayout> |
| 484 | |
Ruben Brunk | 16f709d | 2012-09-27 12:38:08 -0700 | [diff] [blame] | 485 | </FrameLayout> |