PlayerAndroid/app/src/main/res/layout/card_social.xml

248 lines
10 KiB
XML
Raw Normal View History

2018-07-27 13:07:33 +00:00
<?xml version="1.0" encoding="utf-8"?>
2018-08-30 09:29:30 +00:00
<androidx.cardview.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android"
2018-07-27 13:07:33 +00:00
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
2018-08-30 09:29:30 +00:00
android:layout_height="wrap_content"
app:cardCornerRadius="12dp"
app:cardPreventCornerOverlap="false"
app:cardUseCompatPadding="true">
2018-07-27 13:07:33 +00:00
2018-08-30 09:29:30 +00:00
<LinearLayout
2018-07-27 13:07:33 +00:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
2018-08-30 09:29:30 +00:00
android:background="@drawable/gradient_8"
android:orientation="vertical"
android:padding="8dp">
2018-07-27 13:07:33 +00:00
2018-08-30 09:29:30 +00:00
<TextView
fontPath="@string/circular_std_black"
2018-07-27 13:07:33 +00:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
2018-08-30 09:29:30 +00:00
android:padding="12dp"
android:text="@string/social"
android:textAppearance="@style/TextAppearance.AppCompat.Title"
android:textColor="@color/md_white_1000"
tools:ignore="MissingPrefix" />
2018-07-27 13:07:33 +00:00
2018-08-30 09:29:30 +00:00
<LinearLayout
android:id="@+id/instagram_link"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="?attr/rectSelector"
android:clickable="true"
android:focusable="true"
android:minHeight="@dimen/md_listitem_height"
android:orientation="horizontal"
tools:ignore="PrivateResource">
<androidx.appcompat.widget.AppCompatImageView
android:layout_width="wrap_content"
2018-07-27 13:07:33 +00:00
android:layout_height="wrap_content"
2018-08-30 09:29:30 +00:00
android:padding="16dp"
app:srcCompat="@drawable/ic_instagram"
app:tint="@color/md_white_1000" />
2018-07-27 13:07:33 +00:00
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
2018-08-30 09:29:30 +00:00
android:orientation="vertical"
android:paddingStart="16dp"
android:paddingTop="8dp"
android:paddingEnd="16dp"
android:paddingBottom="8dp">
<androidx.appcompat.widget.AppCompatTextView
android:layout_width="match_parent"
2018-07-27 13:07:33 +00:00
android:layout_height="wrap_content"
2018-08-30 09:29:30 +00:00
android:text="@string/instagram_page"
android:textAppearance="@style/TextAppearance.AppCompat.Subhead"
android:textColor="@color/md_white_1000" />
2018-07-27 13:07:33 +00:00
2018-08-30 09:29:30 +00:00
<androidx.appcompat.widget.AppCompatTextView
2018-07-27 13:07:33 +00:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
2018-08-30 09:29:30 +00:00
android:alpha="0.85"
android:text="@string/instagram_page_summary"
android:textColor="@color/md_white_1000" />
2018-07-27 13:07:33 +00:00
</LinearLayout>
2018-08-30 09:29:30 +00:00
</LinearLayout>
<LinearLayout
android:id="@+id/twitter_link"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="?attr/rectSelector"
android:clickable="true"
android:focusable="true"
android:minHeight="@dimen/md_listitem_height"
android:orientation="horizontal"
tools:ignore="PrivateResource">
<androidx.appcompat.widget.AppCompatImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:padding="16dp"
app:srcCompat="@drawable/ic_twitter_white_24dp"
app:tint="@color/md_white_1000" />
2018-07-27 13:07:33 +00:00
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
2018-08-30 09:29:30 +00:00
android:orientation="vertical"
android:paddingStart="16dp"
android:paddingTop="8dp"
android:paddingEnd="16dp"
android:paddingBottom="8dp">
<androidx.appcompat.widget.AppCompatTextView
android:layout_width="match_parent"
2018-07-27 13:07:33 +00:00
android:layout_height="wrap_content"
2018-08-30 09:29:30 +00:00
android:text="@string/twitter_page"
android:textAppearance="@style/TextAppearance.AppCompat.Subhead"
android:textColor="@color/md_white_1000" />
2018-07-27 13:07:33 +00:00
2018-08-30 09:29:30 +00:00
<androidx.appcompat.widget.AppCompatTextView
2018-07-27 13:07:33 +00:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
2018-08-30 09:29:30 +00:00
android:alpha="0.85"
android:text="@string/twitter_page_summary"
android:textColor="@color/md_white_1000" />
2018-07-27 13:07:33 +00:00
</LinearLayout>
2018-08-30 09:29:30 +00:00
</LinearLayout>
<LinearLayout
android:id="@+id/discord_link"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="?attr/rectSelector"
android:clickable="true"
android:focusable="true"
android:minHeight="@dimen/md_listitem_height"
android:orientation="horizontal"
tools:ignore="PrivateResource">
<androidx.appcompat.widget.AppCompatImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:padding="16dp"
app:srcCompat="@drawable/ic_discord_white_24dp"
app:tint="@color/md_white_1000" />
2018-07-27 13:07:33 +00:00
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
2018-08-30 09:29:30 +00:00
android:orientation="vertical"
android:paddingStart="16dp"
android:paddingTop="8dp"
android:paddingEnd="16dp"
android:paddingBottom="8dp">
<androidx.appcompat.widget.AppCompatTextView
android:layout_width="match_parent"
2018-07-27 13:07:33 +00:00
android:layout_height="wrap_content"
2018-08-30 09:29:30 +00:00
android:text="@string/discord_page"
android:textAppearance="@style/TextAppearance.AppCompat.Subhead"
android:textColor="@color/md_white_1000" />
2018-07-27 13:07:33 +00:00
2018-08-30 09:29:30 +00:00
<androidx.appcompat.widget.AppCompatTextView
2018-07-27 13:07:33 +00:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
2018-08-30 09:29:30 +00:00
android:alpha="0.85"
android:text="@string/discord_summary"
android:textColor="@color/md_white_1000" />
2018-07-27 13:07:33 +00:00
</LinearLayout>
2018-08-30 09:29:30 +00:00
</LinearLayout>
<LinearLayout
android:id="@+id/telegram_link"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="?attr/rectSelector"
android:clickable="true"
android:focusable="true"
android:minHeight="@dimen/md_listitem_height"
android:orientation="horizontal"
tools:ignore="PrivateResource">
<androidx.appcompat.widget.AppCompatImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:padding="16dp"
app:srcCompat="@drawable/ic_telegram_white"
app:tint="@color/md_white_1000" />
2018-07-27 13:07:33 +00:00
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
2018-08-30 09:29:30 +00:00
android:orientation="vertical"
android:paddingStart="16dp"
android:paddingTop="8dp"
android:paddingEnd="16dp"
android:paddingBottom="8dp">
<androidx.appcompat.widget.AppCompatTextView
android:layout_width="match_parent"
2018-07-27 13:07:33 +00:00
android:layout_height="wrap_content"
2018-08-30 09:29:30 +00:00
android:text="@string/telegram_group"
android:textAppearance="@style/TextAppearance.AppCompat.Subhead"
android:textColor="@color/md_white_1000" />
2018-07-27 13:07:33 +00:00
2018-08-30 09:29:30 +00:00
<androidx.appcompat.widget.AppCompatTextView
2018-07-27 13:07:33 +00:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
2018-08-30 09:29:30 +00:00
android:alpha="0.85"
android:text="@string/telegram_group_summary"
android:textColor="@color/md_white_1000" />
2018-07-27 13:07:33 +00:00
</LinearLayout>
2018-08-30 09:29:30 +00:00
</LinearLayout>
<LinearLayout
android:id="@+id/app_google_plus"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="?attr/rectSelector"
android:clickable="true"
android:focusable="true"
android:minHeight="@dimen/md_listitem_height"
android:orientation="horizontal"
tools:ignore="PrivateResource">
<androidx.appcompat.widget.AppCompatImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:contentDescription="@string/social_buttons"
android:padding="16dp"
app:srcCompat="@drawable/ic_google_circles_communities_white_24dp"
app:tint="@color/md_white_1000" />
2018-07-27 13:07:33 +00:00
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
2018-08-30 09:29:30 +00:00
android:orientation="vertical"
android:paddingStart="16dp"
android:paddingTop="8dp"
android:paddingEnd="16dp"
android:paddingBottom="8dp">
<androidx.appcompat.widget.AppCompatTextView
android:layout_width="match_parent"
2018-07-27 13:07:33 +00:00
android:layout_height="wrap_content"
2018-08-30 09:29:30 +00:00
android:text="@string/google_plus"
android:textAppearance="@style/TextAppearance.AppCompat.Subhead"
android:textColor="@color/md_white_1000" />
2018-07-27 13:07:33 +00:00
2018-08-30 09:29:30 +00:00
<androidx.appcompat.widget.AppCompatTextView
2018-07-27 13:07:33 +00:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
2018-08-30 09:29:30 +00:00
android:alpha="0.85"
android:text="@string/google_plus_community"
android:textColor="@color/md_white_1000" />
2018-07-27 13:07:33 +00:00
</LinearLayout>
</LinearLayout>
2018-08-30 09:29:30 +00:00
</LinearLayout>
</androidx.cardview.widget.CardView>