xref: /aosp_15_r20/external/zxing/android/res/layout/encode.xml (revision 513427e33d61bc67fc40bc261642ac0b2a686b45)
1*513427e3STreehugger Robot<?xml version="1.0" encoding="UTF-8"?>
2*513427e3STreehugger Robot<!--
3*513427e3STreehugger Robot Copyright (C) 2008 ZXing authors
4*513427e3STreehugger Robot
5*513427e3STreehugger Robot Licensed under the Apache License, Version 2.0 (the "License");
6*513427e3STreehugger Robot you may not use this file except in compliance with the License.
7*513427e3STreehugger Robot You may obtain a copy of the License at
8*513427e3STreehugger Robot
9*513427e3STreehugger Robot      http://www.apache.org/licenses/LICENSE-2.0
10*513427e3STreehugger Robot
11*513427e3STreehugger Robot Unless required by applicable law or agreed to in writing, software
12*513427e3STreehugger Robot distributed under the License is distributed on an "AS IS" BASIS,
13*513427e3STreehugger Robot WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14*513427e3STreehugger Robot See the License for the specific language governing permissions and
15*513427e3STreehugger Robot limitations under the License.
16*513427e3STreehugger Robot -->
17*513427e3STreehugger Robot
18*513427e3STreehugger Robot<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
19*513427e3STreehugger Robot              xmlns:tools="http://schemas.android.com/tools"
20*513427e3STreehugger Robot              android:layout_width="fill_parent"
21*513427e3STreehugger Robot              android:layout_height="fill_parent"
22*513427e3STreehugger Robot              android:fillViewport="true"
23*513427e3STreehugger Robot              android:background="@color/encode_view"
24*513427e3STreehugger Robot              android:orientation="vertical"
25*513427e3STreehugger Robot              android:gravity="center"
26*513427e3STreehugger Robot              tools:ignore="Overdraw">
27*513427e3STreehugger Robot
28*513427e3STreehugger Robot  <ImageView android:id="@+id/image_view"
29*513427e3STreehugger Robot             android:layout_width="fill_parent"
30*513427e3STreehugger Robot             android:layout_height="wrap_content"
31*513427e3STreehugger Robot             android:layout_gravity="center_horizontal"
32*513427e3STreehugger Robot             android:scaleType="center"
33*513427e3STreehugger Robot             tools:ignore="ContentDescription"/>
34*513427e3STreehugger Robot
35*513427e3STreehugger Robot  <ScrollView android:layout_width="fill_parent"
36*513427e3STreehugger Robot              android:layout_height="wrap_content"
37*513427e3STreehugger Robot              android:layout_gravity="center_horizontal"
38*513427e3STreehugger Robot              android:gravity="center">
39*513427e3STreehugger Robot
40*513427e3STreehugger Robot    <TextView android:id="@+id/contents_text_view"
41*513427e3STreehugger Robot              android:layout_width="fill_parent"
42*513427e3STreehugger Robot              android:layout_height="wrap_content"
43*513427e3STreehugger Robot              android:layout_gravity="center_horizontal"
44*513427e3STreehugger Robot              android:gravity="center"
45*513427e3STreehugger Robot              android:textColor="@color/contents_text"
46*513427e3STreehugger Robot              android:paddingBottom="@dimen/standard_padding"
47*513427e3STreehugger Robot              android:paddingLeft="@dimen/standard_padding"
48*513427e3STreehugger Robot              android:paddingRight="@dimen/standard_padding"
49*513427e3STreehugger Robot              android:textIsSelectable="true"/>
50*513427e3STreehugger Robot
51*513427e3STreehugger Robot  </ScrollView>
52*513427e3STreehugger Robot
53*513427e3STreehugger Robot</LinearLayout>
54