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

71 lines
2.5 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
2016-12-09 17:10:52 +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>
<android.support.v7.widget.AppCompatButton
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"
android:text="@string/install_osmand"/>
</LinearLayout>
</FrameLayout>