81 lines
2.9 KiB
XML
81 lines
2.9 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
~ Copyright (C) 2012 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
|
|
-->
|
|
<merge xmlns:android="http://schemas.android.com/apk/res/android" >
|
|
|
|
<ImageView
|
|
android:id="@+id/description_icon"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="match_parent"
|
|
android:layout_gravity="center_vertical"
|
|
android:paddingLeft="16dip"
|
|
android:paddingStart="16dip" />
|
|
|
|
<TextView
|
|
android:id="@+id/description_text"
|
|
android:layout_width="0dip"
|
|
android:layout_height="match_parent"
|
|
android:layout_weight="1"
|
|
android:ellipsize="end"
|
|
android:gravity="center_vertical"
|
|
android:paddingLeft="16dip"
|
|
android:paddingStart="16dip"
|
|
android:singleLine="true"
|
|
android:textColor="@android:color/white"
|
|
android:textSize="16sp" />
|
|
|
|
<LinearLayout
|
|
android:id="@+id/action_button"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="match_parent"
|
|
android:background="@drawable/clickable_bg_purple"
|
|
android:clickable="true" >
|
|
|
|
<View
|
|
android:id="@+id/separator"
|
|
android:layout_width="1dip"
|
|
android:layout_height="match_parent"
|
|
android:layout_marginBottom="10dip"
|
|
android:layout_marginRight="12dip"
|
|
android:layout_marginEnd="12dip"
|
|
android:layout_marginTop="10dip"
|
|
android:background="@android:color/white" />
|
|
|
|
<ImageView
|
|
android:id="@+id/action_icon"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="match_parent"
|
|
android:layout_gravity="center_vertical"
|
|
android:layout_marginRight="4dip"
|
|
android:layout_marginEnd="4dip" />
|
|
|
|
<TextView
|
|
android:id="@+id/action_text"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="match_parent"
|
|
android:layout_marginLeft="4dip"
|
|
android:layout_marginStart="4dip"
|
|
android:gravity="center_vertical"
|
|
android:paddingRight="16dip"
|
|
android:paddingEnd="16dip"
|
|
android:textSize="18sp"
|
|
android:textAllCaps="true"
|
|
android:textColor="@android:color/white"
|
|
android:fontFamily="sans-serif-condensed" />
|
|
</LinearLayout>
|
|
|
|
</merge>
|