1
|
<?xml version="1.0" encoding="utf-8"?>
|
2
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
3
|
android:layout_width="fill_parent"
|
4
|
android:layout_height="match_parent"
|
5
|
android:orientation="horizontal">
|
6
|
|
7
|
<TextView
|
8
|
android:id="@+id/heading"
|
9
|
android:layout_width="wrap_content"
|
10
|
android:layout_height="wrap_content"
|
11
|
android:layout_alignParentLeft="true"
|
12
|
android:layout_alignParentTop="true"
|
13
|
android:gravity="left"
|
14
|
android:paddingLeft="35sp"
|
15
|
android:textStyle="bold"
|
16
|
/>
|
17
|
|
18
|
<TextView
|
19
|
android:id="@+id/counter"
|
20
|
android:layout_width="wrap_content"
|
21
|
android:layout_height="wrap_content"
|
22
|
android:layout_alignParentRight="true"
|
23
|
android:gravity="right"
|
24
|
android:layout_toRightOf="@id/heading"
|
25
|
android:paddingRight="10sp"
|
26
|
android:textStyle="bold"
|
27
|
/>
|
28
|
|
29
|
</RelativeLayout>
|