dialog_camera.xml 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!--
  3. ~ UVCCamera
  4. ~ library and sample to access to UVC web camera on non-rooted Android device
  5. ~
  6. ~ Copyright (c) 2014-2017 saki t_saki@serenegiant.com
  7. ~
  8. ~ Licensed under the Apache License, Version 2.0 (the "License");
  9. ~ you may not use this file except in compliance with the License.
  10. ~ You may obtain a copy of the License at
  11. ~
  12. ~ http://www.apache.org/licenses/LICENSE-2.0
  13. ~
  14. ~ Unless required by applicable law or agreed to in writing, software
  15. ~ distributed under the License is distributed on an "AS IS" BASIS,
  16. ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  17. ~ See the License for the specific language governing permissions and
  18. ~ limitations under the License.
  19. ~
  20. ~ All files in the folder are under this Apache License, Version 2.0.
  21. ~ Files in the libjpeg-turbo, libusb, libuvc, rapidjson folder
  22. ~ may have a different license, see the respective files.
  23. -->
  24. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  25. xmlns:tools="http://schemas.android.com/tools"
  26. android:id="@+id/LinearLayout1"
  27. android:layout_width="match_parent"
  28. android:layout_height="match_parent"
  29. android:orientation="vertical"
  30. android:paddingBottom="@dimen/vertical_margin"
  31. android:paddingLeft="@dimen/horizontal_margin"
  32. android:paddingRight="@dimen/horizontal_margin"
  33. android:paddingTop="@dimen/vertical_margin"
  34. tools:context="com.serenegiant.usb.CameraDialog" >
  35. <TextView
  36. android:id="@+id/textView1"
  37. android:layout_width="wrap_content"
  38. android:layout_height="wrap_content"
  39. android:text="@string/camera" />
  40. <Spinner
  41. android:id="@+id/spinner1"
  42. android:layout_width="match_parent"
  43. android:layout_height="wrap_content" />
  44. <TextView
  45. android:id="@id/android:empty"
  46. android:layout_width="match_parent"
  47. android:layout_height="wrap_content"
  48. android:text="@string/no_device" />
  49. </LinearLayout>