OsmAnd/plugins/Osmand-ParkingPlugin/res/layout/main.xml
2016-12-09 19:10:52 +03:00

71 lines
No EOL
2.5 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
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>