advstart: simplify layout, and give the icon some space
This commit is contained in:
@@ -1,23 +1,22 @@
|
|||||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
xmlns:tools="http://schemas.android.com/tools"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:padding="16dp">
|
android:padding="16dp"
|
||||||
|
android:gravity="center"
|
||||||
|
android:orientation="vertical">
|
||||||
|
|
||||||
<ImageView
|
<ImageView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_above="@+id/view_key_adv_start_text"
|
android:layout_weight="1"
|
||||||
android:layout_centerHorizontal="true"
|
|
||||||
android:layout_gravity="center_horizontal|top"
|
|
||||||
android:src="@drawable/ic_beaker_grey600_48dp" />
|
android:src="@drawable/ic_beaker_grey600_48dp" />
|
||||||
|
|
||||||
<org.sufficientlysecure.htmltextview.HtmlTextView
|
<org.sufficientlysecure.htmltextview.HtmlTextView
|
||||||
android:id="@+id/view_key_adv_start_text"
|
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_alignParentLeft="true"
|
android:layout_weight="2.41"
|
||||||
android:layout_alignParentStart="true"
|
android:id="@+id/view_key_adv_start_text"
|
||||||
android:layout_centerHorizontal="true"
|
tools:text="(start description as parsed from markdown here)" />
|
||||||
android:layout_centerVertical="true" />
|
|
||||||
|
|
||||||
</RelativeLayout>
|
</LinearLayout>
|
||||||
|
|||||||
Reference in New Issue
Block a user