Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(404)

Side by Side Diff: demos/src/main/res/layout/advanced_ui_setting.xml

Issue 1603383003: color, package and action bar configuration. (Closed) Base URL: https://github.com/GoogleChrome/custom-tabs-client.git@master
Patch Set: fixes Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- Copyright 2015 Google Inc. All Rights Reserved.
3
4 Licensed under the Apache License, Version 2.0 (the "License");
5 you may not use this file except in compliance with the License.
6 You may obtain a copy of the License at
7
8 http://www.apache.org/licenses/LICENSE-2.0
9
10 Unless required by applicable law or agreed to in writing, software
11 distributed under the License is distributed on an "AS IS" BASIS,
12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 See the License for the specific language governing permissions and
14 limitations under the License.
15 -->
16 <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
17 android:layout_width="fill_parent"
18 android:layout_height="fill_parent">
19 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
20 xmlns:tools="http://schemas.android.com/tools"
21 android:id="@+id/advanced_ui_setting_linear_layout"
22 android:layout_width="match_parent"
23 android:layout_height="wrap_content"
24 android:paddingLeft="@dimen/activity_horizontal_margin"
25 android:paddingRight="@dimen/activity_horizontal_margin"
26 android:paddingTop="@dimen/activity_vertical_margin"
27 android:paddingBottom="@dimen/activity_vertical_margin"
28 android:orientation="vertical"
29 tools:context=".CustomUIActivity">
30
31 <LinearLayout
32 android:layout_width="match_parent"
33 android:paddingTop="@dimen/view_vertical_margin"
34 android:layout_height="@dimen/view_height"
35 android:orientation="horizontal">
36
37 <TextView
38 android:layout_width="wrap_content"
39 android:layout_height="wrap_content"
40 android:textSize="@dimen/abc_text_size_medium_material"
41 android:text="@string/label_package"/>
42
43 <Spinner
44 android:paddingLeft="@dimen/spinner_padding_left"
45 android:layout_width="match_parent"
46 android:layout_height="wrap_content"
47 android:id="@+id/spinner_package" />
48 </LinearLayout>
49
50 <LinearLayout
51 android:layout_width="match_parent"
52 android:paddingTop="@dimen/view_vertical_margin"
53 android:layout_height="@dimen/view_height"
54 android:orientation="horizontal">
55
56 <TextView
57 android:layout_width="wrap_content"
58 android:layout_height="wrap_content"
59 android:textSize="@dimen/abc_text_size_medium_material"
60 android:text="@string/label_toolbar_color"/>
61
62 <Spinner
63 android:paddingLeft="@dimen/spinner_padding_left"
64 android:layout_width="match_parent"
65 android:layout_height="wrap_content"
66 android:id="@+id/spinner_color" />
67 </LinearLayout>
68
69 <LinearLayout
70 android:layout_width="match_parent"
71 android:id="@+id/actionbar_items"
72 android:paddingTop="@dimen/view_vertical_margin"
73 android:gravity="center"
74 android:layout_height="wrap_content"
75 android:orientation="vertical">
76 </LinearLayout>
77
78 <Button
79 android:id="@+id/add_actionbar_item"
80 android:layout_gravity="center_horizontal"
81 android:paddingTop="@dimen/button_padding_top"
82 android:layout_width="@dimen/button_width"
83 android:layout_height="@dimen/button_height"
84 android:textSize="@dimen/abc_text_size_medium_material"
85 android:text="@string/label_add_action_bar_item" />
86
87 <Button
88 android:id="@+id/save_setting"
89 android:layout_gravity="center_horizontal"
90 android:paddingTop="@dimen/button_padding_top"
91 android:layout_width="@dimen/button_width"
92 android:layout_height="@dimen/button_height"
93 android:textSize="@dimen/abc_text_size_medium_material"
94 android:text="@string/label_save" />
95 </LinearLayout>
96 </ScrollView>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698