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

Thu, 22 Jan 2015 13:21:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 22 Jan 2015 13:21:57 +0100
branch
TOR_BUG_9701
changeset 15
b8a032363ba2
permissions
-rw-r--r--

Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6

     1 <?xml version="1.0" encoding="utf-8"?>
     2 <!-- This Source Code Form is subject to the terms of the Mozilla Public
     3    - License, v. 2.0. If a copy of the MPL was not distributed with this
     4    - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
     6 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
     7               android:layout_width="fill_parent"
     8               android:layout_height="wrap_content"
     9               android:orientation="horizontal"
    10               android:padding="@dimen/doorhanger_padding">
    12     <ImageView android:id="@+id/larry"
    13                android:layout_width="wrap_content"
    14                android:layout_height="wrap_content"
    15                android:src="@drawable/larry"
    16                android:paddingRight="@dimen/doorhanger_padding"/>
    18     <LinearLayout android:layout_width="0dip"
    19                   android:layout_height="wrap_content"
    20                   android:layout_weight="1.0"
    21                   android:orientation="vertical">
    23         <TextView android:layout_width="wrap_content"
    24                   android:layout_height="wrap_content"
    25                   android:textSize="14sp"
    26                   android:textColor="@color/doorhanger_text"
    27                   android:text="@string/identity_connected_to"/>
    29         <TextView android:id="@+id/host"
    30                   android:layout_width="wrap_content"
    31                   android:layout_height="wrap_content"
    32                   android:textSize="20sp"
    33                   android:textColor="@color/doorhanger_text"
    34                   android:textStyle="bold"/>
    36         <TextView android:layout_width="wrap_content"
    37                   android:layout_height="wrap_content"
    38                   android:textSize="14sp"
    39                   android:textColor="@color/doorhanger_text"
    40                   android:text="@string/identity_run_by"
    41                   android:paddingTop="12dip"/>
    43         <TextView android:id="@+id/owner"
    44                   android:layout_width="wrap_content"
    45                   android:layout_height="wrap_content"
    46                   android:textColor="@color/doorhanger_text"
    47                   android:textSize="16sp"
    48                   android:textStyle="bold"/>
    50         <TextView android:id="@+id/verifier"
    51                   android:layout_width="wrap_content"
    52                   android:layout_height="wrap_content"
    53                   android:textSize="14sp"
    54                   android:textColor="@color/doorhanger_text"
    55                   android:paddingTop="12dip"/>
    57     </LinearLayout>
    59 </LinearLayout>

mercurial