mirror of
https://github.com/pierre42100/ComunicAndroid
synced 2025-04-21 04:20:56 +00:00
46 lines
1.6 KiB
XML
46 lines
1.6 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:orientation="horizontal"
|
|
android:background="@drawable/bg_weblink">
|
|
|
|
<org.communiquons.android.comunic.client.ui.views.WebImageView
|
|
android:id="@+id/link_image"
|
|
android:layout_width="50dp"
|
|
android:layout_height="50dp"
|
|
android:src="@drawable/world"
|
|
android:layout_gravity="center_vertical"
|
|
android:layout_marginEnd="5dp"/>
|
|
|
|
<LinearLayout
|
|
android:layout_width="0dp"
|
|
android:layout_weight="1"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical">
|
|
|
|
<TextView
|
|
android:id="@+id/link_title"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
tools:text="Link title"
|
|
android:textSize="20sp"/>
|
|
|
|
<TextView
|
|
android:id="@+id/link_url"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
tools:text="http://example.com/link"
|
|
style="@android:style/TextAppearance.Small"
|
|
android:textColor="@android:color/holo_blue_dark"/>
|
|
|
|
<TextView
|
|
android:id="@+id/link_description"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
tools:text="A description content with interesting content about the page and its content."/>
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout> |