anotherim/src/main/res/layout/welcome.xml

82 lines
3.6 KiB
XML
Raw Normal View History

2016-04-19 16:03:24 +00:00
<?xml version="1.0" encoding="utf-8"?>
2016-04-21 22:17:08 +00:00
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
2016-04-19 16:03:24 +00:00
android:layout_width="match_parent"
2016-04-21 22:17:08 +00:00
android:layout_height="match_parent"
android:fillViewport="true">
2016-04-19 16:03:24 +00:00
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="?attr/color_background_primary">
2016-04-21 22:17:08 +00:00
<LinearLayout
android:id="@+id/linearLayout"
android:layout_width="match_parent"
2016-04-19 16:03:24 +00:00
android:layout_height="wrap_content"
2016-04-21 22:17:08 +00:00
android:layout_alignParentBottom="true"
android:layout_alignParentLeft="true"
android:layout_alignParentStart="true"
android:minHeight="256dp"
android:orientation="vertical"
android:paddingBottom="10dp"
2016-04-21 22:17:08 +00:00
android:paddingLeft="16dp"
android:paddingRight="16dp">
<Space
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1"/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/welcome_header"
android:textAppearance="@style/TextAppearance.AppCompat.Title"/>
2016-04-21 22:17:08 +00:00
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="8dp"
android:text="@string/welcome_text"
android:textAppearance="@style/TextAppearance.AppCompat.Body1"/>
2016-04-21 22:17:08 +00:00
<Button
android:id="@+id/create_account"
style="?android:attr/borderlessButtonStyle"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="right"
android:text="@string/create_account"
android:textColor="@color/accent"/>
<Button
android:id="@+id/use_own_provider"
style="?android:attr/borderlessButtonStyle"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="right"
android:text="@string/use_own_provider"
android:textColor="?attr/color_text_secondary"/>
2016-04-21 22:17:08 +00:00
</LinearLayout>
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_above="@+id/linearLayout"
android:layout_alignParentLeft="true"
android:layout_alignParentStart="true"
android:layout_alignParentTop="true">
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerHorizontal="true"
android:layout_centerVertical="true"
android:padding="8dp"
android:src="@drawable/main_logo"/>
</RelativeLayout>
<TextView
2016-10-13 10:17:20 +00:00
android:paddingLeft="8dp"
android:paddingRight="8dp"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:textColor="?attr/color_text_secondary"
2016-10-13 10:17:20 +00:00
android:textSize="@dimen/fineprint_size"
android:maxLines="1"
android:text="@string/free_for_six_month"
android:layout_centerHorizontal="true"/>
2016-04-19 16:03:24 +00:00
</RelativeLayout>
2016-04-21 22:17:08 +00:00
</ScrollView>