OsmAnd/plugins/Osmand-Nautical/res/layout/main.xml

72 lines
2.6 KiB
XML
Raw Permalink Normal View History

2015-04-28 08:31:30 +02:00
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
2016-12-09 17:05:17 +01:00
android:layout_width="fill_parent"
android:layout_height="fill_parent"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:background="@color/white">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/blue_background"
android:orientation="horizontal"
android:paddingLeft="24dp"
android:paddingRight="24dp"
android:paddingTop="16dp"
android:paddingBottom="16dp">
<TextView
android:layout_width="0dp"
android:layout_height="fill_parent"
android:layout_weight="1"
android:gravity="center_vertical"
android:text="@string/plugin_title"
android:textColor="@color/white"
android:textSize="18sp"
android:textStyle="bold"/>
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/icon"/>
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingLeft="24dp"
android:paddingRight="24dp"
android:paddingTop="24dp"
android:paddingBottom="16dp"
android:orientation="vertical">
<TextView
android:id="@+id/descriptionTextView"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:text="@string/plugin_description"
android:textColor="@color/primary_text_light"
android:textSize="16sp"/>
</LinearLayout>
2020-03-04 15:12:06 +01:00
<androidx.appcompat.widget.AppCompatButton
2016-12-09 17:05:17 +01:00
android:id="@+id/buyButton"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:backgroundTint="@color/blue_background"
android:layout_marginLeft="20dp"
android:layout_marginRight="20dp"
android:layout_marginBottom="16dp"
2016-12-09 17:28:47 +01:00
android:textColor="@color/white"
2016-12-09 17:05:17 +01:00
android:text="@string/install_osmand"/>
</LinearLayout>
2015-04-28 08:31:30 +02:00
</FrameLayout>