diff options
author | Alan Viverette <alanv@google.com> | 2013-08-06 13:53:58 -0700 |
---|---|---|
committer | Alan Viverette <alanv@google.com> | 2013-08-06 13:53:58 -0700 |
commit | cc0e782871eb6b946ded880e391866f27953654b (patch) | |
tree | bc4440a24d436953adb8e86423a77a0b52be8f93 /res/layout/color_picker_item.xml | |
parent | 279a8dfc4077ab6623213da17954e307806cddc8 (diff) | |
download | packages_apps_Settings-cc0e782871eb6b946ded880e391866f27953654b.zip packages_apps_Settings-cc0e782871eb6b946ded880e391866f27953654b.tar.gz packages_apps_Settings-cc0e782871eb6b946ded880e391866f27953654b.tar.bz2 |
Add captioning preferences screen
BUG: 9926077
Change-Id: Iea141d5d6fd0e4f134c36c51d89830b3c31abd09
Diffstat (limited to 'res/layout/color_picker_item.xml')
-rw-r--r-- | res/layout/color_picker_item.xml | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/res/layout/color_picker_item.xml b/res/layout/color_picker_item.xml new file mode 100644 index 0000000..80a18f3 --- /dev/null +++ b/res/layout/color_picker_item.xml @@ -0,0 +1,35 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + Copyright (C) 2013 The Android Open Source Project + + 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. +--> + +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="96dp" + android:layout_height="wrap_content" + android:orientation="vertical" > + + <ImageView + android:id="@+id/color_swatch" + android:layout_width="96dp" + android:layout_height="96dp" + android:contentDescription="@null" /> + + <TextView + android:id="@+id/summary" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:gravity="center" /> + +</LinearLayout> |