Commit 0d5b66f9 authored by Benoit Marty's avatar Benoit Marty
Browse files

Flatten View hierarchy

parent 391e952f
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
<LinearLayout 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:orientation="vertical"
android:paddingStart="16dp"
android:paddingTop="8dp"
android:paddingEnd="16dp">
<FrameLayout
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="8dp"
android:orientation="vertical">
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="8dp"
android:text="@string/spaces_header"
android:textColor="?riotx_text_primary"
android:textSize="15sp"
android:textStyle="bold"
app:drawableEndCompat="@drawable/ic_beta_pill" />
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="8dp"
android:layout_marginBottom="4dp"
android:text="@string/spaces_beta_welcome_to_spaces_desc"
android:textColor="?riotx_text_secondary"
android:textSize="15sp" />
<TextView
android:id="@+id/spaceBetaFeedbackAction"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="4dp"
android:drawablePadding="8dp"
android:paddingTop="4dp"
android:paddingBottom="4dp"
android:text="@string/give_feedback"
android:textColor="@color/vector_info_color"
android:textSize="15sp"
app:drawableStartCompat="@drawable/ic_feedback" />
</LinearLayout>
</FrameLayout>
</FrameLayout>
\ No newline at end of file
android:layout_height="wrap_content"
android:layout_marginTop="8dp"
android:text="@string/spaces_header"
android:textColor="?riotx_text_primary"
android:textSize="15sp"
android:textStyle="bold"
app:drawableEndCompat="@drawable/ic_beta_pill" />
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="8dp"
android:layout_marginBottom="4dp"
android:text="@string/spaces_beta_welcome_to_spaces_desc"
android:textColor="?riotx_text_secondary"
android:textSize="15sp" />
<TextView
android:id="@+id/spaceBetaFeedbackAction"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="4dp"
android:drawablePadding="8dp"
android:paddingTop="4dp"
android:paddingBottom="4dp"
android:text="@string/give_feedback"
android:textColor="@color/vector_info_color"
android:textSize="15sp"
app:drawableStartCompat="@drawable/ic_feedback" />
</LinearLayout>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment