196 lines
No EOL
7.6 KiB
XML
196 lines
No EOL
7.6 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<android.support.v7.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" />
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:background="?rect_selector"
|
|
android:clickable="true"
|
|
android:gravity="center_vertical"
|
|
android:minHeight="@dimen/md_listitem_height"
|
|
android:orientation="horizontal"
|
|
android:paddingLeft="16dp"
|
|
android:paddingRight="16dp">
|
|
|
|
<ImageView
|
|
android:id="@+id/icon_author"
|
|
android:layout_width="24dp"
|
|
android:layout_height="24dp"
|
|
android:src="@drawable/ic_person_white_24dp"
|
|
tools:ignore="ContentDescription" />
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="32dp"
|
|
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/karim_abou_zeid"
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Subhead" />
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/aachen_germany"
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Caption" />
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/add_to_google_plus_circles"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:background="?rect_selector"
|
|
android:clickable="true"
|
|
android:gravity="center_vertical"
|
|
android:minHeight="@dimen/md_listitem_height"
|
|
android:orientation="horizontal"
|
|
android:paddingLeft="16dp"
|
|
android:paddingRight="16dp">
|
|
|
|
<ImageView
|
|
android:id="@+id/icon_google_plus"
|
|
android:layout_width="24dp"
|
|
android:layout_height="24dp"
|
|
android:src="@drawable/ic_google_plus_box_white_24dp"
|
|
tools:ignore="ContentDescription" />
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="32dp"
|
|
android:layout_marginStart="32dp"
|
|
android:paddingBottom="8dp"
|
|
android:paddingTop="8dp"
|
|
android:text="@string/add_to_google_plus_circles"
|
|
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="?rect_selector"
|
|
android:clickable="true"
|
|
android:gravity="center_vertical"
|
|
android:minHeight="@dimen/md_listitem_height"
|
|
android:orientation="horizontal"
|
|
android:paddingLeft="16dp"
|
|
android:paddingRight="16dp">
|
|
|
|
<ImageView
|
|
android:id="@+id/icon_twitter"
|
|
android:layout_width="24dp"
|
|
android:layout_height="24dp"
|
|
android:src="@drawable/ic_twitter_box_white_24dp"
|
|
tools:ignore="ContentDescription" />
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="32dp"
|
|
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/fork_on_git_hub"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:background="?rect_selector"
|
|
android:clickable="true"
|
|
android:gravity="center_vertical"
|
|
android:minHeight="@dimen/md_listitem_height"
|
|
android:orientation="horizontal"
|
|
android:paddingLeft="16dp"
|
|
android:paddingRight="16dp">
|
|
|
|
<ImageView
|
|
android:id="@+id/icon_github"
|
|
android:layout_width="24dp"
|
|
android:layout_height="24dp"
|
|
android:src="@drawable/ic_github_circle_white_24dp"
|
|
tools:ignore="ContentDescription" />
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="32dp"
|
|
android:layout_marginStart="32dp"
|
|
android:paddingBottom="8dp"
|
|
android:paddingTop="8dp"
|
|
android:text="@string/fork_on_git_hub"
|
|
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="?rect_selector"
|
|
android:clickable="true"
|
|
android:gravity="center_vertical"
|
|
android:minHeight="@dimen/md_listitem_height"
|
|
android:orientation="horizontal"
|
|
android:paddingLeft="16dp"
|
|
android:paddingRight="16dp">
|
|
|
|
<ImageView
|
|
android:id="@+id/icon_website"
|
|
android:layout_width="24dp"
|
|
android:layout_height="24dp"
|
|
android:src="@drawable/ic_web_white_24dp"
|
|
tools:ignore="ContentDescription" />
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="32dp"
|
|
android:layout_marginStart="32dp"
|
|
android:paddingBottom="8dp"
|
|
android:paddingTop="8dp"
|
|
android:text="@string/visit_website"
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Subhead" />
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
</android.support.v7.widget.CardView> |