tempus/app/src/main/res/layout/item_login_server.xml

47 lines
1.9 KiB
XML
Raw Normal View History

2021-08-08 19:21:56 +02:00
<androidx.constraintlayout.widget.ConstraintLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:clipChildren="false"
android:foreground="?attr/selectableItemBackground">
<TextView
android:id="@+id/server_name_text_view"
style="@style/ItemTitleTextView"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:ellipsize="marquee"
android:focusable="true"
android:focusableInTouchMode="true"
android:marqueeRepeatLimit="marquee_forever"
android:maxLines="1"
android:paddingStart="20dp"
android:paddingTop="12dp"
android:paddingBottom="4dp"
android:paddingEnd="12dp"
android:scrollHorizontally="true"
android:text="@string/label_placeholder"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintEnd_toEndOf="parent"
2021-08-08 19:21:56 +02:00
app:layout_constraintTop_toTopOf="parent" />
<TextView
android:id="@+id/server_address_text_view"
style="@style/ItemSubtitleTextView"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:ellipsize="marquee"
android:focusable="true"
android:focusableInTouchMode="true"
android:marqueeRepeatLimit="marquee_forever"
android:maxLines="1"
android:paddingStart="20dp"
android:paddingBottom="12dp"
android:paddingEnd="12dp"
android:text="@string/label_placeholder"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toBottomOf="@+id/server_name_text_view" />
2021-08-08 19:21:56 +02:00
</androidx.constraintlayout.widget.ConstraintLayout>