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

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"
Ian Wen 2016/03/16 01:35:30 This file is not properly formatted.
BigBossZhiling 2016/03/18 00:59:07 Done.
20 xmlns:app="http://schemas.android.com/apk/res-auto"
21 xmlns:tools="http://schemas.android.com/tools"
22 android:id="@+id/advanced_ui_setting_linear_layout"
23 android:layout_width="match_parent"
24 android:layout_height="wrap_content"
25 android:paddingLeft="@dimen/activity_horizontal_margin"
26 android:paddingRight="@dimen/activity_horizontal_margin"
27 android:paddingTop="@dimen/activity_vertical_margin"
28 android:paddingBottom="@dimen/activity_vertical_margin"
29 android:orientation="vertical"
30 tools:context=".CustomUIActivity">
31
32 <LinearLayout
33 android:layout_width="match_parent"
34 android:paddingTop="@dimen/view_vertical_margin"
35 android:layout_height="@dimen/view_height"
36 android:orientation="horizontal">
37
38 <TextView
39 android:layout_width="wrap_content"
40 android:layout_height="wrap_content"
41 android:textSize="@dimen/abc_text_size_medium_material"
42 android:text="@string/label_package"/>
43
44 <Spinner
45 android:paddingLeft="@dimen/spinner_padding_left"
46 android:layout_width="match_parent"
47 android:layout_height="wrap_content"
48 android:id="@+id/spinner_package" />
49 </LinearLayout>
50
51 <LinearLayout
52 android:layout_width="match_parent"
53 android:paddingTop="@dimen/view_vertical_margin"
54 android:layout_height="@dimen/view_height"
55 android:orientation="horizontal">
56
57 <TextView
58 android:layout_width="wrap_content"
59 android:layout_height="wrap_content"
60 android:textSize="@dimen/abc_text_size_medium_material"
61 android:text="@string/label_toolbar_color"/>
62
63 <Spinner
64 android:paddingLeft="@dimen/spinner_padding_left"
65 android:layout_width="match_parent"
66 android:layout_height="wrap_content"
67 android:id="@+id/spinner_color" />
68 </LinearLayout>
69
70 <LinearLayout
71 android:layout_width="match_parent"
72 android:id="@+id/actionbar_items"
73 android:paddingTop="@dimen/view_vertical_margin"
74 android:gravity="center"
75 android:layout_height="wrap_content"
76 android:orientation="vertical">
77 </LinearLayout>
78
79 <Button
80 android:id="@+id/add_actionbar_item"
81 android:layout_gravity="center_horizontal"
82 android:paddingTop="@dimen/button_padding_top"
83 android:layout_width="@dimen/button_width"
84 android:layout_height="@dimen/button_height"
85 android:textSize="@dimen/abc_text_size_medium_material"
86 android:text="@string/label_add_action_bar_item" />
87
88 <Button
89 android:id="@+id/save_setting"
90 android:layout_gravity="center_horizontal"
91 android:paddingTop="@dimen/button_padding_top"
92 android:layout_width="@dimen/button_width"
93 android:layout_height="@dimen/button_height"
94 android:textSize="@dimen/abc_text_size_medium_material"
95 android:text="@string/label_save" />
96 </LinearLayout>
97 </ScrollView>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698