1c10ba7925
Discord is kind of scuffed because the icon isn't vertically centered properly.
74 lines
2.6 KiB
XML
74 lines
2.6 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout 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:padding="8dp">
|
|
|
|
<com.google.android.material.button.MaterialButton
|
|
android:id="@+id/btn_website"
|
|
style="@style/Theme.Widget.Button.Action"
|
|
android:layout_width="0dp"
|
|
android:layout_height="match_parent"
|
|
android:layout_weight="1"
|
|
android:ellipsize="end"
|
|
android:maxLines="1"
|
|
android:text="@string/website"
|
|
app:icon="@drawable/ic_public_24dp"
|
|
app:iconTint="?attr/colorAccent" />
|
|
|
|
<com.google.android.material.button.MaterialButton
|
|
android:id="@+id/btn_discord"
|
|
style="@style/Theme.Widget.Button.Action"
|
|
android:layout_width="0dp"
|
|
android:layout_height="match_parent"
|
|
android:layout_weight="1"
|
|
android:ellipsize="end"
|
|
android:maxLines="1"
|
|
android:text="Discord"
|
|
app:icon="@drawable/ic_discord_24dp"
|
|
app:iconTint="?attr/colorAccent"
|
|
tools:ignore="HardcodedText" />
|
|
|
|
<com.google.android.material.button.MaterialButton
|
|
android:id="@+id/btn_twitter"
|
|
style="@style/Theme.Widget.Button.Action"
|
|
android:layout_width="0dp"
|
|
android:layout_height="match_parent"
|
|
android:layout_weight="1"
|
|
android:ellipsize="end"
|
|
android:maxLines="1"
|
|
android:text="Twitter"
|
|
app:icon="@drawable/ic_twitter_24dp"
|
|
app:iconTint="?attr/colorAccent"
|
|
tools:ignore="HardcodedText" />
|
|
|
|
<com.google.android.material.button.MaterialButton
|
|
android:id="@+id/btn_facebook"
|
|
style="@style/Theme.Widget.Button.Action"
|
|
android:layout_width="0dp"
|
|
android:layout_height="match_parent"
|
|
android:layout_weight="1"
|
|
android:ellipsize="end"
|
|
android:maxLines="1"
|
|
android:text="Facebook"
|
|
app:icon="@drawable/ic_facebook_24dp"
|
|
app:iconTint="?attr/colorAccent"
|
|
tools:ignore="HardcodedText" />
|
|
|
|
<com.google.android.material.button.MaterialButton
|
|
android:id="@+id/btn_github"
|
|
style="@style/Theme.Widget.Button.Action"
|
|
android:layout_width="0dp"
|
|
android:layout_height="match_parent"
|
|
android:layout_weight="1"
|
|
android:ellipsize="end"
|
|
android:maxLines="1"
|
|
android:text="GitHub"
|
|
app:icon="@drawable/ic_github_24dp"
|
|
app:iconTint="?attr/colorAccent"
|
|
tools:ignore="HardcodedText" />
|
|
|
|
</LinearLayout>
|