OSDN Git Service

Merge "Import translations. DO NOT MERGE" into klp-dev
[android-x86/packages-apps-Gallery2.git] / res / layout / filtershow_control_color_chooser.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <!--
3      Copyright (C) 2013 The Android Open Source Project
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
18 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
19     xmlns:app="http://schemas.android.com/apk/res/com.example.imagefilterharness"
20     android:layout_width="match_parent"
21     android:layout_height="wrap_content"
22     android:orientation="horizontal" >
23             <HorizontalScrollView
24                 android:id="@+id/scrollList"
25                 android:layout_width="0dp"
26                 android:layout_weight="5"
27                 android:layout_height="match_parent"
28                 android:scrollbars="none" >
29
30                 <LinearLayout
31                     android:id="@+id/listStyles"
32                     android:layout_width="wrap_content"
33                     android:layout_height="match_parent"
34                     android:orientation="horizontal" >
35
36                 <Button
37                         android:id="@+id/draw_color_button01"
38                         android:layout_width="0dip"
39                         android:layout_height="wrap_content"
40                         android:layout_weight="1"
41                         android:background="@drawable/filtershow_color_picker_circle"
42                         android:layout_margin="2dp" />
43                 <Button
44                         android:id="@+id/draw_color_button02"
45                         android:layout_width="0dip"
46                         android:layout_height="wrap_content"
47                         android:layout_weight="1"
48                         android:background="@drawable/filtershow_color_picker_circle"
49                         android:layout_margin="2dp" />
50                 <Button
51                         android:id="@+id/draw_color_button03"
52                         android:layout_width="0dip"
53                         android:layout_height="wrap_content"
54                         android:layout_weight="1"
55                         android:background="@drawable/filtershow_color_picker_circle"
56                         android:layout_margin="2dp" />
57                 <Button
58                         android:id="@+id/draw_color_button04"
59                         android:layout_width="0dip"
60                         android:layout_height="wrap_content"
61                         android:layout_weight="1"
62                         android:background="@drawable/filtershow_color_picker_circle"
63                         android:layout_margin="2dp" />
64                 <Button
65                         android:id="@+id/draw_color_button05"
66                         android:layout_width="0dip"
67                         android:layout_height="wrap_content"
68                         android:layout_weight="1"
69                         android:background="@drawable/filtershow_color_picker_circle"
70                         android:layout_margin="2dp" />
71
72                 </LinearLayout>
73             </HorizontalScrollView>
74     <Button
75             android:id="@+id/draw_color_popupbutton"
76             android:layout_width="0dp"
77             android:layout_height="match_parent"
78             android:layout_weight="1"
79             android:background="@android:drawable/ic_menu_more"
80             android:layout_margin="1dp"
81             />
82 </LinearLayout>
83