mobile/android/base/resources/layout/icon_grid_item.xml

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

michael@0 1 <?xml version="1.0" encoding="utf-8"?>
michael@0 2 <!--
michael@0 3 //device/apps/common/res/any/layout/resolve_list_item.xml
michael@0 4 Copyright 2006, The Android Open Source Project
michael@0 5
michael@0 6 Licensed under the Apache License, Version 2.0 (the "License");
michael@0 7 you may not use this file except in compliance with the License.
michael@0 8 You may obtain a copy of the License at
michael@0 9
michael@0 10 http://www.apache.org/licenses/LICENSE-2.0
michael@0 11
michael@0 12 Unless required by applicable law or agreed to in writing, software
michael@0 13 distributed under the License is distributed on an "AS IS" BASIS,
michael@0 14 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
michael@0 15 See the License for the specific language governing permissions and
michael@0 16 limitations under the License.
michael@0 17 -->
michael@0 18 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
michael@0 19 android:gravity="center"
michael@0 20 android:orientation="vertical"
michael@0 21 android:layout_height="wrap_content"
michael@0 22 android:layout_width="match_parent"
michael@0 23 android:background="@drawable/icon_grid_item_bg"
michael@0 24 android:padding="16dp">
michael@0 25
michael@0 26 <!-- Extended activity info to distinguish between duplicate activity names -->
michael@0 27 <TextView android:id="@android:id/text2"
michael@0 28 android:textAppearance="?android:attr/textAppearance"
michael@0 29 android:layout_width="wrap_content"
michael@0 30 android:layout_height="wrap_content"
michael@0 31 android:gravity="center"
michael@0 32 android:minLines="2"
michael@0 33 android:maxLines="2"
michael@0 34 android:paddingTop="4dip"
michael@0 35 android:paddingBottom="4dip" />
michael@0 36
michael@0 37 <!-- Activity icon when presenting dialog
michael@0 38 Size will be filled in by ResolverActivity -->
michael@0 39 <ImageView android:id="@+id/icon"
michael@0 40 android:layout_width="0dp"
michael@0 41 android:layout_height="0dp"
michael@0 42 android:scaleType="fitCenter" />
michael@0 43
michael@0 44 <!-- Activity name -->
michael@0 45 <TextView android:id="@android:id/text1"
michael@0 46 android:textAppearance="?android:attr/textAppearanceSmall"
michael@0 47 android:layout_width="wrap_content"
michael@0 48 android:layout_height="wrap_content"
michael@0 49 android:gravity="center"
michael@0 50 android:minLines="2"
michael@0 51 android:maxLines="2"
michael@0 52 android:paddingTop="4dip"
michael@0 53 android:paddingBottom="4dip" />
michael@0 54 </LinearLayout>
michael@0 55

mercurial