fedilab-Android-App/app/src/main/res/layout/custom_fedilab_features.xml

109 lines
4.8 KiB
XML
Raw Normal View History

2019-06-08 12:49:29 +02:00
<?xml version="1.0" encoding="utf-8"?>
2019-06-11 19:38:26 +02:00
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
2019-06-08 19:37:28 +02:00
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/fedilab_features_panel"
android:layout_width="wrap_content"
2019-06-08 12:49:29 +02:00
android:layout_height="wrap_content"
android:layout_marginStart="5dp"
android:background="@color/custom_features_panel_background"
android:paddingStart="2dp"
android:paddingTop="4dp"
android:paddingEnd="2dp"
android:paddingBottom="4dp"
android:visibility="gone"
app:layout_constraintBottom_toBottomOf="@id/fedilab_features"
app:layout_constraintStart_toEndOf="@id/fedilab_features"
app:layout_constraintTop_toTopOf="@id/fedilab_features">
2019-06-08 19:37:28 +02:00
2019-06-08 12:49:29 +02:00
<ImageButton
android:id="@+id/custom_feature_bookmark"
2019-06-08 12:49:29 +02:00
style="@style/Widget.AppCompat.Button.Colored"
2019-06-08 19:37:28 +02:00
android:layout_width="35dp"
android:layout_height="35dp"
android:layout_marginStart="2dp"
android:layout_marginEnd="2dp"
2019-06-08 19:37:28 +02:00
android:background="@color/mastodonC4"
android:contentDescription="@string/bookmark_add"
android:src="@drawable/ic_bookmark_white"
2019-06-08 19:37:28 +02:00
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toStartOf="@id/custom_feature_translate"
app:layout_constraintStart_toStartOf="parent"
2019-06-08 19:37:28 +02:00
app:layout_constraintTop_toTopOf="parent" />
2019-06-08 12:49:29 +02:00
<ImageButton
android:id="@+id/custom_feature_translate"
2019-06-08 12:49:29 +02:00
style="@style/Widget.AppCompat.Button.Colored"
2019-06-08 19:37:28 +02:00
android:layout_width="35dp"
android:layout_height="35dp"
android:layout_marginStart="2dp"
android:layout_marginEnd="2dp"
2019-06-08 19:37:28 +02:00
android:background="@color/mastodonC4"
android:contentDescription="@string/translate"
android:src="@drawable/ic_translate_white"
2019-06-08 19:37:28 +02:00
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toStartOf="@id/custom_feature_timed_mute"
app:layout_constraintStart_toEndOf="@id/custom_feature_bookmark"
2019-06-08 19:37:28 +02:00
app:layout_constraintTop_toTopOf="parent" />
2019-06-08 12:49:29 +02:00
<ImageButton
android:id="@+id/custom_feature_timed_mute"
2019-06-08 12:49:29 +02:00
style="@style/Widget.AppCompat.Button.Colored"
2019-06-08 19:37:28 +02:00
android:layout_width="35dp"
android:layout_height="35dp"
android:layout_marginStart="2dp"
android:layout_marginEnd="2dp"
2019-06-08 19:37:28 +02:00
android:background="@color/mastodonC4"
android:contentDescription="@string/timed_mute"
android:src="@drawable/ic_timed_mute"
2019-06-08 19:37:28 +02:00
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toStartOf="@id/custom_feature_schedule"
app:layout_constraintStart_toEndOf="@id/custom_feature_translate"
2019-06-08 19:37:28 +02:00
app:layout_constraintTop_toTopOf="parent" />
2019-06-08 12:49:29 +02:00
<ImageButton
android:id="@+id/custom_feature_schedule"
2019-06-08 12:49:29 +02:00
style="@style/Widget.AppCompat.Button.Colored"
2019-06-08 19:37:28 +02:00
android:layout_width="35dp"
android:layout_height="35dp"
android:layout_marginStart="2dp"
android:layout_marginEnd="2dp"
2019-06-08 19:37:28 +02:00
android:background="@color/mastodonC4"
android:contentDescription="@string/schedule"
android:src="@drawable/ic_schedule_boost"
2019-06-08 19:37:28 +02:00
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toStartOf="@id/custom_feature_mention"
app:layout_constraintStart_toEndOf="@id/custom_feature_timed_mute"
2019-06-08 19:37:28 +02:00
app:layout_constraintTop_toTopOf="parent" />
2019-06-08 12:49:29 +02:00
<ImageButton
android:id="@+id/custom_feature_mention"
style="@style/Widget.AppCompat.Button.Colored"
2019-06-08 19:37:28 +02:00
android:layout_width="35dp"
android:layout_height="35dp"
android:layout_marginStart="2dp"
android:layout_marginEnd="2dp"
2019-06-08 19:37:28 +02:00
android:background="@color/mastodonC4"
android:contentDescription="@string/mention_account"
android:src="@drawable/ic_mention_white"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toStartOf="@id/custom_feature_cache"
app:layout_constraintStart_toEndOf="@id/custom_feature_schedule"
2019-06-08 19:37:28 +02:00
app:layout_constraintTop_toTopOf="parent" />
2019-06-08 12:49:29 +02:00
<ImageButton
android:id="@+id/custom_feature_cache"
style="@style/Widget.AppCompat.Button.Colored"
2019-06-08 19:37:28 +02:00
android:layout_width="35dp"
android:layout_height="35dp"
android:layout_marginStart="2dp"
android:layout_marginEnd="2dp"
2019-06-08 19:37:28 +02:00
android:background="@color/mastodonC4"
android:contentDescription="@string/refresh_cache"
android:src="@drawable/ic_refresh"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toEndOf="@id/custom_feature_mention"
2019-06-08 19:37:28 +02:00
app:layout_constraintTop_toTopOf="parent" />
2019-06-11 19:38:26 +02:00
</androidx.constraintlayout.widget.ConstraintLayout>