blob: b26dc8aae00fa5700911f895d2d14d94c4c4186b [file] [log] [blame]
Brian Attwell20510ec2015-02-27 16:10:45 -08001<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2015 The Android Open Source Project
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-->
Brian Attwell8f8937f2015-03-05 14:07:43 -080016<FrameLayout
Brian Attwell20510ec2015-02-27 16:10:45 -080017 xmlns:android="http://schemas.android.com/apk/res/android"
18 android:id="@+id/selection_bar"
19 android:layout_width="match_parent"
20 android:layout_height="match_parent"
John Shaofbecdf62016-07-21 16:19:46 -070021 android:background="@color/contextual_selection_bar_color">
Brian Attwell20510ec2015-02-27 16:10:45 -080022
23 <ImageButton
24 android:id="@+id/selection_close"
yaolu75d2edb2016-07-22 15:45:46 -070025 android:layout_width="@dimen/selection_bar_close_icon_size"
26 android:layout_height="@dimen/selection_bar_close_icon_size"
John Shaofbecdf62016-07-21 16:19:46 -070027 android:layout_gravity="center_vertical|start"
Gary Mai3e9637f2016-09-06 18:22:55 -070028 android:tint="@color/quantum_black_secondary_text"
Wenyi Wang3c3b6f12016-04-02 13:58:43 -070029 android:background="?attr/selectableItemBackgroundBorderless"
Tingting Wangfaa2ec52016-07-13 13:14:46 -070030 android:contentDescription="@string/action_menu_back_from_edit_select"
Gary Mai3e9637f2016-09-06 18:22:55 -070031 android:src="@drawable/ic_close_24dp"/>
Brian Attwell20510ec2015-02-27 16:10:45 -080032
33 <TextView
34 android:id="@+id/selection_count_text"
John Shaofbecdf62016-07-21 16:19:46 -070035 style="@style/ContactsActionBarTitleTextBlack"
Brian Attwell20510ec2015-02-27 16:10:45 -080036 android:layout_width="wrap_content"
37 android:layout_height="wrap_content"
Brian Attwell8f8937f2015-03-05 14:07:43 -080038 android:layout_gravity="center_vertical|start"
John Shaofbecdf62016-07-21 16:19:46 -070039 android:layout_marginEnd="@dimen/edit_group_end_margin"
40 android:layout_marginStart="72dp"
Wenyi Wangdb662692016-07-14 16:07:44 -070041 android:ellipsize="end"
John Shaofbecdf62016-07-21 16:19:46 -070042 android:singleLine="true"
43 android:visibility="gone"/>
Brian Attwell20510ec2015-02-27 16:10:45 -080044
Wenyi Wangf5493a62016-07-11 14:28:52 -070045 <TextView
46 android:id="@+id/add_contacts"
Wenyi Wangf5493a62016-07-11 14:28:52 -070047 android:layout_width="wrap_content"
John Shaofbecdf62016-07-21 16:19:46 -070048 android:layout_height="48dp"
Wenyi Wangf5493a62016-07-11 14:28:52 -070049 android:layout_gravity="center_vertical|end"
John Shaofbecdf62016-07-21 16:19:46 -070050 android:gravity="center"
51 android:paddingEnd="16dp"
52 android:paddingStart="16dp"
Wenyi Wangf5493a62016-07-11 14:28:52 -070053 android:text="@string/menu_add_contacts"
Wenyi Wangdb662692016-07-14 16:07:44 -070054 android:textColor="@color/primary_color"
John Shaofbecdf62016-07-21 16:19:46 -070055 android:textStyle="bold"
56 android:visibility="gone"/>
Wenyi Wangf5493a62016-07-11 14:28:52 -070057
Brian Attwell8f8937f2015-03-05 14:07:43 -080058</FrameLayout>