| <?xml version="1.0" encoding="utf-8"?> |
| <!-- |
| Copyright (c) 2016, The Linux Foundation. All rights reserved. |
| |
| Redistribution and use in source and binary forms, with or without |
| modification, are permitted provided that the following conditions are |
| met: |
| * Redistributions of source code must retain the above copyright |
| notice, this list of conditions and the following disclaimer. |
| * Redistributions in binary form must reproduce the above |
| copyright notice, this list of conditions and the following |
| disclaimer in the documentation and/or other materials provided |
| with the distribution. |
| * Neither the name of The Linux Foundation nor the names of its |
| contributors may be used to endorse or promote products derived |
| from this software without specific prior written permission. |
| |
| THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED |
| WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF |
| MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT |
| ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS |
| BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR |
| CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF |
| SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR |
| BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, |
| WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE |
| OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN |
| IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| --> |
| |
| <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| android:orientation="vertical" |
| android:layout_width="424dp" |
| android:layout_height="260dp" |
| android:background="#EFEFEF"> |
| |
| <LinearLayout |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:layout_marginStart="24dp" |
| android:layout_marginTop="22dp" |
| android:orientation="horizontal"> |
| |
| <ImageView |
| android:id="@+id/icon_tools" |
| android:layout_width="21dp" |
| android:layout_height="27dp" |
| android:src="@drawable/icon_tools"/> |
| |
| <TextView |
| android:id="@+id/dialog_title" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:paddingStart="8dp" |
| android:textColor="#000000" |
| android:textSize="16sp" |
| android:text="@string/filtershow_dialog_title"/> |
| </LinearLayout> |
| |
| |
| <LinearLayout |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:orientation="horizontal" |
| android:layout_marginTop="20dp" |
| android:layout_marginStart="24dp" |
| android:layout_marginEnd="34dp"> |
| |
| <TextView |
| android:id="@+id/dialog_content" |
| android:layout_width="128dp" |
| android:layout_height="wrap_content" |
| android:textSize="13sp" |
| android:textColor="#000000" |
| android:text="@string/filtershow_dialog_content"/> |
| |
| <LinearLayout |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:layout_marginStart="28dp" |
| android:layout_marginEnd="34dp"> |
| <LinearLayout |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:layout_weight="1" |
| android:orientation="vertical"> |
| |
| <ImageView |
| android:id="@+id/original_photo" |
| android:layout_width="105dp" |
| android:layout_height="79dp" |
| android:layout_gravity="center" |
| android:src="@drawable/ref_city" /> |
| |
| <TextView |
| android:id="@+id/original" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:layout_gravity="center" |
| android:textColor="#000000" |
| android:textSize="9sp" |
| android:text="@string/filtershow_dialog_original_photo" /> |
| </LinearLayout> |
| |
| <LinearLayout |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:layout_weight="1" |
| android:orientation="vertical"> |
| |
| <ImageView |
| android:id="@+id/filter_photo" |
| android:layout_width="105dp" |
| android:layout_height="79dp" |
| android:layout_gravity="center" |
| android:src="@drawable/ref_flowers" /> |
| |
| <TextView |
| android:id="@+id/filter" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:layout_gravity="center" |
| android:textColor="#000000" |
| android:textSize="9sp" |
| android:text="@string/filtershow_dialog_apply_photo"/> |
| </LinearLayout> |
| </LinearLayout> |
| </LinearLayout> |
| |
| <CheckBox |
| android:id="@+id/filtershow_check_box" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:layout_marginStart="18dp" |
| android:layout_marginTop="20dp" |
| android:textSize="13sp" |
| android:text="@string/filtershow_dialog_checkbox" /> |
| |
| <View |
| android:layout_width="match_parent" |
| android:layout_height="2px" |
| android:layout_marginTop="10dp" |
| android:background="#D8D8D8" /> |
| |
| <LinearLayout |
| android:orientation="horizontal" |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:layout_marginStart="260dp"> |
| |
| <Button |
| android:id="@+id/cancel" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:text="@string/cancel" |
| android:textSize="13dp" |
| style="?android:attr/buttonBarButtonStyle" /> |
| |
| <Button |
| android:id="@+id/ok" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:text="@string/ok_continue" |
| android:textSize="13dp" |
| style="?android:attr/buttonBarButtonStyle" /> |
| </LinearLayout> |
| |
| </LinearLayout> |