android:layout_width="match_parent"
android:layout_height="match_parent"
>
- <TextView android:id="@+id/title_paired_devices"
+ <Button android:id="@+id/button_scan"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:text="@string/title_paired_devices"
+ android:text="@string/button_scan"
+ />
+ <TextView android:id="@+id/title_new_devices"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:text="@string/title_other_devices"
android:visibility="gone"
android:background="#666"
android:textColor="#fff"
android:paddingLeft="5dp"
/>
- <ListView android:id="@+id/paired_devices"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:stackFromBottom="true"
- android:layout_weight="1"
- />
- <TextView android:id="@+id/title_new_devices"
+ <TextView android:id="@+id/title_paired_devices"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:text="@string/title_other_devices"
+ android:text="@string/title_paired_devices"
android:visibility="gone"
android:background="#666"
android:textColor="#fff"
android:paddingLeft="5dp"
/>
- <ListView android:id="@+id/new_devices"
+ <ListView android:id="@+id/paired_devices"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:stackFromBottom="true"
- android:layout_weight="2"
+ android:layout_weight="1"
/>
- <Button android:id="@+id/button_scan"
+ <ListView android:id="@+id/new_devices"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:text="@string/button_scan"
+ android:stackFromBottom="true"
+ android:layout_weight="2"
/>
-</LinearLayout>
\ No newline at end of file
+</LinearLayout>