Optimize layout xml

This commit is contained in:
Victor 2014-06-16 00:12:24 +03:00
parent b531b354be
commit a0f3ddd415
2 changed files with 7 additions and 14 deletions

View File

@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" <FrameLayout 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" >
@ -10,18 +9,12 @@
android:layout_height="match_parent" android:layout_height="match_parent"
android:layout_gravity="fill" android:layout_gravity="fill"
class="com.annimon.donetskwebcam.WebcamViewerFragment"/> class="com.annimon.donetskwebcam.WebcamViewerFragment"/>
<LinearLayout <fragment
android:id="@+id/webcamChooserFragment"
android:layout_width="120dp" android:layout_width="120dp"
android:layout_height="match_parent"> android:layout_height="match_parent"
android:layout_gravity="left"
<fragment class="com.annimon.donetskwebcam.WebcamChooserFragment" />
android:id="@+id/webcamChooserFragment"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_gravity="left"
class="com.annimon.donetskwebcam.WebcamChooserFragment" />
</LinearLayout>
</FrameLayout> </FrameLayout>

View File

@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<fragment xmlns:android="http://schemas.android.com/apk/res/android" <fragment xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/webcamViewerFragment" android:id="@+id/webcamViewerFragment"
android:layout_width="match_parent" android:layout_width="match_parent"