88 lines
No EOL
3 KiB
XML
88 lines
No EOL
3 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<ScrollView
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:osmand="http://schemas.android.com/apk/res-auto"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
tools:context=".activities.PluginActivity">
|
|
|
|
<ImageView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="144dp"
|
|
android:background="@drawable/bg_plugin_logo_enabled"
|
|
android:scaleType="center"
|
|
android:src="@drawable/ic_extension_dark"/>
|
|
|
|
<FrameLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="66dp"
|
|
android:layout_marginLeft="16dp"
|
|
android:layout_marginRight="16dp">
|
|
|
|
<net.osmand.plus.widgets.ButtonEx
|
|
android:id="@+id/plugin_settings"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginBottom="9dp"
|
|
android:layout_marginTop="9dp"
|
|
android:layout_gravity="center_vertical|start"
|
|
android:textSize="12sp"
|
|
osmand:textAllCapsCompat="true"
|
|
android:textColor="?android:textColorPrimary"
|
|
android:background="@null"
|
|
android:drawableLeft="?attr/ic_action_settings"
|
|
android:drawableStart="?attr/ic_action_settings"
|
|
android:drawablePadding="10dp"
|
|
android:paddingLeft="0dp"
|
|
android:paddingRight="16dp"
|
|
android:text="@string/plugin_settings_button_caption"
|
|
osmand:typeface="@string/font_roboto_medium"/>
|
|
|
|
<net.osmand.plus.widgets.SwitchEx
|
|
android:id="@+id/plugin_enable_disable"
|
|
android:layout_width="139dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical|end"
|
|
android:layout_marginBottom="16dp"
|
|
android:layout_marginTop="16dp"
|
|
android:background="?attr/switch_ex_background"
|
|
android:paddingBottom="8dp"
|
|
android:paddingLeft="9.5dp"
|
|
android:paddingRight="9.5dp"
|
|
android:paddingTop="8dp"
|
|
osmand:textAllCapsCompat="true"
|
|
android:textColor="?attr/switch_ex_text_color"
|
|
android:textOff="@string/enable_plugin"
|
|
android:textOn="@string/disable_plugin"
|
|
android:textSize="12sp"
|
|
osmand:typeface="@string/font_roboto_medium"/>
|
|
</FrameLayout>
|
|
|
|
<net.osmand.plus.widgets.TextViewEx
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="16dp"
|
|
android:layout_marginRight="16dp"
|
|
android:layout_marginTop="16dp"
|
|
android:text="@string/plugin_description_title"
|
|
osmand:textAllCapsCompat="true"
|
|
osmand:typeface="@string/font_roboto_medium"/>
|
|
|
|
<net.osmand.plus.widgets.TextViewEx
|
|
android:id="@+id/plugin_description"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="16dp"
|
|
android:layout_marginRight="16dp"
|
|
android:layout_marginTop="14dp"
|
|
osmand:typeface="@string/font_roboto_regular"
|
|
tools:text="@string/lorem_ipsum"/>
|
|
|
|
</LinearLayout>
|
|
</ScrollView> |