f15b3e61bb
* Update to Emoji2 * Hopefully fix the emoji picker preference * Switch to released Filemojicompat version * Filemojicompat version as an own var * Remove an unused import * Small cleanup * Correct onDisplayPreferenceDialog; test TuskyApplication * Use TextViews instead of EmojiTextViews * Recreate the Main Activity if the emoji pack is updated * Enable coreLibraryDesugaring (for Java Streams); update Filemojicompat, downgrade Emoji2 * Update emoji font versions to 14 * Use FilemojiCompat 3.2.0-beta01 * Make ktLint happy again * Remove coreLibraryDesugaring and a FIXME * Use EmojiPickerPreference.get() * Disable emoji pack import * Update FilemojiCompat to Beta 2 * Update FilemojiCompat to Beta 3 * Update FilemojiCompat to Beta 3.2.0 final * Update FilemojiCompat to 3.2.1
39 lines
No EOL
1.6 KiB
XML
39 lines
No EOL
1.6 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<androidx.constraintlayout.widget.ConstraintLayout 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:paddingTop="4dp">
|
|
|
|
<!-- 30% width for the field name, 70% for the value -->
|
|
<TextView
|
|
android:id="@+id/accountFieldName"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:fontFamily="sans-serif-medium"
|
|
android:gravity="center"
|
|
android:lineSpacingMultiplier="1.1"
|
|
android:textColor="?android:textColorPrimary"
|
|
android:textSize="?attr/status_text_medium"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
app:layout_constraintWidth_percent=".3"
|
|
tools:text="Field title" />
|
|
|
|
<TextView
|
|
android:id="@+id/accountFieldValue"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="12dp"
|
|
android:drawablePadding="6dp"
|
|
android:gravity="center"
|
|
android:lineSpacingMultiplier="1.1"
|
|
android:textSize="?attr/status_text_medium"
|
|
app:layout_constrainedWidth="true"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintStart_toEndOf="@+id/accountFieldName"
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
tools:text="Field content. This can contain links and custom emojis" />
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout> |