170 lines
6.7 KiB
XML
170 lines
6.7 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<androidx.cardview.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="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:layout_gravity="center"
|
|
app:cardBackgroundColor="?cardBackgroundColor"
|
|
app:cardUseCompatPadding="true">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginBottom="8dp"
|
|
android:orientation="vertical">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="start|center_vertical"
|
|
android:paddingBottom="16dp"
|
|
android:paddingLeft="16dp"
|
|
android:paddingRight="16dp"
|
|
android:paddingTop="24dp"
|
|
android:text="@string/author"
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Body2"
|
|
android:textColor="?android:textColorSecondary" />
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:background="?attr/rectSelector"
|
|
android:clickable="true"
|
|
android:focusable="true"
|
|
android:gravity="center_vertical"
|
|
android:minHeight="@dimen/md_listitem_height"
|
|
android:orientation="horizontal"
|
|
android:paddingLeft="16dp"
|
|
android:paddingRight="16dp">
|
|
|
|
<com.dkanada.gramophone.views.IconImageView
|
|
android:id="@+id/icon_author"
|
|
android:layout_width="24dp"
|
|
android:layout_height="24dp"
|
|
app:srcCompat="@drawable/ic_person_white_24dp"
|
|
tools:ignore="ContentDescription" />
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="32dp"
|
|
android:orientation="vertical"
|
|
android:paddingBottom="8dp"
|
|
android:paddingTop="8dp">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/dkanada"
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Subhead" />
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/aachen_germany"
|
|
android:visibility="gone"
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Caption" />
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/write_an_email"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:background="?attr/rectSelector"
|
|
android:clickable="true"
|
|
android:focusable="true"
|
|
android:visibility="gone"
|
|
android:gravity="center_vertical"
|
|
android:minHeight="@dimen/md_listitem_height"
|
|
android:orientation="horizontal"
|
|
android:paddingLeft="16dp"
|
|
android:paddingRight="16dp">
|
|
|
|
<com.dkanada.gramophone.views.IconImageView
|
|
android:id="@+id/icon_email"
|
|
android:layout_width="24dp"
|
|
android:layout_height="24dp"
|
|
app:srcCompat="@drawable/ic_email_white_24dp"
|
|
tools:ignore="ContentDescription" />
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="32dp"
|
|
android:paddingBottom="8dp"
|
|
android:paddingTop="8dp"
|
|
android:text="@string/write_an_email"
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Subhead" />
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/follow_on_twitter"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:background="?attr/rectSelector"
|
|
android:clickable="true"
|
|
android:focusable="true"
|
|
android:visibility="gone"
|
|
android:gravity="center_vertical"
|
|
android:minHeight="@dimen/md_listitem_height"
|
|
android:orientation="horizontal"
|
|
android:paddingLeft="16dp"
|
|
android:paddingRight="16dp">
|
|
|
|
<com.dkanada.gramophone.views.IconImageView
|
|
android:id="@+id/icon_twitter"
|
|
android:layout_width="24dp"
|
|
android:layout_height="24dp"
|
|
app:srcCompat="@drawable/ic_twitter_white_24dp"
|
|
tools:ignore="ContentDescription" />
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="32dp"
|
|
android:paddingBottom="8dp"
|
|
android:paddingTop="8dp"
|
|
android:text="@string/follow_on_twitter"
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Subhead" />
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/visit_website"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:background="?attr/rectSelector"
|
|
android:clickable="true"
|
|
android:focusable="true"
|
|
android:gravity="center_vertical"
|
|
android:minHeight="@dimen/md_listitem_height"
|
|
android:orientation="horizontal"
|
|
android:paddingLeft="16dp"
|
|
android:paddingRight="16dp">
|
|
|
|
<com.dkanada.gramophone.views.IconImageView
|
|
android:id="@+id/icon_website"
|
|
android:layout_width="24dp"
|
|
android:layout_height="24dp"
|
|
app:srcCompat="@drawable/ic_open_in_browser_white_24dp"
|
|
tools:ignore="ContentDescription" />
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="32dp"
|
|
android:paddingBottom="8dp"
|
|
android:paddingTop="8dp"
|
|
android:text="@string/visit_website"
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Subhead" />
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
</androidx.cardview.widget.CardView>
|