activity_main.xml (1954B)
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.relay.MainActivity"> 13 14 <LinearLayout 15 android:layout_width="match_parent" 16 android:layout_height="wrap_content" 17 android:layout_alignParentStart="true" 18 android:layout_alignParentTop="true" 19 android:orientation="vertical" 20 android:id="@+id/buttonList" 21 tools:context="org.mozilla.samples.fxa.MainActivity"> 22 23 <Button 24 android:id="@+id/buttonWebView" 25 android:layout_width="wrap_content" 26 android:layout_height="wrap_content" 27 android:text="@string/sign_in_webview" 28 android:textAlignment="center" /> 29 30 <Button 31 android:id="@+id/buttonLogout" 32 android:layout_width="wrap_content" 33 android:layout_height="wrap_content" 34 android:text="@string/log_out" 35 android:textAlignment="center" /> 36 37 <Button 38 android:id="@+id/buttonRelayAddresses" 39 android:layout_width="wrap_content" 40 android:layout_height="wrap_content" 41 android:text="@string/relay_addresses" 42 android:textAlignment="center" /> 43 44 <TextView 45 android:id="@+id/txtView" 46 android:layout_width="wrap_content" 47 android:layout_height="wrap_content" 48 android:layout_gravity="center" 49 android:text="" /> 50 </LinearLayout> 51 </RelativeLayout>