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

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/mobile/android/base/resources/layout/sync_list_item.xml	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,34 @@
     1.4 +<?xml version="1.0" encoding="utf-8"?>
     1.5 +<!-- This Source Code Form is subject to the terms of the Mozilla Public
     1.6 +   - License, v. 2.0. If a copy of the MPL was not distributed with this
     1.7 +   - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
     1.8 +
     1.9 +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    1.10 +    android:gravity="center_vertical"
    1.11 +    android:layout_width="fill_parent"
    1.12 +    android:layout_height="wrap_content"
    1.13 +    android:minHeight="?android:attr/listPreferredItemHeight"
    1.14 +    android:orientation="horizontal"
    1.15 +    android:padding="5dp" >
    1.16 +
    1.17 +    <ImageView
    1.18 +        android:id="@+id/img"
    1.19 +        android:layout_width="wrap_content"
    1.20 +        android:layout_height="wrap_content"
    1.21 +        android:padding="10dp"
    1.22 +        android:layout_marginRight="10dip" />
    1.23 +
    1.24 +    <TextView
    1.25 +        android:id="@+id/client_name"
    1.26 +        android:layout_gravity="center"
    1.27 +        android:layout_width="0dp"
    1.28 +        android:layout_weight="0.5"
    1.29 +        android:layout_height="wrap_content" />
    1.30 +
    1.31 +    <CheckBox
    1.32 +        android:id="@+id/check"
    1.33 +        android:layout_width="40dp"
    1.34 +        android:layout_height="40dp"
    1.35 +        android:layout_marginLeft="10dip" />
    1.36 +
    1.37 +</LinearLayout>

mercurial