activity_main.xml (1439B)
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/. --> 5 6 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" 7 xmlns:tools="http://schemas.android.com/tools" 8 android:layout_width="match_parent" 9 android:layout_height="match_parent" 10 android:orientation="vertical" 11 android:id="@+id/container" 12 tools:context="org.mozilla.samples.sync.logins.MainActivity"> 13 14 15 <LinearLayout 16 android:layout_width="match_parent" 17 android:layout_height="wrap_content" 18 android:layout_alignParentStart="true" 19 android:layout_alignParentTop="true" 20 android:orientation="vertical" 21 android:id="@+id/buttonList" 22 tools:context="org.mozilla.samples.sync.logins.MainActivity" 23 tools:ignore="UselessParent"> 24 25 <ListView 26 android:id="@+id/logins_list_view" 27 android:layout_width="fill_parent" 28 android:layout_height="150dp" 29 /> 30 <Button 31 android:id="@+id/buttonWebView" 32 android:layout_width="wrap_content" 33 android:layout_height="wrap_content" 34 android:text="@string/sign_in_webview" 35 android:textAlignment="center" /> 36 37 </LinearLayout> 38 </RelativeLayout>