| Index: demos/src/main/res/layout/advanced_ui_setting.xml
|
| diff --git a/demos/src/main/res/layout/advanced_ui_setting.xml b/demos/src/main/res/layout/advanced_ui_setting.xml
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..19abd94a606b5af4e5e21fc07432ebbd30fbdc6b
|
| --- /dev/null
|
| +++ b/demos/src/main/res/layout/advanced_ui_setting.xml
|
| @@ -0,0 +1,96 @@
|
| +<?xml version="1.0" encoding="utf-8"?>
|
| +<!-- Copyright 2015 Google Inc. All Rights Reserved.
|
| +
|
| + Licensed under the Apache License, Version 2.0 (the "License");
|
| + you may not use this file except in compliance with the License.
|
| + You may obtain a copy of the License at
|
| +
|
| + http://www.apache.org/licenses/LICENSE-2.0
|
| +
|
| + Unless required by applicable law or agreed to in writing, software
|
| + distributed under the License is distributed on an "AS IS" BASIS,
|
| + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| + See the License for the specific language governing permissions and
|
| + limitations under the License.
|
| +-->
|
| +<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
| + android:layout_width="fill_parent"
|
| + android:layout_height="fill_parent">
|
| + <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
| + xmlns:tools="http://schemas.android.com/tools"
|
| + android:id="@+id/advanced_ui_setting_linear_layout"
|
| + android:layout_width="match_parent"
|
| + android:layout_height="wrap_content"
|
| + android:paddingLeft="@dimen/activity_horizontal_margin"
|
| + android:paddingRight="@dimen/activity_horizontal_margin"
|
| + android:paddingTop="@dimen/activity_vertical_margin"
|
| + android:paddingBottom="@dimen/activity_vertical_margin"
|
| + android:orientation="vertical"
|
| + tools:context=".CustomUIActivity">
|
| +
|
| + <LinearLayout
|
| + android:layout_width="match_parent"
|
| + android:paddingTop="@dimen/view_vertical_margin"
|
| + android:layout_height="@dimen/view_height"
|
| + android:orientation="horizontal">
|
| +
|
| + <TextView
|
| + android:layout_width="wrap_content"
|
| + android:layout_height="wrap_content"
|
| + android:textSize="@dimen/abc_text_size_medium_material"
|
| + android:text="@string/label_package"/>
|
| +
|
| + <Spinner
|
| + android:paddingLeft="@dimen/spinner_padding_left"
|
| + android:layout_width="match_parent"
|
| + android:layout_height="wrap_content"
|
| + android:id="@+id/spinner_package" />
|
| + </LinearLayout>
|
| +
|
| + <LinearLayout
|
| + android:layout_width="match_parent"
|
| + android:paddingTop="@dimen/view_vertical_margin"
|
| + android:layout_height="@dimen/view_height"
|
| + android:orientation="horizontal">
|
| +
|
| + <TextView
|
| + android:layout_width="wrap_content"
|
| + android:layout_height="wrap_content"
|
| + android:textSize="@dimen/abc_text_size_medium_material"
|
| + android:text="@string/label_toolbar_color"/>
|
| +
|
| + <Spinner
|
| + android:paddingLeft="@dimen/spinner_padding_left"
|
| + android:layout_width="match_parent"
|
| + android:layout_height="wrap_content"
|
| + android:id="@+id/spinner_color" />
|
| + </LinearLayout>
|
| +
|
| + <LinearLayout
|
| + android:layout_width="match_parent"
|
| + android:id="@+id/actionbar_items"
|
| + android:paddingTop="@dimen/view_vertical_margin"
|
| + android:gravity="center"
|
| + android:layout_height="wrap_content"
|
| + android:orientation="vertical">
|
| + </LinearLayout>
|
| +
|
| + <Button
|
| + android:id="@+id/add_actionbar_item"
|
| + android:layout_gravity="center_horizontal"
|
| + android:paddingTop="@dimen/button_padding_top"
|
| + android:layout_width="@dimen/button_width"
|
| + android:layout_height="@dimen/button_height"
|
| + android:textSize="@dimen/abc_text_size_medium_material"
|
| + android:text="@string/label_add_action_bar_item" />
|
| +
|
| + <Button
|
| + android:id="@+id/save_setting"
|
| + android:layout_gravity="center_horizontal"
|
| + android:paddingTop="@dimen/button_padding_top"
|
| + android:layout_width="@dimen/button_width"
|
| + android:layout_height="@dimen/button_height"
|
| + android:textSize="@dimen/abc_text_size_medium_material"
|
| + android:text="@string/label_save" />
|
| + </LinearLayout>
|
| +</ScrollView>
|
|
|