EtchDroid/app/src/main/res/layout/license_row.xml

44 lines
1.6 KiB
XML
Raw Normal View History

2018-08-30 17:10:48 +00:00
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
2018-09-30 16:12:21 +00:00
android:foreground="?attr/selectableItemBackground"
2018-08-30 17:10:48 +00:00
android:clickable="true"
android:focusable="true"
android:orientation="vertical"
android:paddingBottom="@dimen/row_padding"
android:paddingLeft="@dimen/activity_horizontal_margin"
android:paddingRight="@dimen/activity_horizontal_margin"
android:paddingTop="@dimen/row_padding">
<TextView
android:id="@+id/software_name"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentTop="true"
android:ellipsize="end"
android:textColor="@color/name"
android:textSize="16sp"
android:textStyle="bold"/>
<TextView
android:id="@+id/software_desc"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@id/software_name"/>
<TextView
android:id="@+id/software_url"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@id/software_desc"/>
<TextView
android:id="@+id/software_license"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentEnd="true"
android:textColor="@color/info"/>
</RelativeLayout>