OsmAnd/OsmAnd/res/layout-xlarge/first_usage_welcome_fragment.xml

103 lines
3.8 KiB
XML
Raw Normal View History

2015-08-11 15:46:31 +02:00
<?xml version="1.0" encoding="utf-8"?>
2015-08-21 18:08:37 +02:00
<FrameLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:osmand="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:clickable="true"
android:theme="@style/OsmandLightTheme">
2015-08-11 15:46:31 +02:00
<ImageView
2015-11-19 18:17:51 +01:00
android:id="@+id/background_image"
2015-08-11 15:46:31 +02:00
android:layout_width="match_parent"
android:layout_height="match_parent"
android:scaleType="centerCrop"
2015-11-19 18:17:51 +01:00
android:background="@color/osmand_orange"/>
2015-08-11 15:46:31 +02:00
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="match_parent"
2015-08-21 18:08:37 +02:00
android:layout_gravity="center_horizontal"
2015-08-11 15:46:31 +02:00
android:background="@color/color_transparent"
android:focusable="true"
android:focusableInTouchMode="true"
android:orientation="vertical"
android:paddingLeft="40dp"
android:paddingRight="40dp"
2015-08-21 18:08:37 +02:00
android:paddingTop="@dimen/first_usage_title_margin">
2015-08-11 15:46:31 +02:00
2016-08-15 21:40:20 +02:00
<LinearLayout
2015-08-11 15:46:31 +02:00
android:layout_width="wrap_content"
android:layout_height="wrap_content"
2016-08-15 21:40:20 +02:00
android:layout_gravity="center"
android:orientation="horizontal">
2015-08-11 15:46:31 +02:00
2016-08-15 21:40:20 +02:00
<ImageView
android:layout_width="80dp"
android:layout_height="80dp"
android:src="@drawable/icon"/>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:layout_marginLeft="2dp">
<net.osmand.plus.widgets.TextViewEx
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="smAnd"
android:textColor="@color/color_white"
android:textSize="@dimen/first_usage_title_text_size"
android:textStyle="bold"
osmand:typeface="@string/font_roboto_regular"/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:fontFamily="sans-serif-thin"
android:layout_marginLeft="2dp"
android:text="@string/maps_and_navigation"
android:textColor="@color/color_white"
android:textSize="@dimen/first_usage_subtitle_text_size"/>
</LinearLayout>
</LinearLayout>
2015-08-11 15:46:31 +02:00
<View
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1"/>
<net.osmand.plus.widgets.TextViewEx
android:layout_width="wrap_content"
android:layout_height="wrap_content"
2016-08-15 21:40:20 +02:00
android:text="@string/first_usage_greeting"
2015-08-11 15:46:31 +02:00
android:textColor="@color/color_white"
2016-08-15 21:40:20 +02:00
android:layout_marginLeft="180dp"
android:layout_marginRight="180dp"
android:textSize="@dimen/first_usage_subtitle_text_size"
android:textStyle="bold"
2015-08-11 15:46:31 +02:00
osmand:typeface="@string/font_roboto_regular"/>
<View
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1"/>
2016-08-15 21:40:20 +02:00
<android.support.v7.widget.AppCompatButton
android:id="@+id/start_button"
2015-08-11 15:46:31 +02:00
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
2016-08-15 21:40:20 +02:00
android:layout_marginBottom="@dimen/first_usage_title_margin_bottom"
android:background="@drawable/btn_round_blue"
android:padding="14dp"
android:text="@string/get_started"
android:textColor="@color/color_white"/>
2015-08-11 15:46:31 +02:00
</LinearLayout>
2016-08-15 21:40:20 +02:00
2015-08-11 15:46:31 +02:00
</FrameLayout>