mirror of
https://github.com/zxing/zxing.git
synced 2024-11-10 04:54:04 -08:00
54 lines
2.1 KiB
XML
Executable file
54 lines
2.1 KiB
XML
Executable file
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!--
|
|
Copyright (C) 2008 ZXing authors
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
-->
|
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="fill_parent"
|
|
android:fillViewport="true"
|
|
android:background="@color/encode_view"
|
|
android:orientation="vertical"
|
|
android:gravity="center"
|
|
tools:ignore="Overdraw">
|
|
|
|
<ImageView android:id="@+id/image_view"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_horizontal"
|
|
android:scaleType="center"
|
|
tools:ignore="ContentDescription"/>
|
|
|
|
<ScrollView android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_horizontal"
|
|
android:gravity="center">
|
|
|
|
<TextView android:id="@+id/contents_text_view"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_horizontal"
|
|
android:gravity="center"
|
|
android:textColor="@color/contents_text"
|
|
android:paddingBottom="@dimen/standard_padding"
|
|
android:paddingLeft="@dimen/standard_padding"
|
|
android:paddingRight="@dimen/standard_padding"
|
|
android:textIsSelectable="true"/>
|
|
|
|
</ScrollView>
|
|
|
|
</LinearLayout>
|