mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-24 02:12:15 -05:00
64eda5106c
Start to improve padding/spacing/layout
29 lines
1.1 KiB
XML
29 lines
1.1 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="50px"
|
|
android:orientation="horizontal">
|
|
<TextView android:id="@+id/text1"
|
|
android:textColor="?android:attr/textColorPrimary"
|
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignParentLeft="true"
|
|
android:layout_centerVertical="true"
|
|
android:paddingLeft="6px"
|
|
android:singleLine="true"
|
|
android:ellipsize="end"
|
|
/>
|
|
<TextView android:id="@+id/text2"
|
|
android:textColor="?android:attr/textColorSecondary"
|
|
android:textAppearance="?android:attr/textAppearanceSmall"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_toRightOf="@id/text1"
|
|
android:layout_centerVertical="true"
|
|
android:paddingLeft="6px"
|
|
android:singleLine="true"
|
|
android:ellipsize="end"
|
|
/>
|
|
</RelativeLayout>
|