60a6b92d9a
Only layout files are touched and no new strings added.
66 lines
No EOL
2.7 KiB
XML
66 lines
No EOL
2.7 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout 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="wrap_content"
|
|
android:background="?attr/expandable_list_item_background"
|
|
android:descendantFocusability="blocksDescendants"
|
|
android:orientation="horizontal" >
|
|
|
|
<android.support.v7.widget.AppCompatImageButton
|
|
android:id="@+id/plugin_logo"
|
|
android:layout_width="48dp"
|
|
android:layout_height="48dp"
|
|
android:layout_margin="8dp"
|
|
android:background="@drawable/bg_plugin_logo_enabled"
|
|
android:layout_gravity="center"
|
|
android:scaleType="center"
|
|
tools:src="@drawable/ic_extension_dark" />
|
|
|
|
<LinearLayout
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginBottom="8dp"
|
|
android:layout_marginRight="4dp"
|
|
android:layout_marginLeft="4dp"
|
|
android:layout_marginTop="8dp"
|
|
android:layout_weight="1"
|
|
android:orientation="vertical" >
|
|
|
|
<net.osmand.plus.widgets.TextViewEx
|
|
android:id="@+id/plugin_name"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginBottom="4dp"
|
|
android:ellipsize="end"
|
|
android:lines="1"
|
|
android:maxLines="1"
|
|
android:text="@string/lorem_ipsum"
|
|
android:textColor="?android:textColorPrimary"
|
|
android:textSize="@dimen/default_list_text_size_large"
|
|
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:ellipsize="end"
|
|
android:lines="2"
|
|
android:maxLines="2"
|
|
android:text="@string/lorem_ipsum"
|
|
android:textColor="?android:textColorSecondary"
|
|
android:textSize="@dimen/default_desc_text_size"
|
|
osmand:typeface="@string/font_roboto_regular" />
|
|
</LinearLayout>
|
|
|
|
<android.support.v7.widget.AppCompatImageButton
|
|
android:id="@+id/plugin_options"
|
|
android:contentDescription="@string/shared_string_more"
|
|
android:layout_width="@dimen/list_item_height"
|
|
android:layout_height="@dimen/list_item_height"
|
|
android:layout_gravity="center"
|
|
android:background="?attr/dashboard_button"
|
|
android:src="@drawable/ic_overflow_menu_white"/>
|
|
|
|
</LinearLayout> |